problems in lws_handle_POLLOUT_event should just close

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2013-02-15 22:32:53 +08:00
parent 67d556c682
commit b059371e40

View file

@ -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;
}