diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2020-05-21 13:10:04 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-27 08:16:35 +0200 |
commit | 3d44bfb08d4b230d2ad8b111469a8ae4c6957bca (patch) | |
tree | 1e42f4a2a6f1a47f0a530458a11d9a82b3436d8f /src | |
parent | 18e63b1679248c9a884201871379bfd0b13fc3f3 (diff) |
transfer: close connection after excess data has been read
For HTTP 1.x, it's a protocol error when the server sends more bytes
than announced. If this happens, don't reuse the connection, because the
start position of the next response is undefined.
Closes #5440
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions