You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2023/01/03 20:29:07 UTC

[GitHub] [nifi] mattyb149 commented on a diff in pull request #6820: NIFI-11023 Address socket communication instability between minifi pr…

mattyb149 commented on code in PR #6820:
URL: https://github.com/apache/nifi/pull/6820#discussion_r1060931583


##########
minifi/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-runtime/src/main/java/org/apache/nifi/minifi/bootstrap/BootstrapListener.java:
##########
@@ -291,7 +293,7 @@ private void writeDump(OutputStream out) {
     private void echoRequestCmd(String cmd, OutputStream out) {
         try {
             out.write((cmd + "\n").getBytes(StandardCharsets.UTF_8));
-            out.flush();
+            out.close();

Review Comment:
   Is it possible to lose this command if the buffer isn't flushed?



-- 
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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org