Fix websocket (and timer!) bugs

This commit is contained in:
Vitaliy Filippov
2020-04-26 01:59:56 +03:00
parent 268b497c0b
commit ec4a52af48
5 changed files with 107 additions and 39 deletions
+1
View File
@@ -27,6 +27,7 @@ struct websocket_t
{
http_co_t *co;
void post_message(int type, const std::string & msg);
void close();
};
void parse_http_headers(std::string & res, http_response_t *parsed);