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, 23 Mar 2013 22:21:17 +0000

- **status**: open --> closed-fixed

---
** [bugs:#1204] Response headers added by proxy servers missing in CURLINFO_HEADER_SIZE**
**Status:** closed-fixed
**Created:** Thu Mar 07, 2013 10:58 PM UTC by Daniel Stenberg
**Last Updated:** Sat Mar 16, 2013 09:57 PM UTC
**Owner:** Daniel Stenberg
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-23

These mail archives are generated by hypermail.

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

File upload with ASP.NET