Commit graph

9 commits

Author SHA1 Message Date
klzgrad
569b5a691e Negotiate padding capability automatically
Client: On the first connection does a full Open and detects if the
server supports padding by checking for "Padding" header in the
response. Applies padding if the server does. In the following
connections it's back to Fast Open.

Server: Detects if the client supports padding by checking for "Padding"
header in the CONNECT request. Applies padding if the client does.

Both client and server always send "Padding" headers to somewhat protect
the request and response headers' packet lengths, even if the other side
may not acknowledge padding negotiation, either due to old version or
"Padding" headers being dropped by the frontend.

The manual option --padding is removed.
2021-05-23 21:04:36 +08:00
klzgrad
13828a7563 Redirect DNS for redir://
Run a fake stub DNS resolver at the same port with redir://.
2021-05-23 21:04:36 +08:00
klzgrad
2d1abe409f Add http_proxy_socket to BUILD.gn 2021-05-23 21:04:36 +08:00
klzgrad
121ba8a3f2 Add Naive client to BUILD.gn 2021-05-23 21:04:36 +08:00
klzgrad
dabce15d5f base: Disable trace event
This allows builds with enable_base_tracing=false.
2021-05-23 20:32:04 +08:00
klzgrad
a8fa9f94f9 net, url: Remove icu 2021-05-23 20:28:13 +08:00
klzgrad
d31146d6c5 net: Add Android stubs 2021-05-21 01:37:09 +08:00
klzgrad
244c93445a build: Remove tests and minimize 2021-05-21 01:37:09 +08:00
importer
c9cda4380b Import chromium-90.0.4430.85 2021-05-21 01:37:03 +08:00