HTTP Anti-Virus Proxy http://havp.hege.li/forum/ |
|
Chunked Header Misread http://havp.hege.li/forum/viewtopic.php?f=3&t=374 |
Page 1 of 1 |
Author: | jasondalycan [ 13 Jul 2008 04:19 ] |
Post subject: | Chunked Header Misread |
Certain URLs are inaccessible, i.e. when visiting http://www.msnbc.msn.com/id/25640691/>1=43001 I get the following error: "Too large Chunked-header received (>256)" This issue pertains to HAVP 0.87 and 0.88. This issue does not exist with HAVP version 0.86 (i.e. the URLs are accessible when running this version of the proxy). -JASON |
Author: | hege [ 13 Jul 2008 22:50 ] |
Post subject: | Re: Chunked Header Misread |
It seems this broken IIS wants "Via:" header to behave properly. Without it, it sends: Content-Encoding: gzip Transfer-Encoding: chunked But it doesn't send it chunked, just the plain gzip data. You can set X_FORWARDED_FOR true (less privacy) or try this patch which sends plain Via: even when disabled. Code: --- connectiontobrowser.cpp 2008-02-13 06:34:48.000000000 +0200
+++ connectiontobrowser.cpp 2008-07-13 22:47:46.000000000 +0300 @@ -201,6 +201,10 @@ header += via; header += "\r\n"; } + else + { + header += "Via: 1.0 HAVP\r\n"; + } return header; |
Author: | jasondalycan [ 15 Jul 2008 05:20 ] |
Post subject: | Re: Chunked Header Misread |
Great, this appears to have resolved the issue. Thanks -JASON |
Page 1 of 1 | All times are UTC + 2 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |