gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 171/411: http_proxy: do not count proxy headers in the header by


From: gnunet
Subject: [gnurl] 171/411: http_proxy: do not count proxy headers in the header bytecount
Date: Wed, 13 Jan 2021 01:19:46 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit e5803089a9dafcbf7f98730fefceb50872209817
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Tue Sep 22 08:49:48 2020 +0200

    http_proxy: do not count proxy headers in the header bytecount
    
    ... as that counter is subsequently used to detect if nothing was
    returned from the peer. This made curl return CURLE_OK when it should
    have returned CURLE_GOT_NOTHING.
    
    Fixes #5992
    Reported-by: Tom van der Woerdt
    Closes #5994
---
 lib/http_proxy.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index f188cbfc6..7c34d2064 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -425,7 +425,6 @@ static CURLcode CONNECT(struct connectdata *conn,
         }
 
         data->info.header_size += (long)perline;
-        data->req.headerbytecount += (long)perline;
 
         /* Newlines are CRLF, so the CR is ignored as the line isn't
            really terminated until the LF comes. Treat a following CR

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]