Esempio n. 1
0
 def setup(self):
     # If the client is unreachable for 5 seconds, close the connection
     self.timeout = 5
     BaseHTTPRequestHandler.setup(self)
Esempio n. 2
0
 def setup(self):
     BaseHTTPRequestHandler.setup(self)
     self.request.settimeout(5)
Esempio n. 3
0
 def setup(self):
     # If the client is unreachable for 5 seconds, close the connection
     self.timeout = 5
     BaseHTTPRequestHandler.setup(self)