inform timeout source when TIMEDOUT_WAITING

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2014-04-10 11:03:22 +08:00
parent 5b08f12fe8
commit fe660b5c4b

View file

@ -174,7 +174,7 @@ libwebsocket_service_timeout_check(struct libwebsocket_context *context,
* connection
*/
if (sec > wsi->pending_timeout_limit) {
lwsl_info("TIMEDOUT WAITING\n");
lwsl_info("TIMEDOUT WAITING on %d\n", wsi->pending_timeout);
libwebsocket_close_and_free_session(context,
wsi, LWS_CLOSE_STATUS_NOSTATUS);
return 1;