Jamie Mark Goodyear created CXF-9059:
----------------------------------------

             Summary: HttpConduit should flush output stream ahead of closing 
connections when HttpClient is autocloseable
                 Key: CXF-9059
                 URL: https://issues.apache.org/jira/browse/CXF-9059
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS
    Affects Versions: 4.1.0
            Reporter: Jamie Mark Goodyear
             Fix For: 4.1.0


HttpConduit should flush output stream ahead of closing connections when 
HttpClient is autocloseable.

When running WebClient in a load test (single host) we'll observe low 
throughput.

When we adjust the HttpConduit to flush output stream ahead of connection 
close, we observe significant throughput improvement. 

Given this appears to affect just autocloseable HttpClient, we select to flush 
the output stead only when the JVM provides the autocloseable HttpClient 
variety.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to