problems in lws_handle_POLLOUT_event should just close
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
67d556c682
commit
b059371e40
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ libwebsocket_service_fd(struct libwebsocket_context *context,
|
|||
pollfd) < 0) {
|
||||
lwsl_info("libwebsocket_service_fd: closing\n");
|
||||
libwebsocket_close_and_free_session(
|
||||
context, wsi, LWS_CLOSE_STATUS_NORMAL);
|
||||
context, wsi, LWS_CLOSE_STATUS_NOSTATUS);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue