diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-07-11 23:49:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-07-12 00:08:37 +0200 |
commit | 685366006ccff2b4817d2b3b806e62ebdae90a60 (patch) | |
tree | 4bdf4cd5bbd5c102d569c2f52da0c6d4322282ab /tests/server/sws.c | |
parent | 85ce195f75e16d59840e3de74bc5b2846630cabd (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/sws.c')
-rw-r--r-- | tests/server/sws.c | 3 |
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 ***/ |