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 2022/10/02 14:42:00 UTC
[jira] [Commented] (HTTPCORE-696) When H2 connection turns to be graceful shutdown, a single HEADERS or PUSH_PROMISE frame with the END_HEADERS flag set should be consumed
[ https://issues.apache.org/jira/browse/HTTPCORE-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612119#comment-17612119 ]
ASF subversion and git services commented on HTTPCORE-696:
----------------------------------------------------------
Commit 7ae878d018f630cd635662c8954924200614b830 in httpcomponents-core's branch refs/heads/github_ci_on_win from Oleg Kalnichevski
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-core.git;h=7ae878d01 ]
HTTPCORE-696: H2 protocol handler to ensure minimal processing of incoming frames during a graceful shutdown.
> When H2 connection turns to be graceful shutdown, a single HEADERS or PUSH_PROMISE frame with the END_HEADERS flag set should be consumed
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCORE-696
> URL: https://issues.apache.org/jira/browse/HTTPCORE-696
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore
> Affects Versions: 5.1
> Reporter: yinwoods
> Assignee: Oleg Kalnichevski
> Priority: Major
> Fix For: 5.1.3, 5.2-beta1
>
> Attachments: image-2021-11-08-20-06-43-301.png, image-2021-11-08-20-07-02-610.png
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> current implemention in version 5.1, when connection gracefully shutdown and receives a single HEADERS frame with END_HEADERS flag set, it will throws "Stream refused" exception, not sure about this.
> As RFC7540 section 4.3 defines, looks like single HEADERS frame should be consumed.
>
> This code in org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java:1073
>
> !image-2021-11-08-20-07-02-610.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org