Gracefully reject HTTP requests reaching the websockets surface

This commit is contained in:
Luciano Iam 2020-02-26 23:09:59 +01:00 committed by Robin Gareus
parent bc2cbfc7ec
commit ec8e0f8ee5
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 17 additions and 0 deletions

View file

@ -81,6 +81,7 @@ private:
void del_client (Client);
void recv_client (Client, void* buf, size_t len);
void write_client (Client);
void reject_http_client (Client);
bool io_handler (Glib::IOCondition, lws_sockfd_type);