Win32: added missing reset of wev->ready on WSAEWOULDBLOCK. This fixes connection hang with websockets proxy, and likely some other places as well.
diff --git a/src/os/win32/ngx_wsasend.c b/src/os/win32/ngx_wsasend.c index 55f325d..d6a23d1 100644 --- a/src/os/win32/ngx_wsasend.c +++ b/src/os/win32/ngx_wsasend.c
@@ -54,6 +54,7 @@ if (err == WSAEWOULDBLOCK) { ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, err, "WSASend() not ready"); + wev->ready = 0; return NGX_AGAIN; }