Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
4.0.2
-
None
-
Unknown
Description
From CXF 4.0.1, without the force http version with
((BindingProvider)port).getRequestContext().put("org.apache.cxf.transport.http.forceVersion", "1.1"),
The http client sends request with strange headers :
POST /jaxws-securityDomain2/authz HTTP/1.1 Connection: Upgrade, HTTP2-Settings Content-Length: 207 Host: 127.0.0.1:23088 HTTP2-Settings: AAEAAEAAAAIAAAABAAMAAABkAAQBAAAAAAUAAEAA Upgrade: h2c Accept: */* Content-Type: text/xml; charset=UTF-8 SOAPAction: "" User-Agent: Apache-CXF/4.0.1
This works in CXF 4.0.0 and this commit seems introduce issue:
https://github.com/apache/cxf/commit/9b36a4bc996615e0ed02795c74167586a2bb11df
If force the HTTP/1.1 with property : org.apache.cxf.transport.http.forceVersion , it works. But this is a backward compatible issue and we should still support HTTP/1.1 by default.
Attachments
Issue Links
- is related to
-
CXF-8906 Upgrade, HTTP2-Settings - Apache-CXF/3.6.1
- Closed
- links to