diff --git a/lib/plat/lws-plat-unix.c b/lib/plat/lws-plat-unix.c index 351e4b9b62b11230718fd2ff1b6ec28407c212c5..c731a645d9ac67b45a14f905804f91d8ef812d97 100644 --- a/lib/plat/lws-plat-unix.c +++ b/lib/plat/lws-plat-unix.c @@ -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) { diff --git a/lib/roles/h1/ops-h1.c b/lib/roles/h1/ops-h1.c index d3b16f4d1ff34f5c2fa9c1b1546f5a5b675843b7..49dfe4b47f241747c215424a92150ab7c0b4aae0 100644 --- a/lib/roles/h1/ops-h1.c +++ b/lib/roles/h1/ops-h1.c @@ -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: