]> git.kaiwu.me - nginx.git/commit
Allowed up to two EBUSY errors from sendfile().
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 3 Jan 2014 23:31:58 +0000 (03:31 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 3 Jan 2014 23:31:58 +0000 (03:31 +0400)
commit9a72030c2507a635d9c17a76a992cec21067dbcf
tree4a7f1b70800631b40f3b9dc6707fc135551ab207
parent2539ce036f6f9d9c2f0e9d6e723d1f0785b9dc0a
Allowed up to two EBUSY errors from sendfile().

Fallback to synchronous sendfile() now only done on 3rd EBUSY without
any progress in a row.  Not falling back is believed to be better
in case of occasional EBUSY, though protection is still needed to
make sure there will be no infinite loop.
src/core/ngx_connection.h
src/http/ngx_http_copy_filter_module.c