mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
fix ngx_wsasend_chain()
This commit is contained in:
parent
7c6c186a7e
commit
a1e9bfbc85
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue