mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Partial send handling
AG removed what looked like redundant set eff_buf.token_len <- n
This commit is contained in:
parent
7cc7ae476a
commit
f77e6e33d1
1 changed files with 4 additions and 1 deletions
|
@ -144,9 +144,12 @@ lws_issue_raw_ext_access(struct libwebsocket *wsi,
|
|||
}
|
||||
|
||||
/* always either sent it all or privately buffered */
|
||||
if (wsi->u.ws.clean_buffer)
|
||||
len = n;
|
||||
|
||||
}
|
||||
|
||||
lwsl_parser("written %d bytes to client\n", eff_buf.token_len);
|
||||
lwsl_parser("written %d bytes to client\n", n);
|
||||
|
||||
/* no extension has more to spill? Then we can go */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue