In the last episode (Feb 20), Stephen R. van den Berg said:
Stephen R. van den Berg wrote:
I've reenabled socketpair_ultra in a few more cases (for systems where UNIX_SOCKETS_WORKS_WITH_SHUTDOWN hasn't been set).
Is the recent MacOSX breakage a result of this capability not properly being diagnosed in configure?
Found and (sort of) fixed this.
Summary of the changes:
- Closing a socket one-way, results in errors when still trying to get OOB data from it. I.e. the OS signals an error because it knows that OOB data cannot be sent anymore.
Is this a kernel bug? Shutting down the socket for writes should still allow reads to complete. If the shutdown was for reads, then it's a pike bug that it's even trying to read from it.