summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_file_aio_read.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-02-05Merge of r4416:Maxim Dounin1-18/+9
Fixed AIO error handling on FreeBSD. The aio_return() must be called regardless of the error returned by aio_error(). Not calling it resulted in various problems up to segmentation faults (as AIO events are level-triggered and were reported again and again). Additionally, in "aio sendfile" case r->blocked was incremented in case of error returned from ngx_file_aio_read(), thus causing request hangs.
2012-02-05Merge of r4406, r4413: copyrights updated.Maxim Dounin1-0/+1
2011-11-01Merging r4132, r4134, r4143, r4183, r4191, r4199:Igor Sysoev1-1/+1
Various fixes related to error messages: *) Removed old warning that suggested to use "server_name_in_redirect off" (now the default) in place of no longer supported "server_name *". *) Fixing directive name in error message if types hash size is not enough. *) Replaced "can not" with "cannot" and "could not" in a bunch of places. Fixed nearby grammar errors. *) Overhauled error messages.
2011-09-30Merging r4077, r4101, r4102:Igor Sysoev1-0/+3
open_file_cache related fixes: *) Bugfix: open_file_cache lost is_directio flag. On file retest open_file_cache lost is_directio if file wasn't changed. This caused unaligned operations under Linux to fail with EINVAL. It wasn't noticeable with AIO though, as errors wasn't properly logged. *) Bugfix: open_file_cache did not update file info on retest. If file inode was not changed, cached file information was not updated on retest. As a result stale information might be cached forever if file attributes was changed and/or file was extended.
2009-11-05export aio presence knowledge to prevent using "aio sendfile",Igor Sysoev1-6/+5
if aio does not present
2009-08-30aio sendfileIgor Sysoev1-1/+5
2009-08-28FreeBSD and Linux AIO supportIgor Sysoev1-0/+210