Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0-staging] [HTTP/2] Fix handling of effectively empty DATA frame (#99502) #99677

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

ManickaP
Copy link
Member

@ManickaP ManickaP commented Mar 13, 2024

Backport of #99502 to release/8.0-staging

Customer Impact

Reported by Bing crawler. It impacts about 4-5 million URLs they visit a day.

The problem is with specific HTTP/2 servers, which send RFC-valid responses, which are a bit unusual -- they return DATA frame with only padding and no data.
We will interpret it as end of stream (truncating the HTTP response).

Known impacted servers:

  • OpenGSE (archived Google server, which is not maintained anymore)

Regression

Not a regression.

Testing

Manual testing by user repro case.
We added functional test for this specific case.
Customer validated private bits.

Risk

Low. Specific server behaving in allowed but non-standard way. Also, the change is very small, non-invasive and tested.

* Fix handling effectively empty DATA frame

* Added test
Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@karelz karelz added this to the 8.0.x milestone Mar 22, 2024
@karelz karelz added the Servicing-consider Issue for next servicing release review label Mar 22, 2024
@karelz
Copy link
Member

karelz commented Mar 26, 2024

Approved by Tactics (@jeffschwMSFT and @artl93) via email on 3/22. Adding Servicing-approved label accordingly.

@karelz karelz added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Mar 26, 2024
@ManickaP ManickaP merged commit b7f0477 into dotnet:release/8.0-staging Mar 26, 2024
109 of 114 checks passed
@ManickaP ManickaP deleted the release/8.0-staging branch March 26, 2024 16:54
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2024
@karelz karelz modified the milestones: 8.0.x, 8.0.5 Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants