From owner-freebsd-gecko@FreeBSD.ORG Fri Oct 30 17:54:07 2009 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 112FF106566C for ; Fri, 30 Oct 2009 17:54:07 +0000 (UTC) (envelope-from gavare@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 977D78FC08 for ; Fri, 30 Oct 2009 17:54:06 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so295311eyd.9 for ; Fri, 30 Oct 2009 10:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=GTpHFoNqdKYf3R/uefmVip7Swod6BRbqbIntJNx9Ho4=; b=lanh83rwTjCb0soU4iPrEUs7NYHUZWSXHzu5yKTRhbTgQQfEhXOcxxjHeQaxSBMVfc 6PtFxUXWg5rnY4j7hdOuI3QraqH3gvgGMY5ClBCYcKeItkP2h4XTOhmewNkciNvYlDrJ CxJJBpwO2an45B4oxKOa4Hx/qEeXBntrZx+/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=RiU0FgK3fUnxsygfAgDsYijgNZnxjetrORFG53422ALlmu7upDIu7kAuJ71MNH3BfC k+OG1K47OhVNE+xqZc0lGXcYzf89QpCOHVM7GsqMwz+agnOMIfVkJOMlcextu5AlXm0H XZ8s0Ic54FRP0DrbVfXNx2TgJSWU+L2vAurH4= Received: by 10.211.158.8 with SMTP id k8mr4591684ebo.98.1256925245685; Fri, 30 Oct 2009 10:54:05 -0700 (PDT) Received: from ?192.168.1.4? (c83-254-48-111.bredband.comhem.se [83.254.48.111]) by mx.google.com with ESMTPS id 7sm2566621eyb.24.2009.10.30.10.54.04 (version=SSLv3 cipher=RC4-MD5); Fri, 30 Oct 2009 10:54:04 -0700 (PDT) From: Anders Gavare To: gecko@freebsd.org In-Reply-To: <1256854389.2179.6.camel@localhost> References: <1256854389.2179.6.camel@localhost> Content-Type: text/plain Date: Fri, 30 Oct 2009 18:51:00 +0100 Message-Id: <1256925060.2179.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: Re: timeout instead of connection refused (firefox 3.5.3 and 3.0.15) X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: anders@gavare.se List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2009 17:54:07 -0000 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