From: Wilfried Göesgens Date: Mon, 19 Apr 2010 10:01:57 +0000 (+0000) Subject: * client_read_to(): print a bactrace when the client socket goes away on read X-Git-Tag: v7.86~268 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=171cde9be1ba686cf3f61a492632ada9ddbe9dc0 * client_read_to(): print a bactrace when the client socket goes away on read --- 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; }