Skip to content

Commit 5ff6e31

Browse files
Sync shared code from runtime (#41810)
Co-authored-by: Tratcher <[email protected]>
1 parent 67d0c9f commit 5ff6e31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Shared/runtime/Http2/Hpack/HPackDecoder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private void DecodeInternal(ReadOnlySpan<byte> data, IHttpStreamHeadersHandler h
183183
while (currentIndex < data.Length);
184184

185185
// If a header range was set, but the value was not in the data, then copy the range
186-
// to the name buffer. Must copy because because the data will be replaced and the range
186+
// to the name buffer. Must copy because the data will be replaced and the range
187187
// will no longer be valid.
188188
if (_headerNameRange != null)
189189
{

src/Shared/runtime/Http3/QPack/QPackDecoder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private void DecodeInternal(ReadOnlySpan<byte> data, IHttpStreamHeadersHandler h
239239
while (currentIndex < data.Length);
240240

241241
// If a header range was set, but the value was not in the data, then copy the range
242-
// to the name buffer. Must copy because because the data will be replaced and the range
242+
// to the name buffer. Must copy because the data will be replaced and the range
243243
// will no longer be valid.
244244
if (_headerNameRange != null)
245245
{

0 commit comments

Comments
 (0)