square/okhttp

Adding QUIC entry to Protocol enum

ypyu2000 opened this issue · 8 comments

We are adding QUIC (https://www.chromium.org/quic) support to the OKHttp by adding a QUIC interceptor. The QUIC interceptor can transmit request packets and response packets over QUIC between the OKHttp client and a QUIC proxy or a QUIC server. To integrate QUIC into existing okhttp codes, we plan to add QUIC(“quic”) to the Protocol enum in Protocol.java to be used in the QUIC interceptor. We can contribute back the QUIC interceptor to the OKHttp git if this addition can be approved. Can the committee approve this addition? Thanks.

Sure. Who is “we” ?

The networking team at Uber developed the QUIC interceptor. It's pretty nifty! Not sure whether this kind of thing would live inside or outside of OkHttp. Instead of having the interceptor live inside OkHttp we could just add an API to support custom protocols.

Once we have the Interceptor hosted on Git we'll ping this thread.

  • 1 for support for custom protocol api :) That would be awesome..

Where could one find this QUIC interceptor?

@cfsbhawkins Not open sourced as of now.

Done!

Is the QUIC interceptor open sourced yet? Or can anyone help me find some resource to build one? Thanks