You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2023/10/04 00:50:58 UTC
[cxf] branch 3.6.x-fixes updated (19891027b3 -> 208eb4e3cb)
This is an automated email from the ASF dual-hosted git repository.
reta pushed a change to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
from 19891027b3 Recording .gitmergeinfo Changes
new 65fd67d7e3 CXF-8936: Ensure correct ConnectionFactory ordering in Jetty transport so that clients can negotiate h2 (#1454)
new 208eb4e3cb Recording .gitmergeinfo Changes
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitmergeinfo | 1 +
.../org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
[cxf] 01/02: CXF-8936: Ensure correct ConnectionFactory ordering in Jetty transport so that clients can negotiate h2 (#1454)
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 65fd67d7e3d9ad8ed211c1fdeca91c4e75d81149
Author: Huw <ma...@huw.org.uk>
AuthorDate: Wed Oct 4 01:32:22 2023 +0100
CXF-8936: Ensure correct ConnectionFactory ordering in Jetty transport so that clients can negotiate h2 (#1454)
(cherry picked from commit 202c5104380a1b9a49a5e84ead92e082ea5c7682)
# Conflicts:
# rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
---
.../org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
index 658f155e8a..201706ceb9 100644
--- a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
+++ b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
@@ -687,7 +687,6 @@ public class JettyHTTPServerEngine implements ServerEngine, HttpServerEngineSupp
result = new org.eclipse.jetty.server.ServerConnector(server);
if (tlsServerParameters != null) {
- connectionFactories.add(httpFactory);
httpConfig.addCustomizer(new SecureRequestCustomizer(tlsServerParameters.isSniHostCheck()));
if (isHttp2Enabled(bus)) {
@@ -716,7 +715,7 @@ public class JettyHTTPServerEngine implements ServerEngine, HttpServerEngineSupp
}
}
}
- if (connectionFactories.size() == 1) {
+ if (connectionFactories.isEmpty()) {
Constructor<SslConnectionFactory>[] cons
= ReflectionUtil.getDeclaredConstructors(SslConnectionFactory.class);
for (Constructor<SslConnectionFactory> c : cons) {
@@ -728,6 +727,9 @@ public class JettyHTTPServerEngine implements ServerEngine, HttpServerEngineSupp
}
}
}
+
+ // Ensure http/1.1 is last in the list so it is the lowest priority in ALPN
+ connectionFactories.add(httpFactory);
// Has to be set before the default protocol change
result.setConnectionFactories(connectionFactories);
[cxf] 02/02: Recording .gitmergeinfo Changes
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 208eb4e3cbdf99a6aae0658a47bc9f5eaa803669
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue Oct 3 20:38:19 2023 -0400
Recording .gitmergeinfo Changes
---
.gitmergeinfo | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitmergeinfo b/.gitmergeinfo
index d0f39edaa6..c647d3e051 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -252,6 +252,7 @@ M 1ee1c8fa5321a06d7814707c2e350742f34e92fb
M 1f62de8deb593a6e76514fb6e340b91afbaf493e
M 1f829190e583560ea4bf72ea0bc67ec277884c5e
M 1ff9472aed179c1dbb36c2cbfb96a742ade7c54e
+M 202c5104380a1b9a49a5e84ead92e082ea5c7682
M 2068929ab7277b8c1d9dcd5609838185f2e734e9
M 2083c29ed066576be424b99b57dfea9cdd90c581
M 21560e7fe9e377a50203bf333ec53ab6e68dc982