joyent/libuv — pull request #310 by creationix (2012-02-09 20:00:59+00:00)
Title: Stop reading from broken streams on error (unix)

As discussed with Bert on irc, this patch calls `uv_read_stop` on a stream when there is a read error before calling the read callback. This is for the unix version of stream.c.