Skip to content

ws:// over HTTP proxy should use CONNECT #21663

@bagder

Description

@bagder

I did this

curl -x [HTTP proxy] ws://another.example.com/

This makes curl send something like this to the proxy:

GET ws://another.example.com/ HTTP/1.1
Host: another.example.com
...

I expected the following

It should send a CONNECT HTTP request connecting to the target:

CONNECT another.example.com:80 HTTP/1.1
Host: another.example.com
...

curl/libcurl version

curl 8.20.0 (and git master)

operating system

any

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions