Skip to content

KeepAlive not working #849

Closed
Closed
@kartas39

Description

@kartas39

internal static void SetKeepAliveValues(ref Socket socket)

This method is not called from anywhere. So I think it just doesn't do his stuff.
Please also pay attention that it is wrapped with if NETCOREAPP31_AND_ABOVE, which is defined as:

<PropertyGroup Condition="'$(TargetGroup)' == 'netcoreapp' AND !$(TargetFramework.StartsWith('netcoreapp2.'))">
    <DefineConstants>$(DefineConstants);NETCOREAPP31_AND_ABOVE</DefineConstants>
  </PropertyGroup>

which does not include .Net5 I assume if you build with net5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions