Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/curl/docs/libcurl/opts/
H A DCURLOPT_CONNECTTIMEOUT_MS.md32 connection phase to take. This timeout only limits the connection phase, it
33 has no impact once libcurl has connected. The connection phase includes the
35 an established connection with the remote side.
37 Set this option to zero to switch to the default built-in connection timeout -
45 The connection timeout is included in the general all-covering
50 connection phase cannot last longer than 3000 milliseconds.
54 the connection phase.
75 /* complete connection within 10000 milliseconds */
H A DCURLOPT_CONNECTTIMEOUT.md30 Pass a long. It sets the maximum time in seconds that you allow the connection
31 phase to take. This timeout only limits the connection phase, it has no impact
32 once libcurl has connected. The connection phase includes the name resolve
34 established connection with the remote side.
36 Set this option to zero to switch to the default built-in connection timeout -
44 The connection timeout is included in the general all-covering
48 to 5, the operation can never last longer than 5 seconds, and the connection
53 connection phase.
74 /* complete connection within 10 seconds */
H A DCURLOPT_MAXLIFETIME_CONN.md19 CURLOPT_MAXLIFETIME_CONN - max lifetime (since creation) allowed for reusing a connection
33 seconds, since the creation of the connection, that you allow an existing
34 connection to have to be considered for reuse for this request.
36 libcurl features a connection cache that holds previously used connections.
37 When a new request is to be done, libcurl considers any connection that
40 client-side load balancing. If a connection is found in the cache that is
60 /* only allow each connection to be reused for 30 seconds */
H A DCURLOPT_PREREQFUNCTION.md18 CURLOPT_PREREQFUNCTION - user callback called when a connection has been
44 This function gets called by libcurl after a connection has been established
45 or a connection has been reused (including any SSL handshaking), but before any
46 request is actually made on the connection. For example, for HTTP, this
47 callback is called once a connection has been established to the server, but
62 remote server established with this connection. For FTP, this is the IP for
63 the control connection. IPv6 addresses are represented without surrounding
69 connection. IPv6 addresses are represented without surrounding brackets.
73 The primary port number on the remote server established with this connection.
74 For FTP, this is the port for the control connection. This can be a TCP or a
[all …]
H A DCURLOPT_UPKEEP_INTERVAL_MS.md16 CURLOPT_UPKEEP_INTERVAL_MS - connection upkeep interval
29 Some protocols have "connection upkeep" mechanisms. These mechanisms usually
37 Currently the only protocol with a connection upkeep mechanism is HTTP/2: when
38 the connection upkeep interval is exceeded and curl_easy_upkeep(3)
39 is called, an HTTP/2 PING frame is sent on the connection.
54 /* Make a connection to an HTTP/2 server. */
64 /* While the connection is being held open, curl_easy_upkeep() can be
H A DCURLINFO_CONN_ID.md18 CURLINFO_CONN_ID - get the ID of the last connection used by the handle
31 Pass a pointer to a *curl_off_t* to receive the connection identifier last
32 used by the handle. Stores -1 if there was no connection used.
34 The connection id is unique among all connections using the same
35 connection cache. This is implicitly the case for all connections in the
H A DCURLOPT_PIPEWAIT.md31 Set *wait* to 1L to tell libcurl to prefer to wait for a connection to
35 for existing connections to use. If no such connection exists it immediately
36 continues and creates a fresh new connection to use.
40 for the connection to reveal if it is possible to multiplex on before it
44 With this option set, libcurl prefers to wait and reuse an existing connection
45 for multiplexing rather than the opposite: prefer to open a new connection
48 The waiting time is as long as it takes for the connection to get up and for
H A DCURLOPT_FRESH_CONNECT.md18 CURLOPT_FRESH_CONNECT - force a new connection to be used
30 Pass a long. Set to 1 to make the next transfer use a new (fresh) connection
36 connection is closed after use so that it cannot be reused.
38 Set *fresh* to 0 to have libcurl attempt reusing an existing connection
56 /* this transfer must use a new connection, not reuse an existing */
H A DCURLOPT_MAXAGE_CONN.md19 CURLOPT_MAXAGE_CONN - max idle time allowed for reusing a connection
32 allowed for an existing connection to have been idle to be considered for
35 The "connection cache" holds previously used connections. When a new request
36 is to be done, libcurl considers any connection that matches for reuse. The
40 the difficulties to figure out the situation. If a connection is found in the
H A DCURLOPT_FORBID_REUSE.md18 CURLOPT_FORBID_REUSE - make connection get closed at once after use
31 connection when done with the transfer. Normally, libcurl keeps all
36 Set to 0 to have libcurl keep the connection open for possible later reuse
56 /* this second transfer may not reuse the same connection */
H A DCURLOPT_MAXCONNECTS.md19 CURLOPT_MAXCONNECTS - maximum connection cache size
32 libcurl may keep alive in its connection cache after use. The default is 5,
37 When reaching the maximum limit, curl closes the oldest connection present in
63 /* limit the connection cache for this handle to no more than 3 */
/curl/docs/libcurl/
H A Dcurl_easy_upkeep.md29 Some protocols have "connection upkeep" mechanisms. These mechanisms usually
34 Currently the only protocol with a connection upkeep mechanism is HTTP/2: when
35 the connection upkeep interval is exceeded and curl_easy_upkeep(3)
36 is called, an HTTP/2 PING frame is sent on the connection.
39 The connection upkeep interval is set with
42 If you call this function on an easy handle that uses a shared connection cache
55 /* Make a connection to an HTTP/2 server. */
65 /* While the connection is being held open, curl_easy_upkeep() can be
/curl/tests/data/
H A Dtest15425 connection reuse
6 persistent connection
30 connection reuse with CURLOPT_MAXLIFETIME_CONN
61 == Info: shutting down connection #0
65 $_ = '' if (($_ !~ /left intact/) && ($_ !~ /(closing|shutting down) connection #\d+/))
H A Dtest151613 # Close the connection after the first request but don't tell the client to do
14 # so! When starting the second request it'll detect a dead connection and must
45 caching of manual libcurl DNS entries after dead connection
H A Dtest14197 connection reuse
13 connection-monitor
45 HTTP with --anyauth (but no auth!) and connection reuse
H A Dtest33827 connection-monitor
38 ANYAUTH connection reuse of non-authed connection
H A Dtest203260 Data connection 0: 228
61 Data connection 1: 228
62 Data connection 2: 402
82 NTLM connection mapping
/curl/docs/cmdline-opts/
H A Dconnect-timeout.md7 Category: connection timeout
19 Maximum time in seconds that you allow curl's connection to take. This only
20 limits the connection phase, so if curl connects within the given period it
27 The connection phase is considered complete when the DNS lookup and requested
H A Dno-keepalive.md5 Help: Disable TCP keepalive on the connection
6 Category: connection
18 Disables the use of keepalive messages on the TCP connection. curl otherwise
H A Dlocal-port.md8 Category: connection
19 for the connection(s). Note that port numbers by nature are a scarce resource
21 connection setup failures.
H A Dhappy-eyeballs-timeout-ms.md8 Category: connection timeout
22 time, then a connection attempt is made to the IPv4 address in parallel. The
23 first connection to be established is the one that is used.
26 "It is RECOMMENDED that connection attempts be paced 150-250 ms apart to
H A Dssl.md21 instead to be sure curl upgrades to a secure connection.
23 Try to use SSL/TLS for the connection - often referred to as STARTTLS or STLS
24 because of the involved commands. Reverts to a non-secure connection if the
31 Please note that a server may close the connection if the negotiation does
H A Dtrace-ids.md5 Help: Transfer + connection ids in verbose output
19 Prepends the transfer and connection identifiers to each trace or verbose line that curl displays.
H A Dkeepalive-time.md8 Category: connection timeout
20 Set the time a connection needs to remain idle before sending keepalive probes
25 The number of missed keepalive probes before declaring the connection down is OS
H A Dtcp-fastopen.md7 Category: connection
18 allows data to get sent earlier over the connection (before the final

Completed in 20 milliseconds

12345678910>>...12