This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年05月30日 06:43 by Fan.Li, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg161931 - (view) | Author: Fan Li (Fan.Li) | Date: 2012年05月30日 06:43 | |
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() ? |
|||
| msg161932 - (view) | Author: Charles-François Natali (neologix) * (Python committer) | Date: 2012年05月30日 07:03 | |
It's actually a duplicate of #6085 (already fixed). Cheers! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:31 | admin | set | github: 59165 |
| 2012年05月30日 07:03:14 | neologix | set | status: open -> closed superseder: Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag nosy: + neologix messages: + msg161932 resolution: duplicate stage: resolved |
| 2012年05月30日 06:43:22 | Fan.Li | create | |