Re: polipo, dns, and firefox

Daniel Falk <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
Alan Jenkins wrote:
> On Sat, Jan 3, 2009 at 12:06 AM, Eric Radman <[email protected]> wrote:
>   
>> On 15:06 Fri 02 Jan     , Daniel Falk wrote:
>>     
>>> Hello,
>>>
>>> If I type in a single word in the Firefox address bar, normal behavior
>>> is for Firefox to automatically complete the url if the domain exists or
>>> do a search if it doesn't (Google's "I'm Feeling Lucky" by default).  I
>>> like this feature and have come to rely on it, however Polipo breaks
>>> it.  It appears to be due to the fact that Polipo won't report this as a
>>> non-existing domain.  So all I get is a generated page from Polipo
>>> instead.
>>>
>>> Is there a way to achieve the functionality I had previously?  If not,
>>> could something be put in to fix this?
>>>       
>> Does Firefox work the same way when using any other HTTP proxy? This
>> doesn't sound like a feature that a proxy inhibits or supports.
>>     
>
> The problem is in Firefox.  I didn't even realise Firefox supported
> this feature, I've used polipo for so long.
>
> The KDE browser Konqueror manages to do it when using polipo.
> Presumably it picks up on the distinct error code (504) that polipo
> returns for "host not found".
>
> Since you're interested, perhaps you could file a bug against Firefox.
>
> Thanks!
> Alan
>   
Ok, I went to go file a bug and I found the original bug report ( 
https://bugzilla.mozilla.org/show_bug.cgi?id=2875 ).  It is from 1998!

If it hasn't gotten fixed by now, it's not likely to.  But I think the 
main problem is that there is no clear resolution on how to fix it.  
Polipo returns a 504, and other proxies return different codes.  Is it 
impossible for a proxy to return a "host not found" DNS response instead 
of or in addition to an HTTP response?

Also: squid allows for a workaround in that you can configure the error 
page.  Thus, a custom error page can give a link to the "I'm Feeling 
Lucky" or whatever.  Polipo doesn't allow for this, does it?

Thanks!
Daniel


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.