mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Avoid checking choked pipe if no extension has more data to write.
This commit is contained in:
parent
960da6eeb0
commit
a1b39732d7
1 changed files with 5 additions and 0 deletions
|
@ -1560,6 +1560,11 @@ lws_issue_raw_ext_access(struct libwebsocket *wsi,
|
|||
|
||||
debug("written %d bytes to client\n", eff_buf.token_len);
|
||||
|
||||
/* no extension has more to spill */
|
||||
|
||||
if (!ret)
|
||||
break;
|
||||
|
||||
/* we used up what we had */
|
||||
|
||||
eff_buf.token = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue