diff options
author | Eric Wong <e@80x24.org> | 2013-10-26 01:13:29 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-26 02:00:17 +0000 |
commit | f38e54f8d54f8cdfdc15f43b2394f0acfff5d413 (patch) | |
tree | 5a26e626a3fcee6787f62d1dd885137604db97c5 /test/server_helper.rb | |
parent | 8671b632849216476305573e87b5626bc34fedf1 (diff) | |
download | yahns-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