CURLOPT_SERVER_RESPONSE_TIMEOUT*: add default and see-also

Also move the old name mention to a HISTORY section

Closes #19258
This commit is contained in:
Daniel Stenberg 2025-10-27 16:37:03 +01:00
parent 692c7f133e
commit 05eea37e78
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 8 additions and 4 deletions

View file

@ -5,6 +5,7 @@ Title: CURLOPT_SERVER_RESPONSE_TIMEOUT
Section: 3
Source: libcurl
See-also:
- CURLOPT_SERVER_RESPONSE_TIMEOUT_MS (3)
- CURLOPT_CONNECTTIMEOUT (3)
- CURLOPT_LOW_SPEED_LIMIT (3)
- CURLOPT_TIMEOUT (3)
@ -40,11 +41,9 @@ connection is considered dead and the transfer fails.
It is recommended that if used in conjunction with CURLOPT_TIMEOUT(3), you set
CURLOPT_SERVER_RESPONSE_TIMEOUT(3) to a value smaller than CURLOPT_TIMEOUT(3).
This option was formerly known as CURLOPT_FTP_RESPONSE_TIMEOUT.
# DEFAULT
None
60 seconds
# %PROTOCOLS%
@ -66,6 +65,10 @@ int main(void)
}
~~~
# HISTORY
This option was formerly known as CURLOPT_FTP_RESPONSE_TIMEOUT.
# %AVAILABILITY%
# RETURN VALUE

View file

@ -5,6 +5,7 @@ Title: CURLOPT_SERVER_RESPONSE_TIMEOUT_MS
Section: 3
Source: libcurl
See-also:
- CURLOPT_SERVER_RESPONSE_TIMEOUT (3)
- CURLOPT_CONNECTTIMEOUT (3)
- CURLOPT_LOW_SPEED_LIMIT (3)
- CURLOPT_TIMEOUT (3)
@ -47,7 +48,7 @@ This is the millisecond version of CURLOPT_SERVER_RESPONSE_TIMEOUT(3).
# DEFAULT
None
60000 milliseconds
# %PROTOCOLS%