diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-10-24 15:09:41 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-10-24 15:09:41 +0000 |
commit | 9ac946bcc9f8f3735af8eb253c1e89f177db5827 (patch) | |
tree | 0d42898bfbe5931131d4544699b18c9d697d2cef /src/http/ngx_http_request.h | |
parent | 51d8bcc28b729a8a3056a0c98e2c44e466351141 (diff) | |
download | nginx-9ac946bcc9f8f3735af8eb253c1e89f177db5827.tar.gz nginx-9ac946bcc9f8f3735af8eb253c1e89f177db5827.zip |
nginx-0.3.6-RELEASE importrelease-0.3.6
*) Change: now the IMAP/POP3 proxy do not send the empty login to
authorization server.
*) Feature: the "log_format" supports the variables in the $name form.
*) Bugfix: if at least in one server was no the "listen" directive,
then nginx did not listen on the 80 port; the bug had appeared in
0.3.3.
*) Bugfix: if the URI part is omitted in "proxy_pass" directive, the
the 80 port was always used.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 8dbf0bac1..40a328c32 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -125,7 +125,7 @@ typedef struct { typedef struct { ngx_str_t name; ngx_uint_t offset; -} ngx_http_header0_t; +} ngx_http_header_out_t; typedef struct { @@ -238,6 +238,17 @@ typedef struct { } ngx_http_connection_t; +typedef void (*ngx_http_cleanup_pt)(void *data); + +typedef struct ngx_http_cleanup_s ngx_http_cleanup_t; + +struct ngx_http_cleanup_s { + ngx_http_cleanup_pt handler; + void *data; + ngx_http_cleanup_t *next; +}; + + typedef struct ngx_http_postponed_request_s ngx_http_postponed_request_t; struct ngx_http_postponed_request_s { @@ -325,6 +336,8 @@ struct ngx_http_request_s { ngx_http_log_handler_pt log_handler; + ngx_http_cleanup_t *cleanup; + unsigned http_state:4; /* URI with "/." and on Win32 with "//" */ @@ -401,8 +414,8 @@ struct ngx_http_request_s { }; -extern ngx_http_header_t ngx_http_headers_in[]; -extern ngx_http_header0_t ngx_http_headers_out[]; +extern ngx_http_header_t ngx_http_headers_in[]; +extern ngx_http_header_out_t ngx_http_headers_out[]; #endif /* _NGX_HTTP_REQUEST_H_INCLUDED_ */ |