Update Tornado, adapt CustomHTTPServer to new usage
This commit is contained in:
parent
87d65c150b
commit
fbb881bb42
2 changed files with 4 additions and 2 deletions
2
setup.py
2
setup.py
|
|
@ -16,7 +16,7 @@ import octoprint_setuptools
|
|||
INSTALL_REQUIRES = [
|
||||
"flask>=0.11,<0.12",
|
||||
"werkzeug>=0.11.1,<0.12",
|
||||
"tornado>=4.0.2,<4.1",
|
||||
"tornado>=4.4.2,<4.5",
|
||||
"sockjs-tornado>=1.0.2,<1.1",
|
||||
"PyYAML>=3.10,<3.11",
|
||||
"Flask-Login>=0.3,<0.4",
|
||||
|
|
|
|||
|
|
@ -672,8 +672,10 @@ class CustomHTTPServer(tornado.httpserver.HTTPServer):
|
|||
|
||||
``default_max_body_size`` is the default maximum body size to apply if no specific one from ``max_body_sizes`` matches.
|
||||
"""
|
||||
def __init__(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
def __init__(self, request_callback, no_keep_alive=False, io_loop=None,
|
||||
def initialize(self, request_callback, no_keep_alive=False, io_loop=None,
|
||||
xheaders=False, ssl_options=None, protocol=None,
|
||||
decompress_request=False,
|
||||
chunk_size=None, max_header_size=None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue