Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-04-21 19:59:36 +0400
committerIgor Sysoev <igor@sysoev.ru>2010-04-21 19:59:36 +0400
commitbfc8b78f5736eafe48432bb0d2f819b6a968b17a (patch)
tree03b939c788c73fc9847a2c95547f408bcbb0d9de /src/os/win32/ngx_files.h
parent9c1a43e050c4824304e84c1e9ec47f54ac1ac8b6 (diff)
use non-blocking open() not to hang on FIFO files, etc.
Diffstat (limited to 'src/os/win32/ngx_files.h')
-rw-r--r--src/os/win32/ngx_files.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/win32/ngx_files.h b/src/os/win32/ngx_files.h
index 610fcd0dc..c5bb88807 100644
--- a/src/os/win32/ngx_files.h
+++ b/src/os/win32/ngx_files.h
@@ -64,6 +64,7 @@ ngx_fd_t ngx_open_file(u_char *name, u_long mode, u_long create, u_long access);
#define NGX_FILE_WRONLY GENERIC_WRITE
#define NGX_FILE_RDWR GENERIC_READ|GENERIC_WRITE
#define NGX_FILE_APPEND FILE_APPEND_DATA|SYNCHRONIZE
+#define NGX_FILE_NONBLOCK 0
#define NGX_FILE_CREATE_OR_OPEN OPEN_ALWAYS
#define NGX_FILE_OPEN OPEN_EXISTING