mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
windows: fix mishandling slow connects
https://github.com/warmcat/libwebsockets/issues/3208
This commit is contained in:
parent
8674bf1585
commit
c980be7cf7
1 changed files with 4 additions and 0 deletions
|
@ -767,7 +767,11 @@ lws_service_fd_tsi(struct lws_context *context, struct lws_pollfd *pollfd,
|
|||
handle_POLLIN(pt, wsi, pollfd)) {
|
||||
case LWS_HPI_RET_WSI_ALREADY_DIED:
|
||||
pt->inside_lws_service = 0;
|
||||
#if defined (_WIN32)
|
||||
break;
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
case LWS_HPI_RET_HANDLED:
|
||||
break;
|
||||
case LWS_HPI_RET_PLEASE_CLOSE_ME:
|
||||
|
|
Loading…
Add table
Reference in a new issue