mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
fix clean return path user code handle
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
1f4267bda8
commit
0c0bf4a985
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ handle_truncated_send:
|
|||
}
|
||||
|
||||
if (n < len) {
|
||||
if (wsi->u.ws.clean_buffer) {
|
||||
if (wsi->u.ws.clean_buffer)
|
||||
/*
|
||||
* This buffer unaffected by extension rewriting.
|
||||
* It means the user code is expected to deal with
|
||||
|
@ -190,7 +190,7 @@ handle_truncated_send:
|
|||
* sent, so on next send will just resume sending
|
||||
* payload)
|
||||
*/
|
||||
}
|
||||
return n;
|
||||
|
||||
/*
|
||||
* Newly truncated send. Buffer the remainder (it will get
|
||||
|
|
Loading…
Add table
Reference in a new issue