Commit e55fd4b
committed
Migrate to header-based network isolation key
Replace the C API-based SetConcurrencyIndex with the simpler
header-based approach from upstream naiveproxy.
Users now set network isolation via the `-network-isolation-key`
header instead of calling SetConcurrencyIndex().
naiveproxy changes:
- Revert 7ed35377ef (complex NAK C API)
- Cherry-pick 87b03cd9faad (header-based implementation)1 parent 5dd7380 commit e55fd4b
File tree
9 files changed
+7
-32
lines changed- internal/cronet
9 files changed
+7
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
54 | 52 | | |
55 | 53 | | |
56 | 54 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
920 | 920 | | |
921 | 921 | | |
922 | 922 | | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | 923 | | |
927 | 924 | | |
928 | 925 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | 948 | | |
952 | 949 | | |
953 | 950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | 311 | | |
313 | 312 | | |
314 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
166 | 169 | | |
167 | 170 | | |
168 | 171 | | |
| |||
Submodule naiveproxy updated 10 files
- README.md-14
- src/components/cronet/android/cronet_library_loader.cc-5
- src/components/cronet/cronet_global_state_stubs.cc-5
- src/components/grpc_support/bidirectional_stream.cc+15-4
- src/components/grpc_support/bidirectional_stream.h-9
- src/components/grpc_support/bidirectional_stream_c.cc-36
- src/components/grpc_support/include/bidirectional_stream_c.h-9
- src/net/http/bidirectional_stream.cc+9-7
- src/net/http/bidirectional_stream_request_info.h-4
- src/net/spdy/spdy_http_utils.cc+4
0 commit comments