Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Add Brotli support to SocketsHttpHandler #29729

Merged
merged 2 commits into from
May 17, 2018

Conversation

stephentoub
Copy link
Member

  • Add DecompressionMethods.Brotli
  • Add support for Brotli to SocketsHttpHandler
  • Add some tests

Fixes https://github.com/dotnet/corefx/issues/26995
cc: @ianhays, @joshfree, @geoffkizer, @davidsh

@joshfree
Copy link
Member

Thanks @stephentoub

related asp.net issue aspnet/BasicMiddleware#217

@@ -9,6 +9,7 @@ public enum DecompressionMethods
{
None = 0,
GZip = 1,
Deflate = 2
Deflate = 2,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Why not specify using binary (or hex) constants instead of decimal?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just following suit on what was already done. But I can change it to hex.

- Add DecompressionMethods.Brotli
- Add support for Brotli to SocketsHttpHandler
- Add some tests
@stephentoub
Copy link
Member Author

@dotnet-bot test Windows x64 Debug Build please (lots of unrelated failures on the Nano server leg... looks like the system is in a bad state)

@stephentoub stephentoub merged commit 91f2cd7 into dotnet:master May 17, 2018
@stephentoub stephentoub deleted the brotlihttp branch May 17, 2018 01:40
@karelz karelz added this to the 3.0 milestone Jun 2, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Add Brotli support to SocketsHttpHandler

- Add DecompressionMethods.Brotli
- Add support for Brotli to SocketsHttpHandler
- Add some tests

* Address PR feedback


Commit migrated from dotnet/corefx@91f2cd7
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants