Skip to content

Timeouts not detected on mono/linux #1330

Closed

Description

@mgevans

While working on moving from ContinuousProcessing to Wait while upgrading to Npgsql 3.1.8, I found an issue with the handling of timeouts in ReadBuffer.Ensure.

// We have a special case when reading async notifications - a timeout may be normal

This is looking for SocketError.TimedOut, but mono returns SocketError.WouldBlock in this case. I've also filed a bug against mono to get the behavior to match .net/windows https://bugzilla.xamarin.com/show_bug.cgi?id=45662

Activity

  1. added this to the 3.1.9 milestone on Oct 19, 2016
  2. roji commented on Oct 19, 2016

    @roji
    Member

    The Npgsql build server is almost ready for running mono tests continuously, I've been putting it off for a while... This is a good opportunity to do that, this way mono will be covered much better.

  3. changed the title [-]Async timeout detection in ReadBuffer.Ensure does not work on mono/linux[/-] [+]Timeouts not detected on mono/linux[/+] on Nov 15, 2016
  4. self-assigned this
    on Nov 15, 2016
  5. added a commit that references this issue on Nov 15, 2016
    e3943ca
  6. added theissue type on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions