Annotation of embedaddon/lighttpd/doc/outdated/traffic-shaping.txt, revision 1.1

1.1     ! misho       1: ===============
        !             2: Traffic Shaping
        !             3: ===============
        !             4: 
        !             5: ------------
        !             6: Module: core
        !             7: ------------
        !             8: 
        !             9: :Author: Jan Kneschke
        !            10: :Date: $Date: 2004/11/03 22:26:05 $
        !            11: :Revision: $Revision: 1.2 $
        !            12: 
        !            13: :abstract:
        !            14:   limiting bandwidth usage
        !            15: 
        !            16: .. meta::
        !            17:   :keywords: lighttpd, bandwidth limit, traffic shaping
        !            18: 
        !            19: .. contents:: Table of Contents
        !            20: 
        !            21: Description
        !            22: ===========
        !            23: 
        !            24: Starting with 1.3.8, lighttpd supports limiting the bandwidth for
        !            25: a single connection or config context like a virtual host or a URL.
        !            26: 
        !            27: Options
        !            28: =======
        !            29: 
        !            30: :connection.kbytes-per-second:
        !            31:   limit the throughput for each single connection to the given
        !            32:   limit in kbyte/s
        !            33: 
        !            34:   default: 0 (no limit)
        !            35: 
        !            36: :server.kbytes-per-second:
        !            37:   limit the throughput for all connections to the given limit
        !            38:   in kbyte/s
        !            39: 
        !            40:   if you want to specify a limit for a special virtual server
        !            41:   use: ::
        !            42: 
        !            43:     $HTTP["host"] == "www.example.org" {
        !            44:       server.kbytes-per-second = 128
        !            45:     }
        !            46: 
        !            47:   which will override the default for this host.
        !            48: 
        !            49:   default: 0 (no limit)
        !            50: 
        !            51: Additional Notes
        !            52: ================
        !            53: 
        !            54: Keep in mind that a limit below 32kb/s might actually limit the traffic to 32kb/s. This
        !            55: is caused by the size of the TCP send buffer.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>