From fe660b5c4bf36723244c3d64571fd8e85c4b6964 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 10 Apr 2014 11:03:22 +0800 Subject: [PATCH] inform timeout source when TIMEDOUT_WAITING Signed-off-by: Andy Green --- lib/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service.c b/lib/service.c index da8f38e3..5edc2a32 100644 --- a/lib/service.c +++ b/lib/service.c @@ -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;