Mercurial > hg > nginx
comparison src/mail/ngx_mail_imap_handler.c @ 4384:a8b6d5dee539
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
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 26 Dec 2011 10:51:24 +0000 |
parents | dd1570b6f237 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4383:5130c16a130e | 4384:a8b6d5dee539 |
---|