Commit 01cae01
committed
move the nginx HTTP2 bug workaround
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 01cae01
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
428 | 432 | | |
429 | 433 | | |
430 | 434 | | |
| |||
459 | 463 | | |
460 | 464 | | |
461 | 465 | | |
462 | | - | |
| 466 | + | |
463 | 467 | | |
464 | 468 | | |
465 | 469 | | |
| |||
470 | 474 | | |
471 | 475 | | |
472 | 476 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| |||
0 commit comments