Mercurial > hg > nginx-vendor-0-6
comparison src/http/ngx_http_request.h @ 182:13710a1813ad NGINX_0_3_38
nginx 0.3.38
*) Feature: the ngx_http_dav_module.
*) Change: the ngx_http_perl_module optimizations.
Thanks to Sergey Skvortsov.
*) Feature: the ngx_http_perl_module supports the $r->request_body_file
method.
*) Feature: the "client_body_in_file_only" directive.
*) Workaround: now on disk overflow nginx tries to write access logs
once a second only.
Thanks to Anton Yuzhaninov and Maxim Dounin.
*) Bugfix: now the "limit_rate" directive more precisely limits rate if
rate is more than 100 Kbyte/s.
Thanks to ForJest.
*) Bugfix: now the IMAP/POP3 proxy escapes the "\r" and "\n" symbols in
login and password to pass authorization server.
Thanks to Maxim Dounin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 14 Apr 2006 00:00:00 +0400 |
parents | 4cd3e70c4d60 |
children | 54aabf2b0bc6 |
comparison
equal
deleted
inserted
replaced
181:de8983d10e75 | 182:13710a1813ad |
---|---|
17 | 17 |
18 #define NGX_HTTP_VERSION_9 9 | 18 #define NGX_HTTP_VERSION_9 9 |
19 #define NGX_HTTP_VERSION_10 1000 | 19 #define NGX_HTTP_VERSION_10 1000 |
20 #define NGX_HTTP_VERSION_11 1001 | 20 #define NGX_HTTP_VERSION_11 1001 |
21 | 21 |
22 #define NGX_HTTP_UNKNOWN 1 | 22 #define NGX_HTTP_UNKNOWN 0x0001 |
23 #define NGX_HTTP_GET 2 | 23 #define NGX_HTTP_GET 0x0002 |
24 #define NGX_HTTP_HEAD 4 | 24 #define NGX_HTTP_HEAD 0x0004 |
25 #define NGX_HTTP_POST 8 | 25 #define NGX_HTTP_POST 0x0008 |
26 #define NGX_HTTP_PUT 0x0010 | |
27 #define NGX_HTTP_DELETE 0x0020 | |
26 | 28 |
27 #define NGX_HTTP_CONNECTION_CLOSE 1 | 29 #define NGX_HTTP_CONNECTION_CLOSE 1 |
28 #define NGX_HTTP_CONNECTION_KEEP_ALIVE 2 | 30 #define NGX_HTTP_CONNECTION_KEEP_ALIVE 2 |
29 | 31 |
30 | 32 |
42 | 44 |
43 #define NGX_HTTP_ZERO_IN_URI 1 | 45 #define NGX_HTTP_ZERO_IN_URI 1 |
44 | 46 |
45 | 47 |
46 #define NGX_HTTP_OK 200 | 48 #define NGX_HTTP_OK 200 |
49 #define NGX_HTTP_CREATED 201 | |
47 #define NGX_HTTP_NO_CONTENT 204 | 50 #define NGX_HTTP_NO_CONTENT 204 |
48 #define NGX_HTTP_PARTIAL_CONTENT 206 | 51 #define NGX_HTTP_PARTIAL_CONTENT 206 |
49 | 52 |
50 #define NGX_HTTP_SPECIAL_RESPONSE 300 | 53 #define NGX_HTTP_SPECIAL_RESPONSE 300 |
51 #define NGX_HTTP_MOVED_PERMANENTLY 301 | 54 #define NGX_HTTP_MOVED_PERMANENTLY 301 |
227 typedef struct { | 230 typedef struct { |
228 ngx_temp_file_t *temp_file; | 231 ngx_temp_file_t *temp_file; |
229 ngx_chain_t *bufs; | 232 ngx_chain_t *bufs; |
230 ngx_buf_t *buf; | 233 ngx_buf_t *buf; |
231 size_t rest; | 234 size_t rest; |
235 ngx_chain_t *to_write; | |
232 ngx_http_client_body_handler_pt post_handler; | 236 ngx_http_client_body_handler_pt post_handler; |
233 } ngx_http_request_body_t; | 237 } ngx_http_request_body_t; |
234 | 238 |
235 | 239 |
236 typedef struct { | 240 typedef struct { |
372 | 376 |
373 unsigned valid_location:1; | 377 unsigned valid_location:1; |
374 unsigned valid_unparsed_uri:1; | 378 unsigned valid_unparsed_uri:1; |
375 unsigned uri_changed:1; | 379 unsigned uri_changed:1; |
376 unsigned uri_changes:4; | 380 unsigned uri_changes:4; |
381 | |
382 unsigned request_body_in_single_buf:1; | |
383 unsigned request_body_in_file_only:1; | |
384 unsigned request_body_in_persistent_file:1; | |
385 unsigned request_body_delete_incomplete_file:1; | |
386 unsigned request_body_file_group_access:1; | |
377 | 387 |
378 unsigned fast_subrequest:1; | 388 unsigned fast_subrequest:1; |
379 | 389 |
380 unsigned low_case_exten:1; | 390 unsigned low_case_exten:1; |
381 unsigned header_timeout_set:1; | 391 unsigned header_timeout_set:1; |