Skip to content

XPlat: System.Net.Socket.Poll(0, SelectMode.SelectError) provides incorrect results  #15707

@saurabh500

Description

@saurabh500

On Linux, the call to System.Net.Socket.Poll(0, SelectMode.SelectError) returns true for some cases when consumed in SqlClient.
If the SqlClient ignores the Socket poll result and continues to use the socket, there is no problem reading from the socket.

Based on the investigation @pgavlin figured out that this is a bug with linux Native implementation for Poll.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions