naiveproxy/src
klzgrad 62af6f55bb socket: Force tunneling for all sockets
In the socket system, only WebSocket sockets are allowed to tunnel
through HTTP/1 proxies. "Raw" sockets in the normal socket pool don't
have it, and their CONNECT headers are not sent, instead the raw
payload is sent as-is to the HTTP/1 proxy, breaking the proxying.

The socket system works like 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.

In Naive, we need the normal pool because the WS pool has some extra
restrictions but we also need tunneling to produce a client socket
with proxy tunneling built in.

Therefore force tunneling for all sockets and have them always send
CONNECT headers. This will otherwise break regular HTTP client sockets
via HTTP/1 proxies, but as we don't use this combination, it is ok.
2021-04-24 07:16:39 +08:00
..
android_webview Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
apps Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
ash Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
base base: Disable trace event 2021-04-24 07:16:38 +08:00
build build: Force determinism in official build 2021-04-24 07:16:10 +08:00
build_overrides Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
buildtools Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
cc Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
chrome Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
chromecast Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
chromeos Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
cloud_print Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
codelabs Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
components Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
content build: Don't depend on dri in //content/gpu 2021-04-24 07:06:52 +08:00
courgette Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
crypto Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
dbus Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
device Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
extensions Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
fuchsia Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
gin Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
google_apis Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
google_update Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
gpu Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
headless Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
ios Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
ipc Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
jingle Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
media Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
mojo Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
native_client Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
native_client_sdk/src Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
net socket: Force tunneling for all sockets 2021-04-24 07:16:39 +08:00
pdf Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
ppapi Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
printing Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
remoting Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
rlz Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
sandbox Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
services Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
skia Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
sql Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
storage Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
testing Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
third_party build: Avoid naming conflict in fstatat64 2021-04-24 07:16:28 +08:00
tools Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
ui Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
url build: Remove icu 2021-04-24 07:16:27 +08:00
v8 Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
weblayer Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
.clang-format Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
.gitattributes Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
.gn Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
AUTHORS Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
BUILD.gn Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00
LICENSE Import chromium-90.0.4430.85 2021-04-24 07:06:52 +08:00