Home
last modified time | relevance | path

Searched refs:bytes_per_second (Results 1 – 4 of 4) sorted by relevance

/lighttpd1.4/src/
H A Dconnections.c226 if (0 == rconf->global_bytes_per_second && 0 == rconf->bytes_per_second) in connection_write_throttled()
236 if (rconf->bytes_per_second) { in connection_write_throttled()
237 off_t limit = (off_t)rconf->bytes_per_second in connection_write_throttled()
1513 (r->conf.bytes_per_second == 0 in connection_check_timeout()
1515 < (off_t)r->conf.bytes_per_second * t_diff)) { in connection_check_timeout()
1574 r->conf.bytes_per_second = 0; /* disable rate limit */ in connection_graceful_shutdown_maint()
H A Drequest.h57 unsigned int bytes_per_second; /* connection bytes/sec limit */ member
H A Dresponse.c57 && (limit < r->conf.bytes_per_second in http_response_omit_header()
58 || 0 == r->conf.bytes_per_second)) { in http_response_omit_header()
59 r->conf.bytes_per_second = limit; in http_response_omit_header()
H A Dconfigfile.c152 pconf->bytes_per_second = (unsigned int)cpv->v.shrt << 10;/* (*=1024) */ in config_merge_config_cpv()