Issue 14960: about the slowly HTTPServer (original) (raw)
first, i'm sorry about my english.
when i test the HTTPServer lib local, it's fast. but when i run the test script on another PC, i found it very slow, response for a request cost about 4s.
then, i walk into the source about HTTPServer and found an function which just print some infomation about the request like this: xxx.xxx.xxx.xxx - 'GET /path/xxx.xxx' 200
i cost 4s long!! just because it call a function name getfqdn(), it's very slow to do this.
then i overwrite the BaseHttpRequest.log_message, problem solved.
may be you can remove the function getfqdn() ?