ssl fix service problem in MORE_SERVICE case

Signed-off-by: Christian Schüldt <crilla@kth.se>
This commit is contained in:
Christian Schüldt 2014-10-09 08:37:12 +08:00 committed by Andy Green
parent 609ec85869
commit fde9379e41

View file

@ -684,7 +684,7 @@ int lws_server_socket_service(struct libwebsocket_context *context,
LWS_CLOSE_STATUS_NOSTATUS);
return 0;
case LWS_SSL_CAPABLE_MORE_SERVICE:
break;
goto try_pollout;
}
/* just ignore incoming if waiting for close */
@ -702,6 +702,7 @@ int lws_server_socket_service(struct libwebsocket_context *context,
}
}
try_pollout:
/* this handles POLLOUT for http serving fragments */
if (!(pollfd->revents & LWS_POLLOUT))