diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-02-05 16:12:55 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-02-05 16:12:55 +0000 |
| commit | 21f546d0d6b2938d6a8305079ed26c8e49d4f5e2 (patch) | |
| tree | 378da824a66d4b780c1211827d709a1214169609 /src/os/unix/ngx_files.c | |
| parent | ff8c2aedfee6514ba50391dcf5fef5bd02016684 (diff) | |
| download | nginx-21f546d0d6b2938d6a8305079ed26c8e49d4f5e2.tar.gz nginx-21f546d0d6b2938d6a8305079ed26c8e49d4f5e2.tar.bz2 | |
Merge of r4384, r4385:
Fixes for limit_rate:
*) Fixed throughput problems with large limit_rate.
Previous attempt to fix this was in r1658 (0.6.18), though that one
wasn't enough (it was a noop).
*) Fixed interaction of limit_rate and sendfile_max_chunk.
It's possible that configured limit_rate will permit more bytes per
single operation than sendfile_max_chunk. To protect disk from
takeover by a single client it is necessary to apply sendfile_max_chunk
as a limit regardless of configured limit_rate.
See here for report (in Russian):
http://mailman.nginx.org/pipermail/nginx-ru/2010-March/032806.html
Diffstat (limited to 'src/os/unix/ngx_files.c')
0 files changed, 0 insertions, 0 deletions
