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:
Daniel Stenberg 2025-10-27 14:16:26 +01:00
parent 6c97ff8c12
commit 2bb33c18a7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 3 additions and 12 deletions

View file

@ -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)