HTTP/3 request with HTTP/S or SOCKS5 proxy

1.3k views Asked by At

It seems like quic-go does not support proxy for HTTP request like HTTP/2 module, how can I use HTTP/S proxy or SOCKS5 proxy with quic-go for HTTP requests?

1

There are 1 answers

0
Buffoonism On

The quic-go package doesn't seem to have native proxy support (it does have a class called proxy, but it appears to be a tool for testing packet loss and delays).

How about extending it yourself (or dynamically wrapping it) with net/proxy and then using this to forward your requests through a SOCKS5 proxy?