![]() |
Using BaseHTTPServer to encounter system blocking - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: Using BaseHTTPServer to encounter system blocking (/thread-24808.html) |
Using BaseHTTPServer to encounter system blocking - zzs027 - Mar-05-2020 BaseHTTPServer encounter system blocking I write my code to process the http requests using Post method like this def do_POST(self): t1 = time.time() mpath, margs = urllib.request.splitquery(self.path) datas = self.rfile.read(int(self.headers['content-length']))then I find that system call was blocked when receiving connection request I used strace command, it show used gdb, it show How to solve this problem
|