Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2009 18:51:00 +0100
From:      Anders Gavare <gavare@gmail.com>
To:        gecko@freebsd.org
Subject:   Re: timeout instead of connection refused (firefox 3.5.3 and 3.0.15)
Message-ID:  <1256925060.2179.17.camel@localhost>
In-Reply-To: <1256854389.2179.6.camel@localhost>
References:  <1256854389.2179.6.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Replying to myself:
> Firefox behaves very strangely. When connecting to 127.0.0.1, I expect
> an immediate Connection refused. That is where I route lots of ad/spam
> hosts using /etc/hosts. Instead of refusing the connection, Firefox
> waits forever. (I am assuming it will timeout, eventually.)

Just in case someone else runs into this bug, and is looking for a
temporary workaround: a hack/workaround to make Firefox behave normally
again is to change all 127.0.0.1 entries in /etc/hosts that have to do
with ad/spam host names to 127.0.0.2. (I.e. change everything except
localhost.)

(While telnet _immediately_ says Connection refused and Can't assign
requested address, respectively, for 127.0.0.1 and 127.0.0.2, Firefox
differs widely in timeouts for the two different addresses.)


Anders





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1256925060.2179.17.camel>