Loading docs/cmdline-opts/connect-to.d 0 → 100644 +18 −0 Original line number Diff line number Diff line Long: connect-to Arg: <HOST1:PORT1:HOST2:PORT2> Help: Connect to host Added: 7.49.0 See-also: resolve header --- For a request to the given HOST:PORT pair, connect to CONNECT-TO-HOST:CONNECT-TO-PORT instead. This option is suitable to direct requests at a specific server, e.g. at a specific cluster node in a cluster of servers. This option is only used to establish the network connection. It does NOT affect the hostname/port that is used for TLS/SSL (e.g. SNI, certificate verification) or for the application protocols. "host" and "port" may be the empty string, meaning "any host/port". "connect-to-host" and "connect-to-port" may also be the empty string, meaning "use the request's original host/port". This option can be used many times to add many connect rules. docs/cmdline-opts/ftp-port.d 0 → 100644 +32 −0 Original line number Diff line number Diff line Long: ftp-port Arg: <address> Help: Use PORT instead of PASV Short: P Protocols: FTP See-also: ftp-pasv disable-eprt --- Reverses the default initiator/listener roles when connecting with FTP. This option makes curl use active mode. curl then tells the server to connect back to the client's specified address and port, while passive mode asks the server to setup an IP address and port for it to connect to. <address> should be one of: .RS .IP interface i.e "eth0" to specify which interface's IP address you want to use (Unix only) .IP "IP address" i.e "192.168.10.1" to specify the exact IP address .IP "host name" i.e "my.host.domain" to specify the machine .IP "-" make curl pick the same IP address that is already used for the control connection .RE If this option is used several times, the last one will be used. Disable the use of PORT with --ftp-pasv. Disable the attempt to use the EPRT command instead of PORT by using --disable-eprt. EPRT is really PORT++. Since 7.19.5, you can append \&":[start]-[end]\&" to the right of the address, to tell curl what TCP port range to use. That means you specify a port range, from a lower to a higher number. A single number works as well, but do note that it increases the risk of failure since the port may not be available. docs/cmdline-opts/http1.1.d +0 −1 Original line number Diff line number Diff line Short: Long: http1.1 Tags: Versions Protocols: HTTP Loading docs/cmdline-opts/http2-prior-knowledge.d +0 −1 Original line number Diff line number Diff line Short: Long: http2-prior-knowledge Tags: Versions Protocols: HTTP Loading docs/cmdline-opts/http2.d +0 −1 Original line number Diff line number Diff line Short: Long: http2 Tags: Versions Protocols: HTTP Loading Loading
docs/cmdline-opts/connect-to.d 0 → 100644 +18 −0 Original line number Diff line number Diff line Long: connect-to Arg: <HOST1:PORT1:HOST2:PORT2> Help: Connect to host Added: 7.49.0 See-also: resolve header --- For a request to the given HOST:PORT pair, connect to CONNECT-TO-HOST:CONNECT-TO-PORT instead. This option is suitable to direct requests at a specific server, e.g. at a specific cluster node in a cluster of servers. This option is only used to establish the network connection. It does NOT affect the hostname/port that is used for TLS/SSL (e.g. SNI, certificate verification) or for the application protocols. "host" and "port" may be the empty string, meaning "any host/port". "connect-to-host" and "connect-to-port" may also be the empty string, meaning "use the request's original host/port". This option can be used many times to add many connect rules.
docs/cmdline-opts/ftp-port.d 0 → 100644 +32 −0 Original line number Diff line number Diff line Long: ftp-port Arg: <address> Help: Use PORT instead of PASV Short: P Protocols: FTP See-also: ftp-pasv disable-eprt --- Reverses the default initiator/listener roles when connecting with FTP. This option makes curl use active mode. curl then tells the server to connect back to the client's specified address and port, while passive mode asks the server to setup an IP address and port for it to connect to. <address> should be one of: .RS .IP interface i.e "eth0" to specify which interface's IP address you want to use (Unix only) .IP "IP address" i.e "192.168.10.1" to specify the exact IP address .IP "host name" i.e "my.host.domain" to specify the machine .IP "-" make curl pick the same IP address that is already used for the control connection .RE If this option is used several times, the last one will be used. Disable the use of PORT with --ftp-pasv. Disable the attempt to use the EPRT command instead of PORT by using --disable-eprt. EPRT is really PORT++. Since 7.19.5, you can append \&":[start]-[end]\&" to the right of the address, to tell curl what TCP port range to use. That means you specify a port range, from a lower to a higher number. A single number works as well, but do note that it increases the risk of failure since the port may not be available.
docs/cmdline-opts/http1.1.d +0 −1 Original line number Diff line number Diff line Short: Long: http1.1 Tags: Versions Protocols: HTTP Loading
docs/cmdline-opts/http2-prior-knowledge.d +0 −1 Original line number Diff line number Diff line Short: Long: http2-prior-knowledge Tags: Versions Protocols: HTTP Loading
docs/cmdline-opts/http2.d +0 −1 Original line number Diff line number Diff line Short: Long: http2 Tags: Versions Protocols: HTTP Loading