[ https://issues.apache.org/jira/browse/CXF-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17870201#comment-17870201 ]
John Tal edited comment on CXF-8931 at 8/1/24 2:05 PM: ------------------------------------------------------- I'm looking at this test case in the cxf project, org.apache.cxf.transport.http.policy.ClientPolicyCalculatorTest, it has this import: import org.apache.cxf.transports.http.configuration.HTTPClientPolicy; But that class is nowhere in the cxf project. How can that be? Note: transport versus transports in these two imports in this class (branch 3.6 fixes) import org.apache.cxf.{*}transport{*}.http.policy.impl.ClientPolicyCalculator; import org.apache.cxf.{*}transports{*}.http.configuration.HTTPClientPolicy; <-- where is this class ? in what project I'm also reading this [https://cxf.apache.org/docs/client-http-transport-including-ssl-support.html] h1. Default Client Transport Prior to Apache CXF 3.6.0 / 4.0.1, the default HTTP client transport was {*}URLConnectionHTTPConduit{*}, that is built on top of {*}[java.net|http://java.net/].{*}{*}HttpURLConnection{*} / {*}[javax.net|http://javax.net/].ssl.{*}{*}HttpsURLConnection{*} (JDK standard library). Past these releases, the default HTTP client transport has become *HttpClientHTTPConduit* that is using *[java.net|http://java.net/].http.HttpClient* under the hood (see please [JEP 321: HTTP Client|https://openjdk.org/jeps/321]). These are pretty important notes. Are these included as .md files in the github cxf project somewhere? was (Author: JIRAUSER303766): I'm looking at this test case in the cxf project, org.apache.cxf.transport.http.policy.ClientPolicyCalculatorTest, it has this import: import org.apache.cxf.transports.http.configuration.HTTPClientPolicy; But that class is nowhere in the cxf project. How can that be? I'm also reading this [https://cxf.apache.org/docs/client-http-transport-including-ssl-support.html] h1. Default Client Transport Prior to Apache CXF 3.6.0 / 4.0.1, the default HTTP client transport was {*}URLConnectionHTTPConduit{*}, that is built on top of {*}[java.net|http://java.net/].{*}{*}HttpURLConnection{*} / {*}[javax.net|http://javax.net/].ssl.{*}{*}HttpsURLConnection{*} (JDK standard library). Past these releases, the default HTTP client transport has become *HttpClientHTTPConduit* that is using *[java.net|http://java.net/].http.HttpClient* under the hood (see please [JEP 321: HTTP Client|https://openjdk.org/jeps/321]). These are pretty important notes. Are these included as .md files in the github cxf project somewhere? > HttpClientHTTPConduit can't disable the http chunk mode > ------------------------------------------------------- > > Key: CXF-8931 > URL: https://issues.apache.org/jira/browse/CXF-8931 > Project: CXF > Issue Type: Bug > Reporter: Jim Ma > Assignee: Jim Ma > Priority: Major > > This works with URLConnectionHttpConduit, but this doesn't work with the new > HttpClientHTTPConduit. When set the HttpClientPolicy.setAllowChunking(false) > -- This message was sent by Atlassian Jira (v8.20.10#820010)