HTTP response is "Connection: close"

Fabian Keil freebsd-listen at fabiankeil.de
Sun Jun 24 10:20:09 UTC 2007


"Got Glint" <tlu0de302 at sneakemail.com> wrote:

> Sometimes when I perform an HTTP request via Tor, the response is
> "Connection: close" rather than the expected content. This happens
> intermittently, and with various sites. Does anyone know what causes
> this problem, and whether anything can be done about it? It's been
> annoying me for quite a while.
> 
> I've experienced the issue with at least two clients: Opera and Wget.
> They both interpret the response body as a 21-byte string consisting of
> "Connection: close\r\n\r\n". Also, Wget says "200 No headers, assuming
> HTTP/0.9".
> 
> Current software versions: Tor 0.1.2.14, Privoxy 3.0.6, Windows XP SP2.

This can happen with Privoxy versions before 3.0.7 and a server or
proxy before Privoxy that simply sends nothing. You should be able
to reliable reproduce it by using Tor's .noconnect special host name
(although it's a slightly different case).

As far as Privoxy is concerned, this has been fixed in:
http://ijbswa.cvs.sourceforge.net/ijbswa/current/jcc.c?r1=1.118&r2=1.119

However, this of course only replaces the confusing "Connection: close"
string with a more reasonable problem description. The real problem
happens earlier in the proxy chain and you still have to retry manually.

Like Andrew, I assume the real problem is a malfunctioning
intercepting proxy on the exit node, so there's little you
can do about it.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20070624/568637da/attachment.pgp>


More information about the tor-talk mailing list