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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]