summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keystone/common/environment/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/keystone/common/environment/__init__.py b/keystone/common/environment/__init__.py
index ac93e24f..2993536a 100644
--- a/keystone/common/environment/__init__.py
+++ b/keystone/common/environment/__init__.py
@@ -59,6 +59,9 @@ def use_eventlet(monkeypatch_thread=None):
if monkeypatch_thread is None:
monkeypatch_thread = not os.getenv('STANDARD_THREADS')
+ # Raise the default from 8192 to accommodate large tokens
+ eventlet.wsgi.MAX_HEADER_LINE = 16384
+
eventlet.patcher.monkey_patch(all=False, socket=True, time=True,
thread=monkeypatch_thread)