You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/01 17:20:01 UTC
[jira] [Commented] (HTTPCORE-673) AbstractH2StreamMultiplexer only
partially consumes unknown settings
[ https://issues.apache.org/jira/browse/HTTPCORE-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17337857#comment-17337857 ]
ASF subversion and git services commented on HTTPCORE-673:
----------------------------------------------------------
Commit 4efe914cb357a3a973dce53c3be3983eb1ced5bf in httpcomponents-core's branch refs/heads/5.0.x from Oleg Kalnichevski
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-core.git;h=4efe914 ]
HTTPCORE-673: fixes incorrect handling of unknown parameters in HTTP/2 SETTINGS frame
> AbstractH2StreamMultiplexer only partially consumes unknown settings
> --------------------------------------------------------------------
>
> Key: HTTPCORE-673
> URL: https://issues.apache.org/jira/browse/HTTPCORE-673
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore
> Affects Versions: 5.1
> Reporter: Andy Wilkinson
> Priority: Major
> Fix For: 5.0.4, 5.1.1, 5.2-alpha1
>
>
> I originally [reported|https://github.com/eclipse/jetty.project/issues/6164] this to the Jetty project but they have identified that the problem is in HttpCore's {{AbstractH2StreamMultiplexer}}. Jetty 10 has added support for {{SETTINGS_ENABLE_CONNECT_PROTOCOL}}. When consuming the settings frame, {{AbstractH2StreamMultiplexer}} consumes the code but, as it has no {{H2Param}} for it, it does not consume the value. This partial consumption results in an failure later on.
> The problem can be reproduced using [this sample project|https://github.com/wilkinsona/jetty-h2c-problem].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org