How to choose QUIC version
wtao0221 opened this issue · comments
Tao Wang commented
Hi,
Is there any option to choose QUIC-v1 rather than the FB-draft version of QUIC?
Konstantin Tsoy commented
Yes, you can use setSupportedVersions(): https://github.com/facebookincubator/mvfst/blob/main/quic/client/QuicClientTransport.h#L125
And use QUIC_V1: https://github.com/facebookincubator/mvfst/blob/main/quic/QuicConstants.h#L288
Konstantin Tsoy commented
Also on server, setSupportedVersion(): https://github.com/facebookincubator/mvfst/blob/main/quic/server/QuicServer.h#L112
Tao Wang commented
Thanks! It worked!