Cao,
The answer is "it depends".
Closing the stream will result in the connection being closed and not
reused for other requests. Making new connections can be expensive,
especially if SSL is used, plus new connections are often slower than old
connections as their flow control windows are not
Hi guys,
I kinda see this pattern frequently in Apache HttpClient
Please note that if response content is not fully consumed the
underlying connection cannot be safely re-used and will be shut down
and discarded by the connection manager.
Wondering it will be the same pattern need to apply
On 10/7/19 9:15 PM, Joakim Erdfelt wrote:
> I went ahead and added an example to the Embedded Jetty Cookbook.
>
> https://github.com/jetty-project/embedded-jetty-cookbook/blob/master/src/main/java/org/eclipse/jetty/cookbook/DelayedWebAppDeployExample.java
>
> That explains how to accomplish what