jmuehlner commented on code in PR #746:
URL: https://github.com/apache/guacamole-client/pull/746#discussion_r930373779
##########
guacamole/src/main/java/org/apache/guacamole/tunnel/InputStreamInterceptingFilter.java:
##########
@@ -112,9 +112,8 @@ private void readNextBlob(InterceptedStream<InputStream>
stream) {
// End stream if no more data
if (length == -1) {
- // Close stream, send end if the stream is still valid
- if (closeInterceptedStream(stream))
- sendEnd(stream.getIndex());
+ // Close stream
+ closeInterceptedStream(stream);
Review Comment:
Ah gotcha. One of the reasons that I brought this up is that the block
comment for this function still specifies that the an "end" instruction will
automatically be sent if the end of the InputStream is reached, which is no
longer correct. The comment should be updated accordingly.
--
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]