Commit e2dcd2e
committed
Use --insecure-http-parser to avoid issues with bad upstream responses
Previously, the server used the strict HTTP parser (introduced in Node
v12 I think?) which intentionally aggresively rejects responses that
don't strictly follow the rules, to avoid request smuggling. In our
case, we want to allow request smuggling: the response we forward should
*exactly* match the response we receive, wherever possible, even if the
response was stupid.1 parent 1da9f0b commit e2dcd2e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
367 | 370 | | |
368 | 371 | | |
369 | 372 | | |
| |||
0 commit comments