diff options
Diffstat (limited to 'examples/yahns_rack_basic.conf.rb')
-rw-r--r-- | examples/yahns_rack_basic.conf.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/yahns_rack_basic.conf.rb b/examples/yahns_rack_basic.conf.rb index f3f8e6a..610a482 100644 --- a/examples/yahns_rack_basic.conf.rb +++ b/examples/yahns_rack_basic.conf.rb @@ -30,6 +30,12 @@ queue do worker_threads 50 end +# note: Rack requires responses set "Content-Length" or use +# "Transfer-Encoding: chunked". Some Rack servers tolerate +# the lack of these, yahns does not. Thus you should load +# Rack::Chunked and/or Rack::ContentLength middleware in your +# config.ru to ensure clients know when your application +# responses terminate. app(:rack, "config.ru", preload: false) do listen 80 |