mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 03:17:17 +08:00
Win32: added missing reset of wev->ready on WSAEWOULDBLOCK.
This fixes connection hang with websockets proxy, and likely some other places as well.
This commit is contained in:
parent
1a983a0c05
commit
641662e340
@ -54,6 +54,7 @@ ngx_wsasend(ngx_connection_t *c, u_char *buf, size_t size)
|
||||
|
||||
if (err == WSAEWOULDBLOCK) {
|
||||
ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, err, "WSASend() not ready");
|
||||
wev->ready = 0;
|
||||
return NGX_AGAIN;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user