Skip to content

Commit

Permalink
allow large URL in HTTP request. Request from neutron plugin to api s…
Browse files Browse the repository at this point in the history
…erver is not over haproxy interface.

Change-Id: Ic4ad47f271f1c4b0683d1fdf2b9adb2f0b681584
  • Loading branch information
bailkeri committed Feb 4, 2015
1 parent 37a9aa0 commit 1085c9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config/api-server/vnc_cfg_api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
monkey.patch_all()
from gevent import hub

# from neutron plugin to api server, the request URL could be large. fix the const
import gevent.pywsgi
gevent.pywsgi.MAX_REQUEST_LINE = 65535

import sys
reload(sys)
sys.setdefaultencoding('UTF8')
Expand Down

0 comments on commit 1085c9a

Please sign in to comment.