an intriguing wifi http server mystery...please help

Paul Boddie paul at boddie.org.uk
Fri Dec 2 10:03:00 EST 2005


joj... at gmail.com wrote:
> Could the above server-speed assymetry that i spoke of above be caused
> by this reverse dns lookup?

I think so. You stated that you use "a fairly simple HTTP server",
although that's not exactly specific enough to diagnose the problem,
but if that were the standard library's BaseHTTPServer then reverse DNS
lookups could well be an issue: that particular server attempts to log
addresses, and in the address_string method there's a call to
socket.getfqdn which could invoke such reverse lookups.

Paul




More information about the Python-list mailing list