joyent/node — pull request #5097 by indutny (2013-03-20 13:53:20+00:00)
Title: tls: handle ZERO_RETURN

ZERO_RETURN is generally returned when other side has closed (with
CLOSE_NOTIFY) connection. In such cases, error should be emitted.

/cc @bnoordhuis