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:
parent
f6f7c7e228
commit
064c548f9b
2 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue