Skip to content
  • LRN's avatar
    GIO: Convert ENOTSOCK to G_IO_ERROR_INVALID_ARGUMENT · 5df0337f
    LRN authored
    instead of using a generic G_IO_ERROR_FAILED error code.
    This is in line with what W32 part of the code is doing with WSAENOTSOCK.
    
    This fix will break two tests in libsoup, which were written following
    the implementation and thus expect G_IO_ERROR_FAILED when attempting to
    do stuff with no-longer-valid socket descriptors.
    5df0337f