1
0
Fork 0
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:
lailoken 2024-08-20 13:54:03 +01:00 committed by Andy Green
parent 8674bf1585
commit c980be7cf7

View file

@ -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: