Просмотр исходного кода

Sync shared code from runtime (#40890)

Co-authored-by: Tratcher <[email protected]>
github-actions[bot] 4 лет назад
Родитель
Сommit
83c12db21d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/Shared/runtime/Http3/QPack/QPackDecoder.cs

+ 2 - 2
src/Shared/runtime/Http3/QPack/QPackDecoder.cs

@@ -710,7 +710,7 @@ namespace System.Net.Http.QPack
             _state = State.HeaderValueLength;
         }
 
-        private void OnIndexedHeaderNamePostBase(int index)
+        private static void OnIndexedHeaderNamePostBase(int index)
         {
             ThrowDynamicTableNotSupported();
             // TODO update with postbase index
@@ -718,7 +718,7 @@ namespace System.Net.Http.QPack
             // _state = State.HeaderValueLength;
         }
 
-        private void OnPostBaseIndex(int intResult, IHttpStreamHeadersHandler handler)
+        private static void OnPostBaseIndex(int intResult, IHttpStreamHeadersHandler handler)
         {
             ThrowDynamicTableNotSupported();
             // TODO