arturobernalg commented on code in PR #744:
URL: 
https://github.com/apache/httpcomponents-core/pull/744#discussion_r4516779816


##########
httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/DefaultBHttpServerConnection.java:
##########
@@ -193,8 +194,17 @@ public void sendResponseEntity(final ClassicHttpResponse 
response)
             return;
         }
         final long len = 
this.outgoingContentStrategy.determineLength(response);
-        try (final OutputStream outStream = createContentOutputStream(len, 
this.outbuffer, socketHolder.getOutputStream(), entity.getTrailers())) {
+        final OutputStream outStream = createContentOutputStream(
+                len, this.outbuffer, socketHolder.getOutputStream(), 
entity.getTrailers());
+        boolean completed = false;

Review Comment:
   agree. done



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to