mirror of
https://github.com/nginx/nginx.git
synced 2024-11-26 02:40:46 -06:00
fix ngx_wsasend_chain()
This commit is contained in:
parent
7c6c186a7e
commit
a1e9bfbc85
@ -118,7 +118,8 @@ ngx_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
|
||||
|
||||
c->sent += sent;
|
||||
|
||||
for (cl = in; cl && sent > 0; cl = cl->next) {
|
||||
for (cl = in; cl; cl = cl->next) {
|
||||
|
||||
if (ngx_buf_special(cl->buf)) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user