@@ -223,10 +223,10 @@ private void DecodeInternal(ReadOnlySpan<byte> data, IHttpStreamHeadersHandler h
223
223
ParseHeaderValue ( data , ref currentIndex , handler ) ;
224
224
break ;
225
225
case State . PostBaseIndex :
226
- ParsePostBaseIndex ( data , ref currentIndex , handler ) ;
226
+ ParsePostBaseIndex ( data , ref currentIndex ) ;
227
227
break ;
228
228
case State . HeaderNameIndexPostBase :
229
- ParseHeaderNameIndexPostBase ( data , ref currentIndex , handler ) ;
229
+ ParseHeaderNameIndexPostBase ( data , ref currentIndex ) ;
230
230
break ;
231
231
default :
232
232
// Can't happen
@@ -253,19 +253,19 @@ private void DecodeInternal(ReadOnlySpan<byte> data, IHttpStreamHeadersHandler h
253
253
}
254
254
}
255
255
256
- private void ParseHeaderNameIndexPostBase ( ReadOnlySpan < byte > data , ref int currentIndex , IHttpStreamHeadersHandler handler )
256
+ private void ParseHeaderNameIndexPostBase ( ReadOnlySpan < byte > data , ref int currentIndex )
257
257
{
258
258
if ( TryDecodeInteger ( data , ref currentIndex , out int intResult ) )
259
259
{
260
260
OnIndexedHeaderNamePostBase ( intResult ) ;
261
261
}
262
262
}
263
263
264
- private void ParsePostBaseIndex ( ReadOnlySpan < byte > data , ref int currentIndex , IHttpStreamHeadersHandler handler )
264
+ private void ParsePostBaseIndex ( ReadOnlySpan < byte > data , ref int currentIndex )
265
265
{
266
- if ( TryDecodeInteger ( data , ref currentIndex , out int intResult ) )
266
+ if ( TryDecodeInteger ( data , ref currentIndex , out _ ) )
267
267
{
268
- OnPostBaseIndex ( intResult , handler ) ;
268
+ OnPostBaseIndex ( ) ;
269
269
}
270
270
}
271
271
@@ -494,14 +494,14 @@ private void ParseCompressedHeaders(ReadOnlySpan<byte> data, ref int currentInde
494
494
break ;
495
495
case 3 : // Indexed Header Field With Post-Base Index
496
496
prefixInt = ~ PostBaseIndexMask & b ;
497
- if ( _integerDecoder . BeginTryDecode ( ( byte ) prefixInt , PostBaseIndexPrefix , out intResult ) )
497
+ if ( _integerDecoder . BeginTryDecode ( ( byte ) prefixInt , PostBaseIndexPrefix , out _ ) )
498
498
{
499
- OnPostBaseIndex ( intResult , handler ) ;
499
+ OnPostBaseIndex ( ) ;
500
500
}
501
501
else
502
502
{
503
503
_state = State . PostBaseIndex ;
504
- ParsePostBaseIndex ( data , ref currentIndex , handler ) ;
504
+ ParsePostBaseIndex ( data , ref currentIndex ) ;
505
505
}
506
506
break ;
507
507
default : // Literal Header Field With Post-Base Name Reference (at least 4 zeroes, maybe more)
@@ -513,7 +513,7 @@ private void ParseCompressedHeaders(ReadOnlySpan<byte> data, ref int currentInde
513
513
else
514
514
{
515
515
_state = State . HeaderNameIndexPostBase ;
516
- ParseHeaderNameIndexPostBase ( data , ref currentIndex , handler ) ;
516
+ ParseHeaderNameIndexPostBase ( data , ref currentIndex ) ;
517
517
}
518
518
break ;
519
519
}
@@ -710,15 +710,15 @@ private void OnIndexedHeaderName(int index)
710
710
_state = State . HeaderValueLength ;
711
711
}
712
712
713
- private static void OnIndexedHeaderNamePostBase ( int index )
713
+ private static void OnIndexedHeaderNamePostBase ( int _ /* index*/ )
714
714
{
715
715
ThrowDynamicTableNotSupported ( ) ;
716
716
// TODO update with postbase index
717
717
// _index = index;
718
718
// _state = State.HeaderValueLength;
719
719
}
720
720
721
- private static void OnPostBaseIndex ( int intResult , IHttpStreamHeadersHandler handler )
721
+ private static void OnPostBaseIndex ( )
722
722
{
723
723
ThrowDynamicTableNotSupported ( ) ;
724
724
// TODO
0 commit comments