1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

lws_read_h1: handle LRS_RETURNED_CLOSE

This commit is contained in:
Andy Green 2018-05-11 10:25:28 +08:00
parent f6f7c7e228
commit 064c548f9b
2 changed files with 1 additions and 4 deletions

View file

@ -30,10 +30,6 @@
#endif
#include <dirent.h>
#if defined(LWS_HAVE_TCP_USER_TIMEOUT) && defined(__linux__)
#include <linux/tcp.h>
#endif
int
lws_plat_socket_offset(void)
{

View file

@ -195,6 +195,7 @@ postbody_completion:
}
break;
case LRS_RETURNED_CLOSE:
case LRS_AWAITING_CLOSE_ACK:
case LRS_WAITING_TO_SEND_CLOSE:
case LRS_SHUTDOWN: