joyent/libuv — pull request #770 by indutny (2013-04-08 13:13:06+00:00)
Title: stream: account _SC_IOV_MAX

Write no more than `sysconf(_SC_IOV_MAX)` chunks with `writev()` at
once, otherwise `writev()` returns EINVAL.

https://github.com/joyent/node/pull/5246 depends on it.

/cc @bnoordhuis