Project

General

Profile

Feature #954

X-LIGHTTPD-KBytes-per-second header patch

Added by Terminar over 10 years ago. Updated 7 months ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

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:

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.

mod_proxy_core.patch (773 Bytes) mod_proxy_core.patch Terminar, 2006-12-30 21:57
mod_traffic.c (7.09 KB) mod_traffic.c Terminar, 2006-12-30 22:08

Associated revisions

Revision e2c19c36 (diff)
Added by gstrauss 8 months ago

[core] X-LIGHTTPD-KBytes-per-second from backends (fixes #954)

x-ref:
"X-LIGHTTPD-KBytes-per-second header patch"
https://redmine.lighttpd.net/issues/954

History

#1 Updated by gstrauss over 1 year ago

  • Description updated (diff)
  • Status changed from New to Need Feedback
  • Assignee deleted (jan)
  • Priority changed from Normal to Low

Is there still a desire for this feature?

If so, it should probably be implemented as a way to lower any existing rate limit, but not to raise the currently configured limit.

#2 Updated by gstrauss about 1 year ago

https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_TrafficShaping has an attachment for a mod_speed.c which attempted to implement this in lighttpd 1.5.0

#3 Updated by gstrauss 8 months ago

  • Status changed from Need Feedback to Patch Pending
  • Target version set to 1.4.46

#4 Updated by gstrauss 7 months ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom