joyent/node — pull request #6902 by indutny (2014-01-17 23:26:53+00:00)
Title: stream_wrap: use `uv_try_write` where possible

Use `uv_try_write` for string and buffer writes, thus avoiding to do
allocations and copying in some of the cases.

/cc @tjfontaine @trevnorris