Merge pull request #646 from r0fls/637

allow disabling keep alive
This commit is contained in:
Raphael Deem
2017-04-24 00:43:16 -07:00
committed by GitHub
4 changed files with 16 additions and 8 deletions

View File

@@ -680,6 +680,7 @@ class Sanic:
'error_handler': self.error_handler,
'request_timeout': self.config.REQUEST_TIMEOUT,
'request_max_size': self.config.REQUEST_MAX_SIZE,
'keep_alive': self.config.KEEP_ALIVE,
'loop': loop,
'register_sys_signals': register_sys_signals,
'backlog': backlog