13 references to MaxHeaderFieldSize
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (13)
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (13)
114var decoder = new HPackDecoder(DynamicTableInitialMaxSize, MaxHeaderFieldSize, dynamicTable);
677Assert.Equal(SR.Format(SR.net_http_headers_exceeded_length, MaxHeaderFieldSize), exception.Message);
684HPackDecoder decoder = new HPackDecoder(DynamicTableInitialMaxSize, MaxHeaderFieldSize + 1);
685string string8193 = new string('a', MaxHeaderFieldSize + 1);
702HPackDecoder decoder = new HPackDecoder(DynamicTableInitialMaxSize, MaxHeaderFieldSize + 1);
703string string8191 = new string('a', MaxHeaderFieldSize - 1);
704string string8193 = new string('a', MaxHeaderFieldSize + 1);
705string string8194 = new string('a', MaxHeaderFieldSize + 2);
728Assert.Equal(SR.Format(SR.net_http_headers_exceeded_length, MaxHeaderFieldSize + 1), ex.Message);
737HPackDecoder decoder = new HPackDecoder(DynamicTableInitialMaxSize, MaxHeaderFieldSize + 1);
738string string8193 = new string('a', MaxHeaderFieldSize + 1);
760HPackDecoder decoder = new HPackDecoder(DynamicTableInitialMaxSize, MaxHeaderFieldSize + 1);
761string string8193 = new string('a', MaxHeaderFieldSize + 1);