-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headers mangled without previous async middleware #7
Comments
Hi Christopher, |
I'm using ASP.NET Core 2.2. Sorry, I don't have a repository, but I'll put one together and get back to you. |
That would really help. The middleware get the headers from the Are you consuming an |
Here's a repository with a demo project: https://github.com/orthoplex64/dotnet-demos |
I submitted this issue to the ASP.NET Core project as well, and it was identified with a known problem with Kestrel: dotnet/aspnetcore#15384 |
Thanks! this really helps to understand the problem! |
I've released 3.0.2 which address the issue. |
When using
app.UseHeaderPropagation();
as the first middleware in the pipeline and sending many simultaneous requests, I've observed incorrect headers being propagated sometimes.When inserting any async middleware before header propagation (e.g.
app.Use(async (context, next) => await next.Invoke());
), all propagated headers are correct.The text was updated successfully, but these errors were encountered: