comparison src/http/ngx_http_core_module.h @ 2640:a69e3766f698 stable-0.6

r2362, r2497 merge: if_modified_since
author Igor Sysoev <igor@sysoev.ru>
date Wed, 01 Apr 2009 15:58:21 +0000
parents 9f15e5f8ff9e
children 87e1fcd9b604
comparison
equal deleted inserted replaced
2639:8deee4408c94 2640:a69e3766f698
26 26
27 #define NGX_HTTP_SATISFY_ALL 0 27 #define NGX_HTTP_SATISFY_ALL 0
28 #define NGX_HTTP_SATISFY_ANY 1 28 #define NGX_HTTP_SATISFY_ANY 1
29 29
30 30
31 #define NGX_HTTP_IMS_OFF 0
32 #define NGX_HTTP_IMS_EXACT 1
33 #define NGX_HTTP_IMS_BEFORE 2
34
35
31 typedef struct { 36 typedef struct {
32 unsigned default_server:1; 37 unsigned default_server:1;
33 unsigned bind:1; 38 unsigned bind:1;
34 39
35 int backlog; 40 int backlog;
290 ngx_resolver_t *resolver; /* resolver */ 295 ngx_resolver_t *resolver; /* resolver */
291 296
292 time_t keepalive_header; /* keepalive_timeout */ 297 time_t keepalive_header; /* keepalive_timeout */
293 298
294 ngx_uint_t satisfy; /* satisfy */ 299 ngx_uint_t satisfy; /* satisfy */
300 ngx_uint_t if_modified_since; /* if_modified_since */
295 301
296 ngx_flag_t internal; /* internal */ 302 ngx_flag_t internal; /* internal */
297 ngx_flag_t client_body_in_file_only; /* client_body_in_file_only */ 303 ngx_flag_t client_body_in_file_only; /* client_body_in_file_only */
298 ngx_flag_t sendfile; /* sendfile */ 304 ngx_flag_t sendfile; /* sendfile */
299 ngx_flag_t tcp_nopush; /* tcp_nopush */ 305 ngx_flag_t tcp_nopush; /* tcp_nopush */