New submission from Fan Li <m4.li...@gmail.com>: 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() ? ---------- components: Library (Lib) messages: 161931 nosy: Fan.Li priority: normal severity: normal status: open title: about the slowly HTTPServer type: enhancement versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14960> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com