Lines Matching refs:to
19 CURLOPT_CONNECT_TO - connect to another host and port instead
32 Pass a pointer to a linked list of strings with "connect to" information to
35 in. Use curl_slist_append(3) to create the list and curl_slist_free_all(3) to
40 request, PORT is the port of the request, CONNECT-TO-HOST is the hostname to
41 connect to, and CONNECT-TO-PORT is the port to connect to.
50 CONNECT-TO-HOST or CONNECT-TO-PORT is empty, the "connect to" feature is
51 disabled for the host or port, and the request's host or port are used to
54 This option is suitable to direct the request at a specific server, e.g. at a
57 The "connect to" host and port are only used to establish the network
61 In contrast to CURLOPT_RESOLVE(3), the option CURLOPT_CONNECT_TO(3) does not
63 of other easy handles that have been added to the same multi handle.
65 The "connect to" host and port are ignored if they are equal to the host and
66 the port in the request URL, because connecting to the host and the port in
69 If an HTTP proxy is used for a request having a special "connect to" host or
70 port, and the "connect to" host or port differs from the request's host and
71 port, the HTTP proxy is automatically switched to tunnel mode for this
72 specific request. This is necessary because it is not possible to connect to a
75 When this option is passed to curl_easy_setopt(3), libcurl does not copy the
80 ones. Set it to NULL to disable its use again.