-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-serverArea: server.Area: server.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.
Description
Hi,
I am currently writing a toy HTTP proxy using hyper with tokio (current master). While plain HTTP proxying was easy to write, I am struggling with how to handle CONNECT tcp tunnels (typically used to proxy https without ssl interception).
How would you proceed to switch from the Http service to a raw tcp proxy service (such as the one demonstrated in tokio-socks5
) on the same socket ?
Solving this issue would also be beneficial for switching protocols to websockets or cleartext http2.
Thank you in advance for any advice.
Florent
olehdevua
Metadata
Metadata
Assignees
Labels
A-serverArea: server.Area: server.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.