This changes how we detect failures when reading from the socket, from comparing highly locale-specific English-only error message strings to the considerably more generic Posix errno and Windows WSAGetLastError. Similarly EAI_* values when resolving the IP address.
Reproducing previous errors proved difficult so there may be edge cases where it previously took an exception in stride and now errors out instead. Regrettable, this close to 2.0.0, but this is an important change.
This changes how we detect failures when reading from the socket, from comparing highly locale-specific English-only error message strings to the considerably more generic Posix
errno
and WindowsWSAGetLastError
. SimilarlyEAI_*
values when resolving the IP address.https://en.wikipedia.org/wiki/Errno.h
Reproducing previous errors proved difficult so there may be edge cases where it previously took an exception in stride and now errors out instead. Regrettable, this close to 2.0.0, but this is an important change.