aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_printf.h
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2020-05-21 13:10:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-27 08:16:35 +0200
commit3d44bfb08d4b230d2ad8b111469a8ae4c6957bca (patch)
tree1e42f4a2a6f1a47f0a530458a11d9a82b3436d8f /lib/curl_printf.h
parent18e63b1679248c9a884201871379bfd0b13fc3f3 (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 'lib/curl_printf.h')
0 files changed, 0 insertions, 0 deletions