[jira] [Commented] (CXF-8914) No content-length header after upgrade CXF from 3.5.6 to 3.6.1

2023-09-19 Thread Jira


[ 
https://issues.apache.org/jira/browse/CXF-8914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766776#comment-17766776
 ] 

Stephan Näcker commented on CXF-8914:
-

Hi [~dkulp], thanks for that further option. I think, I will try it.

> No content-length header after upgrade CXF from 3.5.6 to 3.6.1
> --
>
> Key: CXF-8914
> URL: https://issues.apache.org/jira/browse/CXF-8914
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.6.1
> Environment: SpringBoot 2.7.13
>Reporter: Stephan Näcker
>Priority: Major
> Fix For: 3.6.2, 4.0.3
>
>
> After updating the CXF dependency in our application from 3.5.6 to 3.6.1 it 
> does not add a content-length header anymore, when doing a multipart request 
> for a file upload.
> I didn't find any information, how to let CXF set the header. Is it just 
> dependent of chunking?
> Actually the application sets "allow chunking" to false. But I'm not sure, 
> how I can test, if this really works.
> Thanks in advance for your help.



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


[jira] [Commented] (CXF-8930) Example showing enabling HTTPS programmatically through code.

2023-09-19 Thread Colm O hEigeartaigh (Jira)


[ 
https://issues.apache.org/jira/browse/CXF-8930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766830#comment-17766830
 ] 

Colm O hEigeartaigh commented on CXF-8930:
--

This might be what you want? 
[https://github.com/apache/cxf/blob/2b8a745b4087609166c3fcfa8946da1adca16d76/systests/transports/src/test/java/org/apache/cxf/systest/https/trust/TrustServerNoSpring.java#L4]

 

> Example showing enabling HTTPS programmatically through code.
> -
>
> Key: CXF-8930
> URL: https://issues.apache.org/jira/browse/CXF-8930
> Project: CXF
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 3.3.13
>Reporter: George McCone
>Priority: Minor
>
> In our system, we dynamically standup multiple Endpoints programmatically and 
> do not use any of the bean xml configuration.
> We have been successfully using CXF for open HTTP enpoints, but recently have 
> been switching over to HTTPS. 
> All the documentation and examples we can find in the [Apache CXF -- Jetty 
> Configuration|https://cxf.apache.org/docs/jetty-configuration.html] and 
> examples at 
> [wsdl_first_https|https://github.com/apache/cxf/blob/main/distribution/src/main/release/samples/wsdl_first_https/src/main/java/demo/hw_https/server/Server.java]
>  are all using spring configuration files.
> Looking to have an example that shows HTTPS configuration without the use of 
> any external configuration files.



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


[jira] [Created] (CXF-8931) HttpClientHTTPConduit doesn't work with HTTPClientPolicy.setAllowChunking(false)

2023-09-19 Thread Jim Ma (Jira)
Jim Ma created CXF-8931:
---

 Summary: HttpClientHTTPConduit doesn't work with 
HTTPClientPolicy.setAllowChunking(false)
 Key: CXF-8931
 URL: https://issues.apache.org/jira/browse/CXF-8931
 Project: CXF
  Issue Type: Bug
Reporter: Jim Ma
Assignee: Jim Ma


This works with URLConnectionHttpConduit, but this doesn't work with the new 
HttpClientHTTPConduit.

 



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


[jira] [Updated] (CXF-8931) HttpClientHTTPConduit can't disable the http chunk mode

2023-09-19 Thread Jim Ma (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jim Ma updated CXF-8931:

Summary: HttpClientHTTPConduit can't disable the http chunk mode  (was: 
HttpClientHTTPConduit doesn't work with 
HTTPClientPolicy.setAllowChunking(false))

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



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


[jira] [Updated] (CXF-8931) HttpClientHTTPConduit can't disable the http chunk mode

2023-09-19 Thread Jim Ma (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jim Ma updated CXF-8931:

Description: 
This works with URLConnectionHttpConduit, but this doesn't work with the new 
HttpClientHTTPConduit. When set the HttpClientPolicy.setAllowChunking(false)

 

  was:
This works with URLConnectionHttpConduit, but this doesn't work with the new 
HttpClientHTTPConduit.

 


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