lib/rainbows/configurator.rb in rainbows-3.3.0 vs lib/rainbows/configurator.rb in rainbows-3.4.0

- old
+ new

@@ -188,10 +188,12 @@ # Rainbows! do # copy_stream IO::Splice # end # # Keep in mind that splice(2) itself is a relatively new system call - # and has been buggy in many older Linux kernels. + # and has been buggy in many older Linux kernels. If you're proxying + # the output of sockets to the client, be sure to use "io_splice" + # 4.1.1 or later to avoid stalling responses. # # Default: IO on Ruby 1.9+, false otherwise def copy_stream(klass) check! if klass && ! klass.respond_to?(:copy_stream)