Module | Rainbows::StreamResponseEpoll |
In: |
lib/rainbows/stream_response_epoll.rb
lib/rainbows/stream_response_epoll.rb |
Like Unicorn itself, this concurrency model is only intended for use behind nginx and completely unsupported otherwise. Even further from Unicorn, this isn‘t even a good idea with normal LAN clients, only nginx!
It does NOT require a thread-safe Rack application at any point, but allows streaming data asynchronously via nginx (using the "X-Accel-Buffering: no" header to disable buffering).
Unlike Rainbows::Base, this does NOT support persistent connections or pipelining. All \Rainbows! specific configuration options are ignored (except Rainbows::Configurator#use).