From 685366006ccff2b4817d2b3b806e62ebdae90a60 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 11 Jul 2012 23:49:01 +0200 Subject: 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. --- tests/server/sws.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/server') 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 ***/ -- cgit v1.2.3