about summary refs log tree commit homepage
path: root/test/server_helper.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-10-26 01:13:29 +0000
committerEric Wong <normalperson@yhbt.net>2013-10-26 02:00:17 +0000
commitf38e54f8d54f8cdfdc15f43b2394f0acfff5d413 (patch)
tree5a26e626a3fcee6787f62d1dd885137604db97c5 /test/server_helper.rb
parent8671b632849216476305573e87b5626bc34fedf1 (diff)
downloadyahns-f38e54f8d54f8cdfdc15f43b2394f0acfff5d413.tar.gz
The tiny responses for check_client_connection and "100-Continue"
responses may occasionally fail with EAGAIN.  We must be prepared
for those corner cases and buffer the output appropriately.  We can
safely use a string for buffering here (for once(!)), since the
buffer sizes are bounded and known at buffer time, unlike the
response headers/bodies sent by the Rack application.
Diffstat (limited to 'test/server_helper.rb')
0 files changed, 0 insertions, 0 deletions