Skip to content
Snippets Groups Projects
Commit 442e1c85 authored by Andy Green's avatar Andy Green
Browse files

windows listen for pollhup

parent 83af28a7
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,8 @@ to tell if more headers had arrived. Result was if the browser didn't
close the keepalive, we retained ah for the lifetime of the keepalive,
using up the pool.
8) MAJOR windows-only-POLLHUP was not coming
Changes
-------
......
......@@ -387,7 +387,8 @@ lws_plat_insert_socket_into_fds(struct lws_context *context, struct lws *wsi)
pt->fds[pt->fds_count++].revents = 0;
pt->events[pt->fds_count] = WSACreateEvent();
WSAEventSelect(wsi->sock, pt->events[pt->fds_count], LWS_POLLIN);
WSAEventSelect(wsi->sock, pt->events[pt->fds_count],
LWS_POLLIN | LWS_POLLHUP);
}
LWS_VISIBLE void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment