Home
last modified time | relevance | path

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

1234567891011

/curl/docs/libcurl/
H A Dcurl_easy_upkeep.md16 curl_easy_upkeep - Perform any connection upkeep checks.
28 Some protocols have "connection upkeep" mechanisms. These mechanisms usually
33 Currently the only protocol with a connection upkeep mechanism is HTTP/2: when
34 the connection upkeep interval is exceeded and curl_easy_upkeep(3)
35 is called, an HTTP/2 PING frame is sent on the connection.
38 The connection upkeep interval is set with
48 /* Make a connection to an HTTP/2 server. */
58 /* While the connection is being held open, curl_easy_upkeep() can be
/curl/docs/libcurl/opts/
H A DCURLOPT_MAXLIFETIME_CONN.md18 CURLOPT_MAXLIFETIME_CONN - max lifetime (since creation) allowed for reusing a connection
32 seconds, since the creation of the connection, that you allow an existing
33 connection to have to be considered for reuse for this request.
35 libcurl features a connection cache that holds previously used connections.
36 When a new request is to be done, libcurl considers any connection that
39 client-side load balancing. If a connection is found in the cache that is
57 /* only allow each connection to be reused for 30 seconds */
H A DCURLOPT_PREREQFUNCTION.md17 CURLOPT_PREREQFUNCTION - user callback called when a connection has been
43 This function gets called by libcurl after a connection has been established
44 or a connection has been reused (including any SSL handshaking), but before any
45 request is actually made on the connection. For example, for HTTP, this
46 callback is called once a connection has been established to the server, but
60 remote server established with this connection. For FTP, this is the IP for
61 the control connection. IPv6 addresses are represented without surrounding
67 connection. IPv6 addresses are represented without surrounding brackets.
71 The primary port number on the remote server established with this connection.
72 For FTP, this is the port for the control connection. This can be a TCP or a
[all …]
H A DCURLOPT_UPKEEP_INTERVAL_MS.md15 CURLOPT_UPKEEP_INTERVAL_MS - connection upkeep interval
28 Some protocols have "connection upkeep" mechanisms. These mechanisms usually
36 Currently the only protocol with a connection upkeep mechanism is HTTP/2: when
37 the connection upkeep interval is exceeded and curl_easy_upkeep(3)
38 is called, an HTTP/2 PING frame is sent on the connection.
51 /* Make a connection to an HTTP/2 server. */
61 /* While the connection is being held open, curl_easy_upkeep() can be
H A DCURLOPT_CONNECTTIMEOUT.md31 connection phase to the server to take. This timeout only limits the
32 connection phase, it has no impact once it has connected. Set to zero to
33 switch to the default built-in connection timeout - 300 seconds. See also the
41 The "connection phase" is considered complete when the requested TCP, TLS or
44 The connection timeout set with CURLOPT_CONNECTTIMEOUT(3) is included in
48 to 5, the operation can never last longer than 5 seconds, and the connection
53 connection phase.
72 /* complete connection within 10 seconds */
H A DCURLINFO_CONN_ID.md17 CURLINFO_CONN_ID - get the ID of the last connection used by the handle
30 Pass a pointer to a *curl_off_t* to receive the connection identifier last
31 used by the handle. Stores -1 if there was no connection used.
33 The connection id is unique among all connections using the same
34 connection cache. This is implicitly the case for all connections in the
H A DCURLOPT_PIPEWAIT.md30 Set *wait* to 1L to tell libcurl to prefer to wait for a connection to
34 for existing connections to use. If no such connection exists it immediately
35 continues and creates a fresh new connection to use.
39 for the connection to reveal if it is possible to multiplex on before it
43 With this option set, libcurl prefers to wait and reuse an existing connection
44 for multiplexing rather than the opposite: prefer to open a new connection
47 The waiting time is as long as it takes for the connection to get up and for
H A DCURLOPT_FRESH_CONNECT.md17 CURLOPT_FRESH_CONNECT - force a new connection to be used
29 Pass a long. Set to 1 to make the next transfer use a new (fresh) connection
35 connection is closed after use so that it cannot be reused.
37 Set *fresh* to 0 to have libcurl attempt reusing an existing connection
53 /* this transfer must use a new connection, not reuse an existing */
H A DCURLOPT_MAXAGE_CONN.md18 CURLOPT_MAXAGE_CONN - max idle time allowed for reusing a connection
31 allowed for an existing connection to have been idle to be considered for
34 The "connection cache" holds previously used connections. When a new request
35 is to be done, libcurl considers any connection that matches for reuse. The
39 the difficulties to figure out the situation. If a connection is found in the
H A DCURLOPT_FORBID_REUSE.md17 CURLOPT_FORBID_REUSE - make connection get closed at once after use
30 connection when done with the transfer. Normally, libcurl keeps all
35 Set to 0 to have libcurl keep the connection open for possible later reuse
53 /* this second transfer may not reuse the same connection */
H A DCURLOPT_SSH_KEYFUNCTION.md27 CURLKHSTAT_REJECT, /* reject the connection, return an error */
30 the connection is left intact */
76 known_hosts file before continuing with the connection. This also adds the new
85 continuing with the connection. This also adds the host+key combo to the
92 The host+key is accepted libcurl continues with the connection. This also adds
98 The host+key is rejected. libcurl denies the connection to continue and it is
103 The host+key is rejected, but the SSH connection is asked to be kept alive.
/curl/tests/data/
H A Dtest15425 connection reuse
6 persistent connection
30 connection reuse with CURLOPT_MAXLIFETIME_CONN
61 == Info: Closing connection
65 $_ = '' if (($_ !~ /left intact/) && ($_ !~ /Closing connection/))
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
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
17 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
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 Dkeepalive-time.md8 Category: connection
19 Set the time a connection needs to remain idle before sending keepalive probes
24 keepalive probes before declaring the connection down is OS dependent and is
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 Dtcp-fastopen.md7 Category: connection
18 allows data to get sent earlier over the connection (before the final
H A Dparallel-immediate.md7 Category: connection curl
22 connection.

Completed in 74 milliseconds

1234567891011