comparison mupdf-source/thirdparty/curl/docs/cmdline-opts/connect-to.d @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
1 Long: connect-to
2 Arg: <HOST1:PORT1:HOST2:PORT2>
3 Help: Connect to host
4 Added: 7.49.0
5 See-also: resolve header
6 ---
7
8 For a request to the given HOST1:PORT1 pair, connect to HOST2:PORT2 instead.
9 This option is suitable to direct requests at a specific server, e.g. at a
10 specific cluster node in a cluster of servers. This option is only used to
11 establish the network connection. It does NOT affect the hostname/port that is
12 used for TLS/SSL (e.g. SNI, certificate verification) or for the application
13 protocols. "HOST1" and "PORT1" may be the empty string, meaning "any
14 host/port". "HOST2" and "PORT2" may also be the empty string, meaning "use the
15 request's original host/port".
16
17 A "host" specified to this option is compared as a string, so it needs to
18 match the name used in request URL. It can be either numerical such as
19 "127.0.0.1" or the full host name such as "example.org".
20
21 This option can be used many times to add many connect rules.