Unicorn::TmpIO
# File lib/unicorn/app/exec_cgi.rb, line 31 def body_offset=(n) sysseek(@body_offset = n) end
# File lib/unicorn/app/exec_cgi.rb, line 35 def each sysseek @body_offset # don't use a preallocated buffer for sysread since we can't # guarantee an actual socket is consuming the yielded string # (or if somebody is pushing to an array for eventual concatenation begin yield sysread(CHUNK_SIZE) rescue EOFError break end while true end
Generated with the Darkfish Rdoc Generator 2.