HTTPCLIENT-2261: HTTP/2 CONNECT tunneling over HTTP/2 proxy streams#648
HTTPCLIENT-2261: HTTP/2 CONNECT tunneling over HTTP/2 proxy streams#648arturobernalg wants to merge 1 commit intoapache:masterfrom
Conversation
e3d2651 to
4a16d5c
Compare
b87a1a7 to
45f0d12
Compare
3857494 to
1f5f2a8
Compare
…ements multiplexing-safe CONNECT tunneling by adapting a single HTTP/2 proxy stream to a ProtocolIOSession that can be upgraded with TLS and an optional protocol handler. T
c42787d to
d459568
Compare
|
@arturobernalg Why do you need this in core? What is the motivation? |
@ok2c |
|
@arturobernalg This feature does not belong to core. It is clearly client only relevant. Put it there. Integrate it well, test it well and see if it gets any traction. If at any point we discover we need it in core, which I doubt, it can always be moved. |
@ok2c I'll move to the client then |
This PR adds HTTP/2 CONNECT tunnel support for HTTP/2 clients when connecting through an HTTP/2 proxy. The tunnel maps a single CONNECT stream to a ProtocolIOSession, enabling optional TLS layering and an optional protocol starter on top of the established tunnel.