Skip to content

Commit 428a27b

Browse files
committed
remove unused if clause
1 parent 9ea00e7 commit 428a27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/robaho/net/httpserver/FixedLengthOutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void close() throws IOException {
9090
// if after reading the rest of the known input for this request, there is
9191
// more input available, http pipelining is in effect, so avoid flush, since
9292
// it will be flushed after processing the next request
93-
if(remaining==0 && is.getRawInputStream().available()==0) {
93+
if(is.getRawInputStream().available()==0) {
9494
flush();
9595
}
9696

0 commit comments

Comments
 (0)