mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
pingpong: change repsonse timeout to one minute
It was previously two minutes by default and sometimes one minute. Removes a struct field. Closes #19254
This commit is contained in:
parent
6c97ff8c12
commit
2bb33c18a7
4 changed files with 3 additions and 12 deletions
|
|
@ -53,8 +53,6 @@ struct pingpong {
|
|||
size_t sendsize; /* total size of the sendthis buffer */
|
||||
struct curltime response; /* set to Curl_now() when a command has been sent
|
||||
off, used to time-out response reading */
|
||||
timediff_t response_time; /* When no timeout is given, this is the amount of
|
||||
milliseconds we await for a server response. */
|
||||
struct dynbuf sendbuf;
|
||||
struct dynbuf recvbuf;
|
||||
size_t overflow; /* number of bytes left after a final response line */
|
||||
|
|
@ -75,7 +73,6 @@ struct pingpong {
|
|||
|
||||
#define PINGPONG_SETUP(pp,s,e) \
|
||||
do { \
|
||||
(pp)->response_time = RESP_TIMEOUT; \
|
||||
(pp)->statemachine = s; \
|
||||
(pp)->endofresp = e; \
|
||||
} while(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue