diff options
author | Eric Wong <e@80x24.org> | 2016-08-03 03:06:25 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-08-03 03:06:25 +0000 |
commit | 013d24d62f65368a2f6fdeef2e4680c5345e6992 (patch) | |
tree | f0aa8c2311bf420fc30d5162c4b29b798e92c1bb /examples | |
parent | f1f430323bcab90bdbbe980d6ef5b60602796a55 (diff) | |
download | yahns-013d24d62f65368a2f6fdeef2e4680c5345e6992.tar.gz |
Actually, I guess I misread, rack (starting at) 1.0 stopped requiring Content-Length/Chunked headers but I never noticed. Oh well. This reverts commit 4968041a7e1ff90b920704f50fccb9e7968d0d99.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/yahns_rack_basic.conf.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/yahns_rack_basic.conf.rb b/examples/yahns_rack_basic.conf.rb index 610a482..f3f8e6a 100644 --- a/examples/yahns_rack_basic.conf.rb +++ b/examples/yahns_rack_basic.conf.rb @@ -30,12 +30,6 @@ 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 |