File temp-hack-raise-header-size.diff of Package openstack-swift

--- swift/common/constraints.py
+++ swift/common/constraints.py
@@ -27,7 +27,7 @@
 MAX_META_VALUE_LENGTH = 256
 MAX_META_COUNT = 90
 MAX_META_OVERALL_SIZE = 4096
-MAX_HEADER_SIZE = 8192
+MAX_HEADER_SIZE = 32768
 MAX_OBJECT_NAME_LENGTH = 1024
 CONTAINER_LISTING_LIMIT = 10000
 ACCOUNT_LISTING_LIMIT = 10000
--- swift/common/wsgi.py
+++ swift/common/wsgi.py
@@ -41,7 +41,7 @@
     CloseableChain
 
 # Set maximum line size of message headers to be accepted.
-wsgi.MAX_HEADER_LINE = constraints.MAX_HEADER_SIZE
+wsgi.MAX_HEADER_LINE = 32768
 
 try:
     import multiprocessing
openSUSE Build Service is sponsored by