Merge pull request #247 from ErikMogensen/fix-unauthenticed-pipeline-policy-process
Avoid getting into a infinite loop when calling Process
This commit is contained in:
Коммит
d4cc9450a7
|
@ -258,7 +258,7 @@ public static class Program
|
|||
public override void Process(HttpMessage message, ReadOnlyMemory<HttpPipelinePolicy> pipeline)
|
||||
{
|
||||
RemoveAuthorizationHeader(message);
|
||||
Process(message, pipeline);
|
||||
ProcessNext(message, pipeline);
|
||||
}
|
||||
|
||||
public override async ValueTask ProcessAsync(HttpMessage message, ReadOnlyMemory<HttpPipelinePolicy> pipeline)
|
||||
|
|
Загрузка…
Ссылка в новой задаче