dotnet / dotnet/dotnet-api-docs

ServicePoint(Manager).SetTcpKeepAlive is NOP on .NET Core

Open
#5,059 0 comments 1 reaction 0 assignees View on GitHub
area-System.Net Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

On .NET Core and .NET 5 [ServicePoint.SetTcpKeepAlive](https://docs.microsoft.com/en-us/dotnet/api/system.net.servicepoint.settcpkeepalive?view=netcore-3.1) doesn't do anything, the method is only present for compatibility reasons, however the documentation doesn't reflect this behavior.

Same for [ServicePointManager.SetTcpKeepAlive](https://docs.microsoft.com/en-us/dotnet/api/system.net.servicepointmanager.settcpkeepalive?view=netcore-3.1).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.