[ https://issues.apache.org/jira/browse/CXF-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873031#comment-17873031 ]
Andriy Redko commented on CXF-8931: ----------------------------------- > Which RFCs are in play here, is it RFC 2616, 4743 ? https://datatracker.ietf.org/doc/html/rfc2616#section-4.4 > When you say 'will be using chunked transfer encoding at the moment', isn't > it that you have the stream in CXF and can calculate the outbound size or ? AFAIK, it is not always possible to iterate over the stream repeatedly (to calculate outbound size, and than to send it over). > This is a change from previous behavior so we need to understand what > direction CXF is going. Could you please share a reproducer / test case (in terms of what server accepts and what client sends) so we could troubleshoot the difference in behavior? Thank you. > 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: Andriy Redko > Priority: Major > Fix For: 4.1.0, 3.6.5, 4.0.6 > > > 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)