183 |
#define MMAP_LIST_NEXT(i) (((i)+1)%max_files_cache) |
#define MMAP_LIST_NEXT(i) (((i)+1)%max_files_cache) |
184 |
#define MMAP_LIST_HASH(dev,ino,size) ((ino)%max_files_cache) |
#define MMAP_LIST_HASH(dev,ino,size) ((ino)%max_files_cache) |
185 |
|
|
186 |
|
/***************** HTTP HEADER STUFF ***************************/ |
187 |
|
|
188 |
|
#define TEXT_HTML "text/html; charset=ISO-8859-1" |
189 |
|
#define CRLF "\r\n" |
190 |
|
#define HTTP_VERSION "HTTP/1.0" |
191 |
|
|
192 |
|
|
193 |
/***************** USEFUL MACROS ************************/ |
/***************** USEFUL MACROS ************************/ |
194 |
|
|
195 |
#define SQUASH_KA(req) (req->keepalive=KA_STOPPED) |
#define SQUASH_KA(req) (req->keepalive=KA_STOPPED) |