Opened 6 months ago

Last modified 4 months ago

#3616 new bug

HTTP Connect should use tracker domains instead of IP

Reported by: Sytten Owned by:
Priority: minor Milestone: needs verified
Component: libtorrent Version: 2.1.0
Keywords: Cc:



I believe the current implementation for the HTTP proxy for HTTPS trackers could be improved.

Currently the client sends the following connect: ` CONNECT <TRACKER IP>:<PORT> HTTP/1.0 `

It should instead use the tracker domain as specified in the RFC 9110 ( and let the proxy do the DNS resolution and choose the IP.

This is the behaviour of browsers notably because it allows users to have reverse proxies that intercept the TLS traffic if they need it. With only the IP, it's impossible for the proxy to validate the remote server TLS certificate.


Change History (1)

comment:1 Changed 4 months ago by DjLegolas

This is something that is being handled by libtorrent.
i would suggest to go and open an issue at their repository:

Note: See TracTickets for help on using tickets.