about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-10 18:05:23 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-10 18:40:44 -0700
commitca4265ea4d8bdeb9c569a50a05ee45e31f4b4269 (patch)
treefa83a33785ccd9301af18c5630f756308150c9d8
parent6d618ae6b83d893c6dee0d931ca2d5847cf0f598 (diff)
Or lack thereof on POSIX.
-rw-r--r--lib/unicorn/http_request.rb3
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!