diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-06-15 12:45:07 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-06-15 13:38:51 +0200 |
commit | 99968cf75b46210bded1662d34c4c2b0ef07be04 (patch) | |
tree | 1684524a0513b6db39dcbe4e264ba70ea990f06e /test/thread-safety | |
parent | 90f2a7a0f66cfc259883490a5fcf40f7d0696cfe (diff) |
http: don't hang on redirect with length + connection close
Most servers who close the connection do not send a content-length as
this is redundant information usually, but some might and while testing
with our server and with 'aptwebserver::response-header::Connection' set
to 'close' I noticed that http hangs after a redirect in such cases, so
if we have the information, just use it instead of discarding it.
Diffstat (limited to 'test/thread-safety')
0 files changed, 0 insertions, 0 deletions