problems in lws_handle_POLLOUT_event should just close 08/3108/1
authorAndy Green <andy.green@linaro.org>
Fri, 15 Feb 2013 14:32:53 +0000 (22:32 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:36 +0000 (13:01 -0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c

index bec14f9..3dfe3a9 100644 (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;
                        }