.BANCHO. .FIX. Remove all self.finish() in handlers
This commit is contained in:
parent
fa3e82be98
commit
2be7fbf5c8
|
@ -30,6 +30,7 @@ class handler(requestHelper.asyncRequestHandler):
|
|||
data["status"] = statusCode
|
||||
|
||||
# Send response
|
||||
self.clear()
|
||||
#self.clear()
|
||||
self.write(json.dumps(data))
|
||||
self.set_status(statusCode)
|
||||
self.finish(json.dumps(data))
|
||||
#self.finish(json.dumps(data))
|
||||
|
|
|
@ -18,6 +18,7 @@ class handler(requestHelper.asyncRequestHandler):
|
|||
data["status"] = statusCode
|
||||
|
||||
# Send response
|
||||
self.clear()
|
||||
#self.clear()
|
||||
self.write(json.dumps(data))
|
||||
self.set_status(statusCode)
|
||||
self.finish(json.dumps(data))
|
||||
#self.finish(json.dumps(data))
|
||||
|
|
|
@ -18,6 +18,7 @@ class handler(requestHelper.asyncRequestHandler):
|
|||
data["status"] = statusCode
|
||||
|
||||
# Send response
|
||||
self.clear()
|
||||
#self.clear()
|
||||
self.write(json.dump(data))
|
||||
self.set_status(statusCode)
|
||||
self.finish(json.dumps(data))
|
||||
#self.finish(json.dumps(data))
|
||||
|
|
|
@ -33,6 +33,7 @@ class handler(requestHelper.asyncRequestHandler):
|
|||
data["status"] = statusCode
|
||||
|
||||
# Send response
|
||||
self.clear()
|
||||
#self.clear()
|
||||
self.write(json.dumps(data))
|
||||
self.set_status(statusCode)
|
||||
self.finish(json.dumps(data))
|
||||
#self.finish(json.dumps(data))
|
||||
|
|
|
@ -242,4 +242,4 @@ class handler(SentryMixin, requestHelper.asyncRequestHandler):
|
|||
html += "</marquee><br><strike>reverse engineering a protocol impossible to reverse engineer since always</strike><br>we are actually reverse engineering bancho successfully. for the third time.</pre></body></html>"
|
||||
self.write(html)
|
||||
#yield tornado.gen.Task(self.captureMessage, "test")
|
||||
self.finish()
|
||||
#self.finish()
|
||||
|
|
Loading…
Reference in New Issue
Block a user