This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new 7d3ae9a3c Use 1.4.1 in @since tags for max-header-list-size settings
(#1318)
7d3ae9a3c is described below
commit 7d3ae9a3c663b71512c4bdfcb44f61d887bf6669
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Sep 25 14:29:07 2026 +0100
Use 1.4.1 in @since tags for max-header-list-size settings (#1318)
* Use 1.4.1 in @since tags for max-header-list-size settings
* Move max-header-list-size MiMa excludes to 1.4.x.backwards.excludes
---
.../http2-max-header-list-size.excludes | 2 +-
.../apache/pekko/http/javadsl/settings/Http2ClientSettings.scala | 4 ++--
.../apache/pekko/http/javadsl/settings/Http2ServerSettings.scala | 4 ++--
.../apache/pekko/http/scaladsl/settings/Http2ServerSettings.scala | 8 ++++----
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git
a/http-core/src/main/mima-filters/2.0.x.backwards.excludes/http2-max-header-list-size.excludes
b/http-core/src/main/mima-filters/1.4.x.backwards.excludes/http2-max-header-list-size.excludes
similarity index 96%
rename from
http-core/src/main/mima-filters/2.0.x.backwards.excludes/http2-max-header-list-size.excludes
rename to
http-core/src/main/mima-filters/1.4.x.backwards.excludes/http2-max-header-list-size.excludes
index 461457482..b069604f7 100644
---
a/http-core/src/main/mima-filters/2.0.x.backwards.excludes/http2-max-header-list-size.excludes
+++
b/http-core/src/main/mima-filters/1.4.x.backwards.excludes/http2-max-header-list-size.excludes
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-# new max-header-list-size setting for HTTP/2
+# new max-header-list-size setting for HTTP/2 (1.4.1)
ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.pekko.http.javadsl.settings.Http2ClientSettings.maxHeaderListSize")
ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.pekko.http.javadsl.settings.Http2ClientSettings.withMaxHeaderListSize")
ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.pekko.http.javadsl.settings.Http2ServerSettings.getMaxHeaderListSize")
diff --git
a/http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/Http2ClientSettings.scala
b/http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/Http2ClientSettings.scala
index bfcf87be7..7f7428cea 100644
---
a/http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/Http2ClientSettings.scala
+++
b/http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/Http2ClientSettings.scala
@@ -39,12 +39,12 @@ trait Http2ClientSettings { self:
scaladsl.settings.Http2ClientSettings.Http2Cli
* advertised to the peer via SETTINGS_MAX_HEADER_LIST_SIZE and the same
limit is applied to the accumulated
* header block fragments of a HEADERS frame and its CONTINUATION frames.
*
- * @since 2.0.0
+ * @since 1.4.1
*/
def maxHeaderListSize: Int
/**
- * @since 2.0.0
+ * @since 1.4.1
*/
def withMaxHeaderListSize(newValue: Int): Http2ClientSettings =
copy(maxHeaderListSize = newValue)
diff --git
a/http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/Http2ServerSettings.scala
b/http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/Http2ServerSettings.scala
index 1c9165e16..56286382b 100644
---
a/http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/Http2ServerSettings.scala
+++
b/http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/Http2ServerSettings.scala
@@ -47,12 +47,12 @@ trait Http2ServerSettings {
* advertised to the peer via SETTINGS_MAX_HEADER_LIST_SIZE and the same
limit is applied to the accumulated
* header block fragments of a HEADERS frame and its CONTINUATION frames.
*
- * @since 2.0.0
+ * @since 1.4.1
*/
def getMaxHeaderListSize: Int = maxHeaderListSize
/**
- * @since 2.0.0
+ * @since 1.4.1
*/
def withMaxHeaderListSize(newValue: Int): Http2ServerSettings
diff --git
a/http-core/src/main/scala/org/apache/pekko/http/scaladsl/settings/Http2ServerSettings.scala
b/http-core/src/main/scala/org/apache/pekko/http/scaladsl/settings/Http2ServerSettings.scala
index 19847648f..a1bfce4fb 100644
---
a/http-core/src/main/scala/org/apache/pekko/http/scaladsl/settings/Http2ServerSettings.scala
+++
b/http-core/src/main/scala/org/apache/pekko/http/scaladsl/settings/Http2ServerSettings.scala
@@ -96,12 +96,12 @@ trait Http2ServerSettings extends
javadsl.settings.Http2ServerSettings with Http
* advertised to the peer via SETTINGS_MAX_HEADER_LIST_SIZE and the same
limit is applied to the accumulated
* header block fragments of a HEADERS frame and its CONTINUATION frames.
*
- * @since 2.0.0
+ * @since 1.4.1
*/
def maxHeaderListSize: Int
/**
- * @since 2.0.0
+ * @since 1.4.1
*/
override def withMaxHeaderListSize(newValue: Int): Http2ServerSettings =
copy(maxHeaderListSize = newValue)
@@ -228,12 +228,12 @@ trait Http2ClientSettings extends
javadsl.settings.Http2ClientSettings with Http
* advertised to the peer via SETTINGS_MAX_HEADER_LIST_SIZE and the same
limit is applied to the accumulated
* header block fragments of a HEADERS frame and its CONTINUATION frames.
*
- * @since 2.0.0
+ * @since 1.4.1
*/
def maxHeaderListSize: Int
/**
- * @since 2.0.0
+ * @since 1.4.1
*/
override def withMaxHeaderListSize(newValue: Int): Http2ClientSettings =
copy(maxHeaderListSize = newValue)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]