Disable process_result on websocket requests
This commit is contained in:
parent
53a6063576
commit
19f003141b
1 changed files with 5 additions and 0 deletions
|
@ -254,3 +254,8 @@ class WebSocketHandler(WSGIHandler):
|
||||||
finally:
|
finally:
|
||||||
self.time_finish = time.time()
|
self.time_finish = time.time()
|
||||||
self.log_request()
|
self.log_request()
|
||||||
|
|
||||||
|
|
||||||
|
def process_result(self):
|
||||||
|
if "wsgi.websocket" not in self.environ:
|
||||||
|
super(WebSocketHandler, self).process_result()
|
||||||
|
|
Loading…
Reference in a new issue