Merge "Setting default max_request_id_length to 64"

This commit is contained in:
Jenkins 2015-09-23 18:51:54 +00:00 committed by Gerrit Code Review
commit 240e8d8a37
2 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ Optional. Default: The number of CPUs available will be used by default.
Limits the maximum size of the x-openstack-request-id header which is
logged. Affects only if context middleware is configured in pipeline.
Optional. Default: ``0`` (Limited by max_header_line default: 16384)
Optional. Default: ``64`` (Limited by max_header_line default: 16384)
Configuring SSL Support
~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -38,7 +38,7 @@ context_opts = [
help=_('Allow unauthenticated users to access the API with '
'read-only privileges. This only applies when using '
'ContextMiddleware.')),
cfg.IntOpt('max_request_id_length', default=0,
cfg.IntOpt('max_request_id_length', default=64,
help=_('Limits request ID length.')),
]