diff options
author | cce <devnull@localhost> | 2007-03-29 23:08:13 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2007-03-29 23:08:13 +0000 |
commit | 0a91d7bab1d2b94a422c77cf0294b453090d3b4a (patch) | |
tree | d642d1bc9cc28cd2571e6f8778e9321592cfca74 /paste/httpserver.py | |
parent | 959b153edf2cb48b88f5fc39cf61d6dd5ed0d4aa (diff) | |
download | paste-0a91d7bab1d2b94a422c77cf0294b453090d3b4a.tar.gz |
- commeting out LimitedLengthFile
- making threadpool not be the default
Once issues with these can be fixed, we could restore LimitedLengthFile
and perhaps make threadpool the default
Diffstat (limited to 'paste/httpserver.py')
-rwxr-xr-x | paste/httpserver.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/paste/httpserver.py b/paste/httpserver.py index 48945db..4ac032a 100755 --- a/paste/httpserver.py +++ b/paste/httpserver.py @@ -196,7 +196,12 @@ class WSGIHandlerMixin: content_length = int(self.headers.get('Content-Length', '0')) except ValueError: content_length = 0 - rfile = LimitedLengthFile(rfile, content_length) + # + # @@: LimitedLengthFile is currently broken in connection + # with SSL (sporatic errors that are diffcult to trace, but + # ones that go away when you don't use LimitedLengthFile) + # + #rfile = LimitedLengthFile(rfile, content_length) remote_address = self.client_address[0] self.wsgi_environ = { @@ -1054,10 +1059,13 @@ class ServerExit(SystemExit): caught) """ +# @@: ThreadPool is currently broken, it shouldn't be the default till +# it is thoroughly tested. +# def serve(application, host=None, port=None, handler=None, ssl_pem=None, ssl_context=None, server_version=None, protocol_version=None, start_loop=True, daemon_threads=None, socket_timeout=None, - use_threadpool=True, threadpool_workers=10, + use_threadpool=False, threadpool_workers=10, threadpool_options=None): """ Serves your ``application`` over HTTP(S) via WSGI interface |