HttpResponse: use unbuffered I/O for writing, too
commitafdae82eb156320cbee0fbd88800a9f56f78b645
authorEric Wong <normalperson@yhbt.net>
Sat, 7 Feb 2009 06:25:36 +0000 (6 22:25 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 10 Feb 2009 03:52:18 +0000 (9 19:52 -0800)
treef89e3fa4f806978db5867957afae5221e9d1981c
parent8c176fa571511d0a4dc5fa04777db4565a9d453d
HttpResponse: use unbuffered I/O for writing, too

Avoid needless userspace copies and craziness.  We'll need to
handle EINTR since writes to sockets means stupid things like
this, but it's a small cost...
lib/unicorn/http_response.rb