diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-10 18:05:23 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-10 18:40:44 -0700 |
commit | ca4265ea4d8bdeb9c569a50a05ee45e31f4b4269 (patch) | |
tree | fa83a33785ccd9301af18c5630f756308150c9d8 /lib/unicorn | |
parent | 6d618ae6b83d893c6dee0d931ca2d5847cf0f598 (diff) | |
download | unicorn-ca4265ea4d8bdeb9c569a50a05ee45e31f4b4269.tar.gz |
Or lack thereof on POSIX.
Diffstat (limited to 'lib/unicorn')
-rw-r--r-- | lib/unicorn/http_request.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index b06e3ae..ce0e408 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -150,8 +150,7 @@ module Unicorn # the @body already. It will return true if successful and false if not. def read_body(socket, remain) while remain > 0 - # ASSUME: we are writing to a disk and these writes always write the - # requested amount. This is true on Linux. + # writes always write the requested amount on a POSIX filesystem remain -= @body.syswrite(read_socket(socket)) end true # success! |