mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:13:32 +03:00
websockets: auto-tunnel through http proxy
When using a ws: or wss: url with a http proxy, automatically switch to tunneling operation mode. Add test_20_10 to check. Fixes #21663 Closes #21691
This commit is contained in:
parent
b158d1c9f7
commit
77e4e5b86d
4 changed files with 25 additions and 5 deletions
|
|
@ -237,6 +237,8 @@ struct Curl_protocol {
|
|||
without having PROTOPT_SSL. */
|
||||
#define PROTOPT_CONN_REUSE (1 << 16) /* this protocol can reuse connections */
|
||||
#define PROTOPT_NO_TRANSFER (1 << 17) /* this protocol is not for transfers */
|
||||
#define PROTOPT_HTTP_PROXY_TUNNEL (1 << 18) /* Using this protocol with a
|
||||
* HTTP proxy requires tunneling */
|
||||
|
||||
/* Everything about a URI scheme. */
|
||||
struct Curl_scheme {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue