Merge "Deprecate ineffective [service:api] max_header_line"

This commit is contained in:
Zuul 2022-05-06 11:13:54 +00:00 committed by Gerrit Code Review
commit 6d3c377bd5
2 changed files with 11 additions and 0 deletions

View File

@ -46,6 +46,10 @@ API_OPTS = [
cfg.BoolOpt('enable_api_admin', default=False,
help='enable-api-admin'),
cfg.IntOpt('max_header_line', default=16384,
deprecated_for_removal=True,
deprecated_reason='This parameter has had no effect since '
'Train. Use [DEFAULT] max_header_line '
'instead.',
help="Maximum line size of message headers to be accepted. "
"max_header_line may need to be increased when using "
"large tokens (typically those generated by the "

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
The ``[service:api] max_header_line`` parameter has been deprecated. This
parameter has hd no effect since the Train release. Use
the ``[DEFAULT] max_header_line`` parameter of the ``oslo.service`` library
instead.