naiveproxy/src
klzgrad d20dc7cdee socket: Force tunneling for all sockets
After the upstream large refactor, now only WebSocket sockets
have tunneling via HTTP/1 proxies. "Raw" sockets in the normal
socket pool don't have tunneling via HTTP/1 proxies, i.e.
CONNECT headers are not sent, instead the raw payload is sent
as-is to the HTTP/1 proxy, which makes it not work.

For the reference the official code does this:

- HTTP sockets via HTTP/1 proxies: normal pool, no tunneling.
- HTTPS sockets via HTTP/1 proxies: normal pool, no tunneling
  but does its own proxy encapsulation.
- WS sockets via HTTP/1 proxies: WS pool, tunneling.

We want the normal pool because the WS pool has some extra
restrictions but we also want tunneling to expose a client socket
with the proxy built in.

Therefore we can force tunneling for all sockets. This will always
send CONNECT headers first and thus break HTTP client sockets via
HTTP/1 proxies, but since we don't use this combination this is ok.
2021-01-20 19:48:05 +08:00
..
android_webview Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
apps Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
ash Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
base base: Disable trace event 2021-01-20 19:48:03 +08:00
build build: Force determinism in official build 2021-01-20 19:40:17 +08:00
build_overrides Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
buildtools Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
cc Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
chrome Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
chromecast Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
chromeos Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
cloud_print Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
codelabs Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
components Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
content build: Don't depend on dri in //content/gpu 2021-01-20 19:40:16 +08:00
courgette Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
crypto Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
dbus Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
device Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
extensions Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
fuchsia Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
gin Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
google_apis Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
google_update Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
gpu Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
headless Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
ios Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
ipc Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
jingle Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
media Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
mojo Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
native_client Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
native_client_sdk/src Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
net socket: Force tunneling for all sockets 2021-01-20 19:48:05 +08:00
pdf Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
ppapi Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
printing Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
remoting Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
rlz Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
sandbox Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
services Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
skia Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
sql Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
storage Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
testing Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
third_party build: Avoid naming conflict in fstatat64 2021-01-20 19:45:07 +08:00
tools Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
ui Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
url build: Remove icu 2021-01-20 19:40:17 +08:00
v8 Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
weblayer Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
.clang-format Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
.gitattributes Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
.gn Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
AUTHORS Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
BUILD.gn Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00
LICENSE Import chromium-88.0.4324.96 2021-01-20 19:40:16 +08:00