allow disabling keep alive

This commit is contained in:
Raphael Deem
2017-04-16 21:39:18 -07:00
parent f6d4a06661
commit 5ddb0488f2
3 changed files with 15 additions and 8 deletions

View File

@@ -679,6 +679,7 @@ class Sanic:
'error_handler': self.error_handler,
'request_timeout': self.config.REQUEST_TIMEOUT,
'request_max_size': self.config.REQUEST_MAX_SIZE,
'no_keep_alive': self.config.NO_KEEP_ALIVE,
'loop': loop,
'register_sys_signals': register_sys_signals,
'backlog': backlog