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.
with the given payload size
connection-monitor When used, this will log [DISCONNECT] to the server.input
- log if the connection is disconnected while the given request
- is handled. Note that if the connection isn't disconnected and
- the server loops and waits for the next request on the
- persistent connection then the internal boolean for connection
- monitoring will be reset to default and if then the connection
- gets discconected nothing will be output.
+ log when the connection is disconnected.
</servercmd>
</reply>
Host: test.remote.example.com:1008\r
Accept: */*\r
\r
+[DISCONNECT]
</protocol>
</verify>
</testcase>
Host: test.remote.haxx.se:206\r
Accept: */*\r
\r
+[DISCONNECT]
</protocol>
</verify>
</testcase>
return 1; /* done */
}
+ req->connmon = FALSE;
+
cmd = orgcmd;
while(cmd && cmdsize) {
char *check;
req->pipelining = FALSE;
req->callcount = 0;
req->connect_port = 0;
- req->connmon = FALSE;
/*** end of httprequest init ***/