mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -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;
|
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)) {
|
if (ngx_buf_special(cl->buf)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user