Comment 1 for bug 1047325

Revision history for this message
John A Meinel (jameinel) wrote :

I remember now. I was trying to test disconnects with a socketpair, etc. But I wasn't able to trigger a failure on *write*. I think the issue is that the system leaves a buffer in place for a while, so a normal write would still succeed, but just be dropped, and the read side would fail.

Obviously if you have a bigger disconnect, you can get EPIPE. I just was unable to trigger it when I was working on the original patch. Clearly if you wait a long time it is possible, but we don't want a test that waits 10+s just to trigger this.