Commit 89a243c7 authored by Denis Bilenko's avatar Denis Bilenko

pywsgi.py: do not log if the socket is set None (for websocket)

parent 1d57310e
......@@ -432,6 +432,7 @@ class WSGIHandler(object):
self.result.close()
self.wsgi_input._discard()
self.time_finish = time.time()
if self.socket is not None:
self.log_request()
def get_environ(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment