Commit 74d17e5
authored
move the nginx HTTP2 bug workaround (#3239)
We remove the `host` header from the request if present because (some versions
of?) nginx have a known bug such that they can't handle `host` headers in HTTP/2
requests. However, the request interceptor, if present, may have its own
opinions about whether a `host` header should be set, and if it insists on
setting one we should honor that. So I've moved the workaround to run _before_
the interceptor is run.
Signed-off-by: Joel Dice <[email protected]>1 parent 4c36823 commit 74d17e5
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
428 | 436 | | |
429 | 437 | | |
430 | 438 | | |
| |||
459 | 467 | | |
460 | 468 | | |
461 | 469 | | |
462 | | - | |
| 470 | + | |
463 | 471 | | |
464 | 472 | | |
465 | 473 | | |
| |||
470 | 478 | | |
471 | 479 | | |
472 | 480 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | 481 | | |
478 | 482 | | |
479 | 483 | | |
| |||
0 commit comments