ysbaddaden / prax

Rack proxy server for development
http://ysbaddaden.github.io/prax/
Other
475 stars 49 forks source link

Add prax to front of resolver list #60

Closed suan closed 10 years ago

suan commented 10 years ago

May I suggest defaulting to have resolve prax first? On my very vanilla Debian Wheezy VM prax regularly takes more than 5 seconds to resolve, and it's just painful. Putting it before regular DNS resolution doesn't seem to have any negative impacts on normal browsing.

ysbaddaden commented 10 years ago

Sure! I was afraid it would break everything. I think it fails sometimes (eg: geoip on Ubuntu), but it sure doesn't break everything.

Can we put it just before dns? That fixes the 5s resolve bug. And let's replace the information about the bug for a warning that if something is wrong, it may be related to the NSSwitch extension.

suan commented 10 years ago

Alright, I'll update the pr to put it in front of the DNS soon

Sent from my iPhone

On Jan 30, 2014, at 8:25 AM, Julien Portalier notifications@github.com wrote:

Sure! I was afraid it would break everything. I think it fails sometimes (eg: geoip on Ubuntu), but it sure doesn't break everything.

Can we put it just before dns? That fixes the 5s resolve bug. And let's replace the information about the bug for a warning that if something is wrong, it may be related to the NSSwitch extension.

— Reply to this email directly or view it on GitHub.

suan commented 10 years ago

Updated