Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently, the max header size for NiFi HTTP requests and responses is hardcoded to 16 KB. This can cause issues when using SPNEGO and other mechanisms that pass large headers to/from NiFi. This can be improved by externalizing the setting to nifi.properties so the user may configure it to the appropriate size.
The current setting is at https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/JettyServer.java#L112
Attachments
Issue Links
- fixes
-
NIFI-4202 Add setRequestHeaderSize to restrict incoming request headers
- Resolved
- links to