summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_pthread_thread.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-02-05 20:05:11 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-02-05 20:05:11 +0000
commitf4d00a96acd56fb0d41233f5f1346f051528129a (patch)
tree1eac3a0a2be9eb417abba875275894bf05e0903e /src/os/unix/ngx_pthread_thread.c
parenta22bc749c7b170ec8883ef614dd8dd88fca53aaa (diff)
downloadnginx-f4d00a96acd56fb0d41233f5f1346f051528129a.tar.gz
nginx-f4d00a96acd56fb0d41233f5f1346f051528129a.tar.bz2
Merge of r4416:
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.
Diffstat (limited to 'src/os/unix/ngx_pthread_thread.c')
0 files changed, 0 insertions, 0 deletions