mirror of
https://github.com/curl/curl.git
synced 2026-07-26 08:57:16 +03:00
getinfo: reset retry-after value in initinfo
- Avoid re-using retry_after value from preceding request - Add libtest 3010 to verify Reported-by: joey-l-us on github Fixes #5661 Closes #5672
This commit is contained in:
parent
0c6112a139
commit
0b85969226
5 changed files with 130 additions and 2 deletions
|
|
@ -78,6 +78,7 @@ CURLcode Curl_initinfo(struct Curl_easy *data)
|
|||
info->conn_local_ip[0] = '\0';
|
||||
info->conn_primary_port = 0;
|
||||
info->conn_local_port = 0;
|
||||
info->retry_after = 0;
|
||||
|
||||
info->conn_scheme = 0;
|
||||
info->conn_protocol = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue