aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-07-11 23:49:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-07-12 00:08:37 +0200
commit685366006ccff2b4817d2b3b806e62ebdae90a60 (patch)
tree4bdf4cd5bbd5c102d569c2f52da0c6d4322282ab /tests/server
parent85ce195f75e16d59840e3de74bc5b2846630cabd (diff)
connection-monitor: always log disconnect when enabled
This makes verifying easier and makes us more sure curl closes the connection only at the correct point in time. Adjusted test 206 and 1008 accordingly and updated the docs for it.
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/sws.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index e1abed613..aaacb3546 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -347,6 +347,8 @@ static int parse_servercmd(struct httprequest *req)
return 1; /* done */
}
+ req->connmon = FALSE;
+
cmd = orgcmd;
while(cmd && cmdsize) {
char *check;
@@ -837,7 +839,6 @@ static int get_request(curl_socket_t sock, struct httprequest *req)
req->pipelining = FALSE;
req->callcount = 0;
req->connect_port = 0;
- req->connmon = FALSE;
/*** end of httprequest init ***/