Added workaround, Google Chrome create extra dummy connections for future speed up.
This commit is contained in:
parent
106e149324
commit
bd6c7c64aa
4 changed files with 25 additions and 14 deletions
|
@ -54,9 +54,11 @@ public:
|
|||
inline uv_stream_t *stream() const { return reinterpret_cast<uv_stream_t *>(tcp); }
|
||||
inline uv_handle_t *handle() const { return reinterpret_cast<uv_handle_t *>(tcp); }
|
||||
|
||||
void close();
|
||||
|
||||
static HttpContext *get(uint64_t id);
|
||||
static void attach(http_parser_settings *settings);
|
||||
static void close(uv_handle_t* handle);
|
||||
static void closeAll();
|
||||
|
||||
http_parser *parser;
|
||||
IHttpListener *listener;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue