mosermw commented on code in PR #9304:
URL: https://github.com/apache/nifi/pull/9304#discussion_r1774117077


##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java:
##########
@@ -380,7 +388,19 @@ synchronized void initializeServer(final ProcessContext 
context) throws Exceptio
         final String clientAuthValue = 
context.getProperty(CLIENT_AUTH).getValue();
         final Server server = createServer(context);
 
-        final StandardServerConnectorFactory serverConnectorFactory = new 
StandardServerConnectorFactory(server, port);
+        NiFiProperties nifiProperties = 
NiFiProperties.createBasicNiFiProperties(null);
+        int requestMaxHeaderSize = 
DataUnit.parseDataSize(nifiProperties.getWebMaxHeaderSize(), 
DataUnit.B).intValue();

Review Comment:
   lines removed by new commit



##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java:
##########
@@ -507,7 +515,19 @@ private ServerConnector createServerConnector(final Server 
server,
                                                   final ClientAuthentication 
clientAuthentication,
                                                   final HttpProtocolStrategy 
httpProtocolStrategy
     ) {
-        final StandardServerConnectorFactory serverConnectorFactory = new 
StandardServerConnectorFactory(server, port);
+        NiFiProperties nifiProperties = 
NiFiProperties.createBasicNiFiProperties(null);
+        int requestMaxHeaderSize = 
DataUnit.parseDataSize(nifiProperties.getWebMaxHeaderSize(), 
DataUnit.B).intValue();

Review Comment:
   lines removed by new commit



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to