projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8188dd
)
when the client disconnects prematurely, dump the request as received thus
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 21 Jun 2004 14:00:11 +0000
(14:00 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 21 Jun 2004 14:00:11 +0000
(14:00 +0000)
far
tests/server/sws.c
patch
|
blob
|
history
diff --git
a/tests/server/sws.c
b/tests/server/sws.c
index
e420be8
..
689ef1d
100644
(file)
--- a/
tests/server/sws.c
+++ b/
tests/server/sws.c
@@
-482,6
+482,10
@@
static int get_request(int sock, struct httprequest *req)
return DOCNUMBER_INTERNAL;
}
logmsg("Connection closed by client");
+ reqbuf[req->offset]=0;
+
+ /* dump the request receivied so far to the external file */
+ storerequest(reqbuf);
return DOCNUMBER_INTERNAL;
}
req->offset += got;