From 171cde9be1ba686cf3f61a492632ada9ddbe9dc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Mon, 19 Apr 2010 10:01:57 +0000 Subject: [PATCH] * client_read_to(): print a bactrace when the client socket goes away on read --- webcit/tcp_sockets.c | 1 + 1 file changed, 1 insertion(+) diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index 60f8b44cf..90ec5de80 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -795,6 +795,7 @@ int client_read_to(ParsedHttpHdrs *Hdr, StrBuf *Target, int bytes, int timeout) if (retval < 0) { lprintf(2, "client_read() failed: %s\n", Error); + wc_backtrace(); return retval; } -- 2.30.2