From owner-freebsd-gnome Wed Jul 24 22:23:18 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1731437B400 for ; Wed, 24 Jul 2002 22:23:16 -0700 (PDT) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.5.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAC2743E88 for ; Wed, 24 Jul 2002 22:23:15 -0700 (PDT) (envelope-from agapon@excite.com) Received: from edge.foundation.invalid (ool-182f9041.dyn.optonline.net [24.47.144.65]) by mta1.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 0.3 (built May 13 2002)) with ESMTP id <0GZS006RXHNN4A@mta1.srv.hcvlny.cv.net> for gnome@freebsd.org; Thu, 25 Jul 2002 01:23:48 -0400 (EDT) Received: from localhost.foundation.invalid (localhost.foundation.invalid [127.0.0.1]) by edge.foundation.invalid (8.12.3/8.12.3) with ESMTP id g6P5N6q5096524 for ; Thu, 25 Jul 2002 01:23:07 -0400 (EDT envelope-from agapon@excite.com) Date: Thu, 25 Jul 2002 01:23:06 -0400 (EDT) From: Andriy Gapon Subject: serialized dns lookups in mozilla (follow-up) X-X-Sender: avg@edge.foundation.invalid To: gnome@freebsd.org Message-id: <20020725011632.O96436-100000@edge.foundation.invalid> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Guys, my bad, besides the patch another thing should be done. Sorry that this is not a patch, just a description: configure in nsprpub/ should be changed to define _PR_HAVE_THREADSAFE_GETHOST for FreeBSD. I'm pertty much sure that FreeBSD pthreads (libc_r) has threadsafe versions of gethost*(), but without this macro it is assumed that they are not threadsafe and so all requests are serialized by mutex which totally defeats the purpose of dns resolving in parallel. -- Andriy Gapon * "I don't mind going nowhere as long as it's an interesting path." (c) Ronald Mabbitt ---------- Forwarded message ---------- Date: Wed, 24 Jul 2002 22:14:26 -0400 (EDT) From: Andriy Gapon To: gnome@freebsd.org Subject: serialized dns lookups in mozilla Guys, this is a really annoying feature/bug of Mozilla, probably those of you who use it a lot, encountered it more than once -- if you try to open something that has a "bad" name (like lame or very slow dns servers), mozilla blocks until it gets a response or a timeout, meanwhile you can not open any URLs with names in any window. Looks like there is a patch for that, but mozilla folks seem to be swamped with other work or to have just forgot about it. http://bugzilla.mozilla.org/show_bug.cgi?id=70213 especially comment #13 Could you please take a look at it and see if we can use it in the port. Thank you. -- Andriy Gapon * "I don't mind going nowhere as long as it's an interesting path." (c) Ronald Mabbitt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message