Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Curl default connect-timeout

The default connect timeout value seems to be 5 minutes / 300 seconds according to the DEFAULT_CONNECT_TIMEOUT macro in lib/connect.h.

On Debian it stops trying to connect after 2 minutes, regardless of the time specified with --connect-timeout 

A default value for --max-time doesn't seem to exist, making curl wait forever for a response if the initial connect succeeds.

curl has two options: --connect-timeout and --max-time.


Comment

PREVIOUS NEXT
Code Example
Shell :: leaflet install yarn 
Shell :: store result of command in variable bash 
Shell :: search package linux 
Shell :: check file size linux 
Shell :: git clone https 
Shell :: install node_modules 
Shell :: check disk space folders linux 
Shell :: push local branch upstream 
Shell :: omv install script 
Shell :: bash run multiple commands in parallel 
Shell :: conda command to install folium 
Shell :: create git repository pycharm 
Shell :: git ignore updates to file 
Shell :: see what groups a user is in linux 
Shell :: aws cli has no installation package in ubuntu server 20.04 how to solve 
Shell :: powershell replace and rename file name 
Shell :: git push remote 
Shell :: uninstall ros2 foxy 
Shell :: copy folder in ubuntu 
Shell :: brave on linux 
Shell :: install paddlepaddle 
Shell :: install mpdf laravel 
Shell :: tensorflow docker hub 
Shell :: if there is a string in a file batch 
Shell :: git commands download 
Shell :: symfony webpack server 
Shell :: change git repository 
Shell :: docker get image size before pull acr 
Shell :: bash not equal 
Shell :: git force lf 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =