Commit 00edb2f
Jordan Pittier
TLS proxy: disable HTTP KeepAlive
There's a race condition when a client makes a request "at the same
time" the HTTP connection is being closed by Apache because the
`KeepAliveTimeout` is expired.
This is explained in detail and can be reproduce using
https://github.com/mikem23/keepalive-race or
https://github.com/JordanP/openstack-snippets/blob/master/keepalive-race/keep-alive-race.py
Just disable KeepAlive to fix the
('Connection aborted.', BadStatusLine("''",)) error we are seeing.
Change-Id: I46e9f70ee740ec7996c98d386d5289c1491e9436
(cherry picked from commit 4370925)1 parent c1921f7 commit 00edb2f
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
522 | 526 | | |
523 | 527 | | |
524 | 528 | | |
| |||
0 commit comments