Message161931
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() ? |
|
Date |
User |
Action |
Args |
2012-05-30 06:43:22 | Fan.Li | set | recipients:
+ Fan.Li |
2012-05-30 06:43:22 | Fan.Li | set | messageid: <1338360202.75.0.403756763766.issue14960@psf.upfronthosting.co.za> |
2012-05-30 06:43:22 | Fan.Li | link | issue14960 messages |
2012-05-30 06:43:21 | Fan.Li | create | |
|