Skip to content

Commit

Permalink
Protect against overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ladeak committed May 2, 2024
1 parent 4cf2ee7 commit f3a4bee
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -74,8 +74,8 @@ internal sealed class Http2FrameWriter

private int _maxFrameSize = Http2PeerSettings.MinAllowedMaxFrameSize;
private readonly ArrayBufferWriter<byte> _headerEncodingBuffer;
private readonly int? _maxResponseHeadersTotalSize;
private int _currentResponseHeadersTotalSize;
private readonly long? _maxResponseHeadersTotalSize;
private long _currentResponseHeadersTotalSize;
private long _unflushedBytes;

private bool _completed;
Expand Down

0 comments on commit f3a4bee

Please sign in to comment.