diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-10-10 15:28:41 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-10-19 21:40:14 -0400 |
commit | 2f7839e88fd098a4bb6dd98dfa1ef2ae038c2bcf (patch) | |
tree | 5b5cf401d33578f19510f5f44749b005cf62cd20 | |
parent | 66d1ec485c4709e7ebbadbc16edcf855589b7691 (diff) | |
download | lighttpd-git-2f7839e88fd098a4bb6dd98dfa1ef2ae038c2bcf.tar.gz |
[doc] comment out config disabling Range for .pdf
comment out lighttpd.conf config disabling Range requests for .pdf
bug in Adobe Acrobat Reader browser plugin dates to over 10 years ago
https://redmine.lighttpd.net/issues/171
https://redmine.lighttpd.net/issues/541
https://jarrettbroder.blogspot.com/2010/11/adobe-acrobat-reader-plugin-stalls-when.html
one possible workaround was to disable "fast web view" in the
Adobe Acrobat Reader
bug in Chrome fixed in 2015
https://bugs.chromium.org/p/chromium/issues/detail?id=442318
However, there still may be issues with PDF readers mishandling Range
requests, e.g. with coalesced ranges, so the section remains in the
sample lighttpd.conf, but is commented out.
https://github.com/mozilla/pdf.js/issues/9022
-rw-r--r-- | doc/config/lighttpd.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/config/lighttpd.conf b/doc/config/lighttpd.conf index 61e9bec1..47beeead 100644 --- a/doc/config/lighttpd.conf +++ b/doc/config/lighttpd.conf @@ -346,10 +346,11 @@ url.access-deny = ( "~", ".inc" ) ## ## disable range requests for pdf files ## workaround for a bug in the Acrobat Reader plugin. +## (ancient; should no longer be needed) ## -$HTTP["url"] =~ "\.pdf$" { - server.range-requests = "disable" -} +#$HTTP["url"] =~ "\.pdf$" { +# server.range-requests = "disable" +#} ## ## url handling modules (rewrite, redirect) |