app doesn't timeout properly ?

Yassine Chaouche yacinechaouche at
Wed Apr 15 14:30:21 CEST 2015

Here's a traceback I generated by catching a SIGINT and printing an exception : 

Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 295, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/", line 321, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/", line 649, in __init__
  File "/usr/lib/python2.7/wsgiref/", line 116, in handle
    self.raw_requestline = self.rfile.readline()
  File "/usr/lib/python2.7/", line 447, in readline
    data = self._sock.recv(self._rbufsize)

Last line shows where the app was when the SIGINT happened, same's readline function.

More information about the Python-list mailing list