Skip to content

Proxy support #36

Closed
Closed

Description

@lovelydinosaur

Best place to look would be urllib3.
Will need to be handled by the "dispatch" layer.

Activity

  1. sethmlarson commented on Jul 8, 2019

    @sethmlarson
    Contributor

    Thoughts on implementing sans-I/O proxy handlers as a part of connection generation? Most proxy interchanges aren't as complex.

  2. lovelydinosaur commented on Jul 8, 2019

    @lovelydinosaur
    MemberAuthor

    I’ve not really looked into what needs to change for proxy support on each of http, https.

    Is there a good resource to point at, or summary of the difference in how the request is formed in each of those two cases?

  3. sethmlarson commented on Jul 8, 2019

    @sethmlarson
    Contributor

    HTTP/HTTPS: Send a request with method=CONNECT, target=[host]:[port] along with proxy headers, if you get a 2XX response back then you start using that TCP connection as a tunnel immediately.
    SOCKS4: Similar but uses it's own protocol to request a TCP tunnel. Has own authentication.
    SOCKS4a: Same as above but DNS resolution can occur on the client side or proxy-side.
    SOCKS5: Same as above but different protocol.

    Basically all proxies have three states: Waiting for Response, Proxy Tunnel Ready, and Proxy Error.

  4. added
    interopIssues interoperating with existing websites and services
    on Jul 30, 2019
  5. qwerty32123 commented on Aug 5, 2019

    @qwerty32123

    is http/s proxy support for httpx currently?

  6. sethmlarson commented on Aug 6, 2019

    @sethmlarson
    Contributor

    Not currently, we would happily accept a PR from anyone willing to tackle even one of the above proxy scenarios. :)

  7. florimondmanca commented on Oct 17, 2019

    @florimondmanca
    Contributor

    @sethmlarson Closing this since I think we now have the basics in (HTTP/HTTPS, forward/tunnel) and SOCKS proxy is tracked in #203. If I missed something anyone please reopen. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededinteropIssues interoperating with existing websites and services

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions