Win32: added missing reset of wev->ready on WSAEWOULDBLOCK. This fixes connection hang with websockets proxy, and likely some other places as well.
Maxim Dounin
9 years ago
1 changed file(s) with
1 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-0
src/os/win32/ngx_wsasend.c
less
more
53
53
54
54
if (err == WSAEWOULDBLOCK) {
55
55
ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, err, "WSASend() not ready");
56
wev->ready = 0;
56
57
return NGX_AGAIN;
57
58
}
58
59