summaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2021-01-10 19:01:08 -0500
committerJay Satiro <raysatiro@yahoo.com>2021-01-11 03:28:01 -0500
commit70af17911868618e43ec86a1d7782829bbe27bec (patch)
tree643af2ab863daedd614eaf86888aa14a8eff2250 /lib/connect.c
parent3375584a023c9a0ee62885849e5fdd039162cf33 (diff)
downloadcurl-70af17911868618e43ec86a1d7782829bbe27bec.tar.gz
http_proxy: Fix CONNECT chunked encoding race condition
- During the end-of-headers response phase do not mark the tunnel complete unless the response body was completely parsed/ignored. Prior to this change if the entirety of a CONNECT response with chunked encoding was not received by the time the final header was parsed then the connection would be marked done prematurely, before all the chunked data could be read in and ignored (since this is what we do with any CONNECT response body) and the connection could not be used. Bug: https://curl.se/mail/lib-2021-01/0033.html Reported-by: Fabian Keil Closes https://github.com/curl/curl/pull/6432
Diffstat (limited to 'lib/connect.c')
0 files changed, 0 insertions, 0 deletions