swift/test
Christian Schwede 3cf71401be Increase httplib._MAXHEADERS
Python 2.7.9+ and 3.2.6+ limits the number of maximum headers in httplib to 100
[1,2,3]. This setting is too low for Swift.

By default the maximum number of allowed headers depends on the number of max
allowed metadata settings plus a default value of 32 for regular http headers.
If for some reason this is not enough (custom middleware for example) it can be
increased with the extra_header_count constraint.

[1] https://bugs.python.org/issue16037
[2] https://hg.python.org/cpython/raw-file/15c95b7d81dc/Misc/NEWS
[3] https://hg.python.org/cpython/raw-file/v3.2.6/Misc/NEWS

Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
Co-Authored-By: Matthew Oliver <matt@oliver.net.au>
Co-Authored-By: Thomas Herve <therve@redhat.com>

Cherry picked from commit edfca861b6

Conflicts:
	swift/common/constraints.py
	test/functional/__init__.py
	test/functional/swift_test_client.py
	test/unit/proxy/test_server.py

Change-Id: I388fd697ec88476024b0e9f1ae75ba35ff765282
2015-07-01 14:39:29 +02:00
..
functional Increase httplib._MAXHEADERS 2015-07-01 14:39:29 +02:00
probe Enable object system metadata on PUTs 2014-08-01 16:41:33 -07:00
unit Increase httplib._MAXHEADERS 2015-07-01 14:39:29 +02:00
__init__.py In-process swift server for functional tests 2014-04-29 08:45:11 -04:00
sample.conf Fixes several typos (Swift) 2014-09-18 21:18:50 -07:00