Documentation/yahns-rackup.pod in yahns-1.12.3 vs Documentation/yahns-rackup.pod in yahns-1.12.4

- old
+ new

@@ -157,9 +157,19 @@ The RACK_ENV variable is set by the aforementioned -E switch. If RACK_ENV is already set, it will be used unless -E is used. See rackup documentation for more details. +=head1 CAVEATS + +yahns is strict about buggy, non-compliant Rack applications. +Some existing servers work fine without "Content-Length" or +"Transfer-Encoding: chunked" response headers enforced by Rack::Lint. +Forgetting these headers with yahns causes clients to stall as they +assume more data is coming. Loading the Rack::ContentLength and/or +Rack::Chunked middlewares will set the necessary response headers +and fix your app. + =head1 CONTACT All feedback welcome via plain-text mail to L<mailto:yahns-public@yhbt.net> No subscription is necessary to post to the mailing list. List archives are available at L<http://yhbt.net/yahns-public/>