From c3e336446804760728a3b4bbbc2b8c52665b64a5 Mon Sep 17 00:00:00 2001 From: Sjoerd Smink Date: Wed, 28 Jan 2026 13:12:10 +0100 Subject: [PATCH] Update advanced.rst Clarify connect timeout also includes time for sending request body --- docs/user/advanced.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 2ff0c7dfbf..41708ca516 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -1094,7 +1094,8 @@ hang for minutes or more. The **connect** timeout is the number of seconds Requests will wait for your client to establish a connection to a remote machine (corresponding to the -`connect()`_) call on the socket. It's a good practice to set connect timeouts +`connect()`_) call on the socket. The connect timeout also includes the time +to send the request body. It's a good practice to set connect timeouts to slightly larger than a multiple of 3, which is the default `TCP packet retransmission window `_.