I am working on improving performance for a high number of small payload web requests using HttpClient in .NET 4.5. I have found that for http clients in some other programming languages a performance tip is to disable "stale connection check", which is a check to see if the server has terminated a keep-alive connection (see e.g. Stale_connection_check). So my questions are:
- Does C# HttpClient do such a stale connection check?
- If so, can it be disabled?