diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-11-02 22:56:18 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-02 22:56:18 +0000 |
| commit | 659774979feb9741a441505e26774b35830fd4ca (patch) | |
| tree | 596059bbe20959ad54cbfde8bcdf24cd7f9e9f83 /src/core/ngx_hunk.h | |
| parent | fe0f5cc6e1e48412235ae91c2f71ec2ec9110a60 (diff) | |
| download | nginx-659774979feb9741a441505e26774b35830fd4ca.tar.gz nginx-659774979feb9741a441505e26774b35830fd4ca.tar.bz2 | |
nginx-0.0.1-2003-11-03-01:56:18 import
Diffstat (limited to 'src/core/ngx_hunk.h')
| -rw-r--r-- | src/core/ngx_hunk.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h index e68ba6d22..2c6664b60 100644 --- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -20,7 +20,7 @@ #define NGX_HUNK_RECYCLED 0x0010 /* the hunk is in file */ -#define NGX_HUNK_FILE 0x0100 +#define NGX_HUNK_FILE 0x0020 #define NGX_HUNK_STORAGE (NGX_HUNK_IN_MEMORY \ |NGX_HUNK_TEMP|NGX_HUNK_MEMORY|NGX_HUNK_MMAP \ @@ -30,9 +30,12 @@ /* in thread state flush means to write the hunk completely before return */ /* in event state flush means to start to write the hunk */ -#define NGX_HUNK_FLUSH 0x1000 +#define NGX_HUNK_FLUSH 0x0100 /* last hunk */ -#define NGX_HUNK_LAST 0x2000 +#define NGX_HUNK_LAST 0x0200 + + +#define NGX_HUNK_PREREAD 0x2000 #define NGX_HUNK_LAST_SHADOW 0x4000 #define NGX_HUNK_TEMP_FILE 0x8000 |
