mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
rxflow just return 0 when changing state
Nobody cares if we changed state, and callers are increasingly taking nonzero as fail, causing us to drop the connection when we re-enable rxflow. Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
0f58db3940
commit
f004ec594e
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ _libwebsocket_rx_flow_control(struct libwebsocket *wsi)
|
|||
if (lws_change_pollfd(wsi, LWS_POLLIN, 0))
|
||||
return -1;
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue