HTTP Anti-Virus Proxy

Official HAVP Support Forum
It is currently 03 Sep 2010 05:02

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Chunked Header Misread
PostPosted: 13 Jul 2008 04:19 
Offline

Joined: 13 Jul 2008 04:13
Posts: 3
Certain URLs are inaccessible, i.e. when visiting

http://www.msnbc.msn.com/id/25640691/&GT1=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


Top
 Profile E-mail  
 
 Post subject: Re: Chunked Header Misread
PostPosted: 13 Jul 2008 22:50 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 663
Location: Finland
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;


Top
 Profile E-mail  
 
 Post subject: Re: Chunked Header Misread
PostPosted: 15 Jul 2008 05:20 
Offline

Joined: 13 Jul 2008 04:13
Posts: 3
Great, this appears to have resolved the issue.

Thanks
-JASON


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group