Skip to content

Commit

Permalink
HTTP2 Perf: Optimize decoding of HPack static table (#40745)
Browse files Browse the repository at this point in the history
* optimize decoding of HPack static table

* use byte[] instead of ReadOnlyMemory<byte> in table

* address feedback

* add error string for multiple status codes

Co-authored-by: Geoffrey Kizer <[email protected]>
  • Loading branch information
geoffkizer and Geoffrey Kizer authored Sep 15, 2020
1 parent 1230097 commit 3cd27af
Show file tree
Hide file tree
Showing 2 changed files with 218 additions and 89 deletions.
3 changes: 3 additions & 0 deletions src/libraries/System.Net.Http/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@
<data name="net_http_invalid_response_status_reason" xml:space="preserve">
<value>Received status phrase could not be decoded with iso-8859-1: '{0}'.</value>
</data>
<data name="net_http_invalid_response_multiple_status_codes" xml:space="preserve">
<value>The response contained more than one status code.</value>
</data>
<data name="net_http_invalid_response_header_folder" xml:space="preserve">
<value>Received an invalid folded header.</value>
</data>
Expand Down
Loading

0 comments on commit 3cd27af

Please sign in to comment.