mattyb149 commented on a change in pull request #3253: NIFI-5938: Added ability 
to infer record schema on read from JsonTree…
URL: https://github.com/apache/nifi/pull/3253#discussion_r251514076
 
 

 ##########
 File path: 
nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/remote/io/socket/ssl/SSLSocketChannel.java
 ##########
 @@ -582,7 +583,12 @@ public int read(final byte[] buffer, final int offset, 
final int len) throws IOE
                     continue;
                 }
                 case CLOSED:
-                    throw new IOException("Channel is closed");
+                    copied = copyFromAppDataBuffer(buffer, offset, len);
 
 Review comment:
   Did something else sneak in here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to