Comment 20 for bug 1190149

Reviewed: https://review.openstack.org/66615
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=865243c16751e18e28b60ef03ecaada44c22cd13
Submitter: Jenkins
Branch: master

commit 865243c16751e18e28b60ef03ecaada44c22cd13
Author: Florent Flament <email address hidden>
Date: Tue Jan 14 15:58:38 2014 +0000

    Fix Error 400 Header Line Too Long

    Fix Error 400 Header Line Too Long when using Identity v3 PKI Tokens

    Uses swift.conf max_header_size option to set wsgi.MAX_HEADER_LINE,
    allowing the operator to customize this parameter.

    The default value has been let to 8192 to avoid unexpected
    configuration change on deployed platforms. The max_header_size option
    has to be increased (for example to 16384), to accomodate for large
    Identity v3 PKI tokens, including more than 7 catalog entries.

    The default max header line size of 8192 is exceeded in the following
    scenario:
    - Auth tokens generated by Keystone v3 API include the catalog.
    - Keystone's catalog contains more than 7 services.

    Similar fixes have been merged in other projects.

    Change-Id: Ia838b18331f57dfd02b9f71d4523d4059f38e600
    Closes-Bug: 1190149