You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2024/10/19 10:10:37 UTC
(httpcomponents-core) branch 5.3.x updated (2f602d766 -> e892e585b)
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a change to branch 5.3.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
discard 2f602d766 Fix some nits
discard e92da1922 Updated release notes for HttpCore 5.3.1 release
new 9024f4623 Bug fix: allow `Host` headers in HTTP/2 request messages
new 5adc8a33f Updated release notes for HttpCore 5.3.1 release
new e892e585b Fix some nits
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (2f602d766)
\
N -- N -- N refs/heads/5.3.x (e892e585b)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 3 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:
RELEASE_NOTES.txt | 7 +++++--
.../org/apache/hc/core5/http2/protocol/H2RequestConformance.java | 1 -
.../org/apache/hc/core5/http2/protocol/TestH2Interceptors.java | 4 ++--
3 files changed, 7 insertions(+), 5 deletions(-)
(httpcomponents-core) 03/03: Fix some nits
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch 5.3.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
commit e892e585becd9b9015afcc696fb7742523bc9e49
Author: Gary Gregory <ga...@users.noreply.github.com>
AuthorDate: Fri Oct 18 17:12:15 2024 -0400
Fix some nits
---
RELEASE_NOTES.txt | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index 22d4ace7a..177150e77 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -9,19 +9,19 @@ non-default dynamic table sizes.
Change Log
-------------------
-* Bug fix: allow `Host` headers in HTTP/2 request messages.
+* Bug fix: Allow `Host` headers in HTTP/2 request messages.
Contributed by Oleg Kalnichevski <olegk at apache.org>
-* Bug fix: fixed the problem with the HTTP/1.1 async protocol handler incorrectly
- reporting its state as CLOSED immediately after its instantiation until #onConnect
- event has been triggered.
+* Bug fix: Fixed the HTTP/1.1 async protocol handler incorrectly reporting its state
+ as CLOSED immediately after its instantiation until the #onConnect event has been
+ triggered.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCORE-771: Ignore java.lang.UnsupportedOperationException when gracefully shutting
- classic SSL sockets for compatibility with Oracle JDK 1.8.
+ down classic SSL sockets for compatibility with Oracle JDK 1.8.
Contributed by Oleg Kalnichevski <olegk at apache.org>
-* Bug fix: HTTP/2 protocol handler fails to correctly notify the opposite endpoint when
+* Bug fix: HTTP/2 protocol handler fails to notify the opposite endpoint when correctly
using non-default dynamic table sizes.
Contributed by Brendan Thomas <brendan.thomas at adaptiva.com>
(httpcomponents-core) 02/03: Updated release notes for HttpCore 5.3.1 release
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch 5.3.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
commit 5adc8a33f8c9c39f1230ebe1fbe3254a3dedb713
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Fri Oct 18 19:01:38 2024 +0200
Updated release notes for HttpCore 5.3.1 release
---
RELEASE_NOTES.txt | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index 13d88258e..22d4ace7a 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -1,3 +1,38 @@
+Release 5.3.1
+------------------
+
+This is a maintenance release that corrects several defects found since 5.3 release
+including an HTTP/2 protocol handler failure to notify the opposite endpoint when using
+non-default dynamic table sizes.
+
+
+Change Log
+-------------------
+
+* Bug fix: allow `Host` headers in HTTP/2 request messages.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+* Bug fix: fixed the problem with the HTTP/1.1 async protocol handler incorrectly
+ reporting its state as CLOSED immediately after its instantiation until #onConnect
+ event has been triggered.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+* HTTPCORE-771: Ignore java.lang.UnsupportedOperationException when gracefully shutting
+ classic SSL sockets for compatibility with Oracle JDK 1.8.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+* Bug fix: HTTP/2 protocol handler fails to correctly notify the opposite endpoint when
+ using non-default dynamic table sizes.
+ Contributed by Brendan Thomas <brendan.thomas at adaptiva.com>
+
+* Bug fix: Moved HTTP/2 illegal message header check from message converters to protocol
+ interceptors.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+* Bug fix: Corrected error handling in AbstractAsyncPushHandler
+
+
+
Release 5.3
------------------
(httpcomponents-core) 01/03: Bug fix: allow `Host` headers in HTTP/2 request messages
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch 5.3.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
commit 9024f462376f59e8a1bdca8f31db68ed397b1e99
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Sat Oct 12 15:22:39 2024 +0200
Bug fix: allow `Host` headers in HTTP/2 request messages
---
.../java/org/apache/hc/core5/http2/protocol/H2RequestConformance.java | 1 -
.../java/org/apache/hc/core5/http2/protocol/TestH2Interceptors.java | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/protocol/H2RequestConformance.java b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/protocol/H2RequestConformance.java
index b7634a86c..354c36058 100644
--- a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/protocol/H2RequestConformance.java
+++ b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/protocol/H2RequestConformance.java
@@ -66,7 +66,6 @@ public class H2RequestConformance implements HttpRequestInterceptor {
HttpHeaders.KEEP_ALIVE,
HttpHeaders.PROXY_CONNECTION,
HttpHeaders.TRANSFER_ENCODING,
- HttpHeaders.HOST,
HttpHeaders.UPGRADE,
HttpHeaders.TE);
}
diff --git a/httpcore5-h2/src/test/java/org/apache/hc/core5/http2/protocol/TestH2Interceptors.java b/httpcore5-h2/src/test/java/org/apache/hc/core5/http2/protocol/TestH2Interceptors.java
index ef2e84aaa..38410c787 100644
--- a/httpcore5-h2/src/test/java/org/apache/hc/core5/http2/protocol/TestH2Interceptors.java
+++ b/httpcore5-h2/src/test/java/org/apache/hc/core5/http2/protocol/TestH2Interceptors.java
@@ -194,8 +194,8 @@ class TestH2Interceptors {
request.addHeader("Host", "host");
final H2RequestConformance interceptor = new H2RequestConformance();
- Assertions.assertThrows(HttpException.class, () -> interceptor.process(request, null, context),
- "Header 'Host: host' is illegal for HTTP/2 messages");
+ Assertions.assertDoesNotThrow(() -> interceptor.process(request, null, context),
+ "Header 'Host: host' is permissible for HTTP/2 messages");
}
@Test