projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9161be
)
* client_read_to(): print a bactrace when the client socket goes away on read
author
Wilfried Göesgens
<willi@citadel.org>
Mon, 19 Apr 2010 10:01:57 +0000
(10:01 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Mon, 19 Apr 2010 10:01:57 +0000
(10:01 +0000)
webcit/tcp_sockets.c
patch
|
blob
|
history
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 60f8b44cf21ee3da49fe448a66d231efb5762797..90ec5de808d094b6e72f6f56046645415118d297 100644
(file)
--- 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;
}