Ticket #954 (new enhancement)

Opened 2 years ago

X-LIGHTTPD-KBytes-per-second header patch

Reported by: Terminar Assigned to: jan
Priority: normal Milestone:
Component: core Version: 1.5.x-svn
Severity: normal Keywords:
Cc: Blocking:
Need Feedback:

Description

This is an idea for 1.5.0-svn (but needs patch from #953). Setting speed per-connection from backend is possible now. Example for php:

<?php header("Content-Type: application/octet-stream"); header('Content-Disposition: attachment; filename="test.dat"'); header("X-LIGHTTPD-KBytes-per-second: 50"); header("X-Sendfile: <path-to-file>/test.dat"); ?>

I will attach another file which does this via module, but i am not sure which handler is correct for this.

Attachments

mod_proxy_core.patch (0.8 kB) - added by Terminar on 12/30/2006 09:57:46 PM.
mod_traffic.c (7.1 kB) - added by Terminar on 12/30/2006 10:08:53 PM.

Change History

12/30/2006 09:57:46 PM changed by Terminar

  • attachment mod_proxy_core.patch added.

12/30/2006 10:08:53 PM changed by Terminar

  • attachment mod_traffic.c added.

Add/Change #954 (X-LIGHTTPD-KBytes-per-second header patch)




Change Properties