Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.h @ 201:267ea1d98683
nginx-0.0.1-2003-11-30-23:03:18 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 30 Nov 2003 20:03:18 +0000 |
parents | abeaebe0a33c |
children | 00cafae0bdf1 |
comparison
equal
deleted
inserted
replaced
200:abeaebe0a33c | 201:267ea1d98683 |
---|---|
142 time_t date_time; | 142 time_t date_time; |
143 time_t last_modified_time; | 143 time_t last_modified_time; |
144 } ngx_http_headers_out_t; | 144 } ngx_http_headers_out_t; |
145 | 145 |
146 | 146 |
147 typedef struct { | 147 struct ngx_http_cleanup_s { |
148 union { | 148 union { |
149 struct { | 149 struct { |
150 ngx_fd_t fd; | 150 ngx_fd_t fd; |
151 char *name; | 151 char *name; |
152 } file; | 152 } file; |
155 ngx_http_cache_hash_t *hash; | 155 ngx_http_cache_hash_t *hash; |
156 ngx_http_cache_t *cache; | 156 ngx_http_cache_t *cache; |
157 } cache; | 157 } cache; |
158 } data; | 158 } data; |
159 | 159 |
160 unsigned valid:1; | |
160 unsigned cache:1; | 161 unsigned cache:1; |
161 } ngx_http_cleanup_t; | 162 }; |
162 | 163 |
163 | 164 |
164 typedef int (*ngx_http_handler_pt)(ngx_http_request_t *r); | 165 typedef int (*ngx_http_handler_pt)(ngx_http_request_t *r); |
165 | 166 |
166 struct ngx_http_request_s { | 167 struct ngx_http_request_s { |
192 ngx_str_t request_line; | 193 ngx_str_t request_line; |
193 ngx_str_t uri; | 194 ngx_str_t uri; |
194 ngx_str_t args; | 195 ngx_str_t args; |
195 ngx_str_t exten; | 196 ngx_str_t exten; |
196 ngx_str_t unparsed_uri; | 197 ngx_str_t unparsed_uri; |
197 ngx_str_t path; | |
198 int path_allocated; | |
199 | 198 |
200 ngx_http_request_t *main; | 199 ngx_http_request_t *main; |
201 | 200 |
202 u_int in_addr; | 201 u_int in_addr; |
203 int port; | 202 int port; |