[Web-SIG] Fwd: wsgiref.simple_server slow on slow network
William Dode
wilk at flibuste.net
Wed Jul 23 23:06:13 CEST 2008
On 23-07-2008, Tibor Arpas wrote:
> Reverse DNS lookup is THE reason. Thank you very much Irmen. I put my
> remote computer into windows/system32/drivers/etc/hosts and the
> problem disapeared. The DNS name is indeed in the log which is written
> to the console. Thanks again.
>
> Is there a way to disable the reverse DNS lookup in the
> wsgiref.simple_server? Quick googling didn't reveal much.
I had this kind of problem on windows, try this :
def getfqdn(name=''):
return name
import socket
socket.getfqdn=getfqdn
--
William Dodé - http://flibuste.net
Informaticien indépendant
More information about the Web-SIG
mailing list