.BANCHO. .HIDE. No keep alive rip server will explode 10/10

This commit is contained in:
Nyo 2016-06-16 12:40:24 +02:00
parent bc1c411595
commit 0ebb37366d

View File

@ -207,8 +207,8 @@ class handler(SentryMixin, requestHelper.asyncRequestHandler):
self.set_status(200)
self.add_header("cho-token", responseTokenString)
self.add_header("cho-protocol", "19")
self.add_header("Keep-Alive", "timeout=5, max=100")
self.add_header("Connection", "keep-alive")
#self.add_header("Keep-Alive", "timeout=5, max=100")
#self.add_header("Connection", "keep-alive")
self.add_header("Content-Type", "text/html; charset=UTF-8")
except:
log.error("Unknown error!\n```\n{}\n{}```".format(sys.exc_info(), traceback.format_exc()))