Skip to content

Instantly share code, notes, and snippets.

@smurugap
Created February 4, 2016 22:18
Show Gist options
  • Save smurugap/dd7d87915cf6e37d6afd to your computer and use it in GitHub Desktop.
Save smurugap/dd7d87915cf6e37d6afd to your computer and use it in GitHub Desktop.
neutron:
1) To allow long URI
root@b5s29:/usr/lib/python2.7/dist-packages# git diff
diff --git a/neutron/wsgi.py b/neutron/wsgi.py
index bd4b5e6..bf084a0 100644
--- a/neutron/wsgi.py
+++ b/neutron/wsgi.py
@@ -262,7 +262,8 @@ class Server(object):
max_size=self.num_threads,
log=loggers.WritableLogger(LOG),
keepalive=CONF.wsgi_keep_alive,
- socket_timeout=self.client_socket_timeout)
+ socket_timeout=self.client_socket_timeout,
+ url_length_limit=81920)
class Middleware(object):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment