diff --git a/src/HttpContext.h b/src/HttpContext.h index b7991e3..201d45d 100644 --- a/src/HttpContext.h +++ b/src/HttpContext.h @@ -247,6 +247,9 @@ private: return (us_socket_t *) asyncSocket; } + /* It is okay to uncork a closed socket and we need to */ + ((AsyncSocket *) s)->uncork(); + /* We cannot return nullptr to the underlying stack in any case */ return s; });