pvillard31 commented on code in PR #11642:
URL: https://github.com/apache/nifi/pull/11642#discussion_r3956092369


##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutUDP.java:
##########
@@ -55,6 +60,14 @@ public void onTrigger(final ProcessContext context, final 
ProcessSessionFactory
             return;
         }
 
+        if (flowFile.getSize() > MAX_IPV4_UDP_PAYLOAD_LENGTH) {

Review Comment:
   Should this limit account for the destination address family? IPv6 supports 
UDP payloads up to 65,527 bytes, so this check rejects some payloads that 
PutUDP can currently send to IPv6 destinations.



-- 
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