mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-01-31 07:11:45 +03:00
klzgrad
d74639db2f
quic: Add support for HTTP/3 CONNECT Fast Open
SpdyProxyClientSocket uses read_callback_ for both Connect() and Read(), and its OnIOComplete() calls read_callback_, thus its fast connect code checks read_callback_. The code was ported to QuicProxyClientSocket without much change. But QuicProxyClientSocket uses a separate connect_callback_ apart from read_callback_, and its OnIOComplete() calls connect_callback_, thus when headers are received after Connect() it doesn't need to check read_callback_ and should always avoid calling connect_callback_.
Description
Languages
C++
81.5%
Python
13.9%
C
1.5%
Objective-C++
1.1%
Starlark
0.6%
Other
1.2%