Commit 22cc7ba
committed
Update httpolyglot to fix unknown-over-TLS bug
This fixes a bug that this update causes. Previously, we depended on
subtle ordering of events to detect whether the last hop of a request
was encrypted or not (i.e. is a tunnelled request HTTPS or HTTP, given a
series of TLS or not hops en route).
This was buggy, and breaks with the latest httpolyglot, where this order
can change for requests without ALPN. Now, we properly set defaults &
reset encrypted status at each tunnel hop instead.
Also fixed an unrelated TS issue that breaks things with the latest Node
types in reuest-utils.1 parent faeeb7b commit 22cc7ba
File tree
3 files changed
+9
-6
lines changed- src
- server
- util
3 files changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | | - | |
301 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
374 | 375 | | |
375 | 376 | | |
376 | 377 | | |
| |||
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
| 398 | + | |
| 399 | + | |
397 | 400 | | |
398 | 401 | | |
399 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments