HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:52

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  
 
PostPosted: 13 Jul 2008 22:50 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
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  
 
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  
 
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: Google [Bot], Yahoo [Bot] and 2 guests


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:  
Powered by phpBB® Forum Software © phpBB Group