Skip to content

pr-git-2362/GalaxySnail/http-connect-timeout-ms-v1

tagged this 23 Jul 09:25
From: GalaxySnail <me@glxys.nl>

By default, libcurl uses a 300 seconds timeout for the connection phase,
which is too long for some use cases.

Add http.connecttimeoutms and GIT_HTTP_CONNECT_TIMEOUT_MS to specify
timeout in milliseconds for the connection phase. Both of them call
CURLOPT_CONNECTTIMEOUT_MS internally.

Signed-off-by: GalaxySnail <me@glxys.nl>

Submitted-As: https://lore.kernel.org/git/pull.2362.git.git.1784798733557.gitgitgadget@gmail.com
Assets 2
Loading