Homec4science

bibdocfile: support for X-Sendfile

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Nov 24 2009, 16:02.

Description

bibdocfile: support for X-Sendfile

  • Added support for X-Sendfile HTTP header, used by Apache's mod_xsendfile or by lighttpd web server, in order to delegate back to the web server the job of streaming full-text files, liberating Invenio worker processes. Introduced new CFG_BIBDOCFILE_USE_XSENDFILE to toggle this feature.
  • Introduced CFG_BIBDOCFILE_MD5_CHECK_PROBABILITY to be able to set the MD5 checking action frequency when streaming full-text files. (Before it was hardcoded to 0.25.)

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Dec 17 2009, 19:16
Parents
R3600:6d82ffba6df2: WebStyle: more cds.css to invenio.css changes
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:25a24fdb294b: bibdocfile: support for X-Sendfile (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Dec 17 2009, 19:16