Project

Profile

Help

Story #6460

closed

As a user, I have a setting I can use to increase the accepted header size for pulpcore-content

Added by bmbouter almost 4 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/1911":https://github.com/pulp/pulpcore/issues/1911


Ticket moved to GitHub: "pulp/pulpcore/1880":https://github.com/pulp/pulpcore/issues/1880


Problem

Users of pulp-certguard need a way to accept larger header at the pulpcore-content app. In practice the aiohttp default of 8190 bytes is too small for the headers Katello wants to use for example.

Solution

Add an optional setting named MAX_HEADER_SIZE which defaults to None. It accepts integer values in bytes that should be allowed. So for example, to specify a maximum header size of 16380 you would use dynaconf to set the value:

MAX_HEADER_SIZE = 16380.


Related issues

Blocked by Pulp - Task #6397: Port content app aiohttp internals to use AppRunnerCLOSED - DUPLICATE

Actions

Also available in: Atom PDF