comparison src/http/ngx_http_request.h @ 118:644a7935144b NGINX_0_3_6

nginx 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; bug appeared in 0.3.3. *) Bugfix: if the URI part is omitted in "proxy_pass" directive, the the 80 port was always used.
author Igor Sysoev <http://sysoev.ru>
date Mon, 24 Oct 2005 00:00:00 +0400
parents 45945fa8b8ba
children d25a1d6034f1
comparison
equal deleted inserted replaced
117:0821ea4ccfc5 118:644a7935144b
123 123
124 124
125 typedef struct { 125 typedef struct {
126 ngx_str_t name; 126 ngx_str_t name;
127 ngx_uint_t offset; 127 ngx_uint_t offset;
128 } ngx_http_header0_t; 128 } ngx_http_header_out_t;
129 129
130 130
131 typedef struct { 131 typedef struct {
132 ngx_list_t headers; 132 ngx_list_t headers;
133 133
236 236
237 ngx_uint_t pipeline; /* unsigned pipeline:1; */ 237 ngx_uint_t pipeline; /* unsigned pipeline:1; */
238 } ngx_http_connection_t; 238 } ngx_http_connection_t;
239 239
240 240
241 typedef void (*ngx_http_cleanup_pt)(void *data);
242
243 typedef struct ngx_http_cleanup_s ngx_http_cleanup_t;
244
245 struct ngx_http_cleanup_s {
246 ngx_http_cleanup_pt handler;
247 void *data;
248 ngx_http_cleanup_t *next;
249 };
250
251
241 typedef struct ngx_http_postponed_request_s ngx_http_postponed_request_t; 252 typedef struct ngx_http_postponed_request_s ngx_http_postponed_request_t;
242 253
243 struct ngx_http_postponed_request_s { 254 struct ngx_http_postponed_request_s {
244 ngx_http_request_t *request; 255 ngx_http_request_t *request;
245 ngx_chain_t *out; 256 ngx_chain_t *out;
322 ngx_uint_t err_status; 333 ngx_uint_t err_status;
323 334
324 ngx_http_connection_t *http_connection; 335 ngx_http_connection_t *http_connection;
325 336
326 ngx_http_log_handler_pt log_handler; 337 ngx_http_log_handler_pt log_handler;
338
339 ngx_http_cleanup_t *cleanup;
327 340
328 unsigned http_state:4; 341 unsigned http_state:4;
329 342
330 /* URI with "/." and on Win32 with "//" */ 343 /* URI with "/." and on Win32 with "//" */
331 unsigned complex_uri:1; 344 unsigned complex_uri:1;
399 u_char *header_end; 412 u_char *header_end;
400 ngx_uint_t header_hash; 413 ngx_uint_t header_hash;
401 }; 414 };
402 415
403 416
404 extern ngx_http_header_t ngx_http_headers_in[]; 417 extern ngx_http_header_t ngx_http_headers_in[];
405 extern ngx_http_header0_t ngx_http_headers_out[]; 418 extern ngx_http_header_out_t ngx_http_headers_out[];
406 419
407 420
408 #endif /* _NGX_HTTP_REQUEST_H_INCLUDED_ */ 421 #endif /* _NGX_HTTP_REQUEST_H_INCLUDED_ */