From kfm-devel Wed May 05 16:03:43 2010 From: Harri Porten Date: Wed, 05 May 2010 16:03:43 +0000 To: kfm-devel Subject: Re: Konqueror and uri filter plugins... Message-Id: X-MARC-Message: https://marc.info/?l=kfm-devel&m=127307545519933 On Wed, 5 May 2010, Dawit A wrote: > While investigating bug #105931 (https://bugs.kde.org/show_bug.cgi?id=105931), > I run into two separate uri filter plugins that should have been combined into > one to begin with. The filters I am speaking of are kdebase/runtime/kurifilter- > plugins/localdomain and kdebase/runtime/kurilfilter-plugins/fixhost. Both of > these filter do a DNS query to filter the url. If both of them end up getting > executed, there can be up to 3 DNS queries when the user types a "short" url > like "foo" before the request ever gets to the networking (KIO) layer. By > combining the two, we can cut that down to 2 DNS queries at most. Plus the > fixup host filter plugin uses a deprecated class anyhow and that needs to be > addressed as well. > > Any objections to doing that ? If not, I guess I will put it in my long TODO > list to await its turn... Unless this breaks existing configurations (David will know;) I'd be all for it. I've been fighting with DNS problems often enough (like in QHostAddress) and there appreciate every reduction in the number of lookups. Harri.