Skip to content

Commit fc6b94c

Browse files
author
ladeak
committed
Updating a comment
1 parent 750c157 commit fc6b94c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers/Kestrel/shared/HPackHeaderWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static HeaderWriteResult BeginEncodeHeaders(int statusCode, DynamicHPackE
5050
return HeaderWriteResult.Done;
5151
}
5252

53-
// We're ok with not throwing if no headers were encoded because we've already encoded the status.
53+
// We're ok with not increasing the buffer size if no headers were encoded because we've already encoded the status.
5454
// There is a small chance that the header will encode if there is no other content in the next HEADERS frame.
5555
var done = EncodeHeadersCore(hpackEncoder, headersEnumerator, buffer.Slice(length), canRequestLargerBuffer: false, out var headersLength);
5656
length += headersLength;

0 commit comments

Comments
 (0)