about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-08-28 05:30:46 +0000
committerEric Wong <normalperson@yhbt.net>2010-08-28 06:56:22 +0000
commit7309e4b73e134ee7969cc8150b6ebaa6b8f8cb62 (patch)
tree0acffed2b26256a43a78c10bc9a96946559a8d9e /t
parentaa599d00907df159f8b33a62108bfa88f407392e (diff)
downloadunicorn-7309e4b73e134ee7969cc8150b6ebaa6b8f8cb62.tar.gz
IOError may occur due to race conditions as another thread
may close the file immediately after we call File#closed?
to check.

Errno::EBADF may occur in some applications that close a file
descriptor without notifying Ruby (or if two IO objects refer to
the same descriptor, possibly one of them using IO#for_fd).
(cherry picked from commit 4b23693b9082a84433a9e6c1f358b58420176b27)
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions