mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:43:38 +03:00
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.
This commit is contained in:
parent
85ce195f75
commit
685366006c
4 changed files with 5 additions and 7 deletions
|
|
@ -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 ***/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue