about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-05-03 15:19:00 -0700
committerEric Wong <normalperson@yhbt.net>2009-05-03 15:19:00 -0700
commitc88dafaa616ddd0741f929f5c5988e0c8769b15f (patch)
tree18a0d3657ab09612148508fb4f109c2f666368d5 /test
parenta5c51c33862580674c997be91dc705c2cf000a36 (diff)
downloadunicorn-c88dafaa616ddd0741f929f5c5988e0c8769b15f.tar.gz
Since we've switched to readpartial, we'll already be protected
from any unpleasant errors that might get thrown at us.  There's
no easy way to prevent MRI from calling a select() internally to
check for readiness, so speculative+blocking read() calls are
out already.

Additionally, most requests come in the form of GETs which are
fully-buffered in the kernel before we even accept() the socket;
so a single readpartial call will be enough to fully consume it.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions