[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.
- [gnurl] 157/411: ftp: avoid risk of reading uninitialized integers, (continued)
- [gnurl] 157/411: ftp: avoid risk of reading uninitialized integers, gnunet, 2021/01/12
- [gnurl] 170/411: setopt: return CURLE_BAD_FUNCTION_ARGUMENT on bad argument, gnunet, 2021/01/12
- [gnurl] 185/411: strerror: honor Unicode API choice on Windows, gnunet, 2021/01/12
- [gnurl] 176/411: pingpong: remove a malloc per Curl_pp_vsendf call, gnunet, 2021/01/12
- [gnurl] 125/411: dynbuf: make sure Curl_dyn_tail() zero terminates, gnunet, 2021/01/12
- [gnurl] 144/411: tool_writeout: protect fputs() from NULL, gnunet, 2021/01/12
- [gnurl] 160/411: --help: strdup the category, gnunet, 2021/01/12
- [gnurl] 165/411: docs/MQTT: remove outdated paaragraphs, gnunet, 2021/01/12
- [gnurl] 175/411: symbian: drop support, gnunet, 2021/01/12
- [gnurl] 152/411: github: use new issue template feature, gnunet, 2021/01/12
- [gnurl] 171/411: http_proxy: do not count proxy headers in the header bytecount,
gnunet <=
- [gnurl] 166/411: cmake: remove scary warning, gnunet, 2021/01/12
- [gnurl] 151/411: urlapi: use more Curl_safefree, gnunet, 2021/01/12
- [gnurl] 135/411: curl: make checkpasswd use dynbuf, gnunet, 2021/01/12
- [gnurl] 77/411: llist: make it "struct Curl_llist", gnunet, 2021/01/12
- [gnurl] 186/411: ngtcp2: adapt to new NGTCP2_PROTO_VER_MAX define, gnunet, 2021/01/12
- [gnurl] 173/411: curl_krb5.h: rename from krb5.h, gnunet, 2021/01/12
- [gnurl] 127/411: curl: use curlx_dynbuf for realloc when loading config files, gnunet, 2021/01/12
- [gnurl] 129/411: test434: test -K use in a single line without newline, gnunet, 2021/01/12
- [gnurl] 184/411: imap: make imap_send use dynbuf for the send buffer management, gnunet, 2021/01/12
- [gnurl] 161/411: BUGS: convert document to markdown, gnunet, 2021/01/12