cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1204 Response headers added by proxy servers missing in CURLINFO_HEADER_SIZE

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sat, 16 Mar 2013 21:57:19 +0000

I'm working on fixing up the test suite to be able to test for this and verify both the bug and your fix.

---
** [bugs:#1204] Response headers added by proxy servers missing in CURLINFO_HEADER_SIZE**
**Status:** open
**Created:** Thu Mar 07, 2013 10:58 PM UTC by Daniel Stenberg
**Last Updated:** Thu Mar 07, 2013 10:58 PM UTC
**Owner:** nobody
See https://github.com/bagder/curl/pull/60
Often times proxy servers add their own headers (like HTTP/1.0 200 Connection established) to responses on their way back to the client. The size of these headers was not taken into account when calculating CURLINFO_HEADER_SIZE before the change from this pull request.
The problem can be reproduced quite easily using the test program from https://gist.github.com/mj/5102778. In our case the proxy server at proxy:8080 was the default Squid that ships with Debian stable.
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1204/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/prefs/>
Received on 2013-03-16

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET