mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
log a message when continuing once sleep time is over
This commit is contained in:
parent
f0917cabb5
commit
7bede9180d
@ -975,15 +975,17 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
|
||||
quarters--;
|
||||
res = wait_ms(250);
|
||||
if(got_exit_signal)
|
||||
quarters = 0;
|
||||
break;
|
||||
if(res) {
|
||||
/* should not happen */
|
||||
error = SOCKERRNO;
|
||||
logmsg("wait_ms() failed with error: (%d) %s",
|
||||
error, strerror(error));
|
||||
quarters = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!quarters)
|
||||
logmsg("Continuing after sleeping %d seconds", num);
|
||||
}
|
||||
else
|
||||
logmsg("Unknown command in reply command section");
|
||||
|
Loading…
Reference in New Issue
Block a user