-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Setting MinRequestBodyDataRate to null cause slow response time #21502
Comments
To be clear, do you mean when using @garayx can you collect a network trace using a tool like Wireshark? That would help us identify possible differences. |
I meant .net framework client side app, but yes all it does is create HttpClient and send single post request. Please see the wireshark outputs:
Also I forgot to mention that we didn't observe the lag prior to upgrading the server side to |
Might this have something to do with Expect: 100-continue? That header will be sent by default on .NET Framework and not on .NET Core. |
I did try to set |
Hi, any update on this? We are getting more and more reports from our customers that instead of usual low latency on requests around ~10ms, they are now getting the ~50ms. The root cause for all of them is the same, they are using our Client API on .NET Framework, not .NET Core. |
@JunTaoLuo Could you take a look at this? |
Thanks for contacting us. |
Thanks for contacting us. |
Looks like we figured it out, using #30449 to track this issue. |
Describe the bug
Adding
Limits.MinRequestBodyDataRate = null
configuration to kestrel server will add ~40ms to response time when connection using.net framework
client.This doesn't reproduce when:
To Reproduce
Make sure running the server app on other host then the client app, or access the server app from the client via internet (open 5000 port and use public ip).
.sln
file in VS.WebApplicationServer.exe
file..sln
file in VS and build the project.Controllers/HomeController.cs
and change the url variable to theWebApplicationServer
app url and runWebApplicationServer.exe
, open back theWebApplicationServer
app in VS.Program.cs
, publish and run theWebApplicationServer.exe
.Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: