Client connection is closed after each request #29540
-
Hi there, We have an Asp.net 5 app which is in Azure AKS behind AppGateway. I find that our service container always has a lot of connections in TIME_WAIT state to the local 80 port. These connections are from AppGateway to our service. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
ASP.NET Core uses keep-alive connections by default. The app or gateway would have to be opting out of keep-alives by one of these mechanisms:
|
Beta Was this translation helpful? Give feedback.
ASP.NET Core uses keep-alive connections by default. The app or gateway would have to be opting out of keep-alives by one of these mechanisms:
Connection: close
Connection: close
on responses