mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-10-25 22:38:23 +03:00
6296dc59ff9c5b60d72772903d560dd07ec21401
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_.
Languages
C++
79.3%
Python
16.2%
C
1.2%
Objective-C++
1%
Rust
0.7%
Other
1.5%