comparison src/core/ngx_string.h @ 198:e6da4931e0e0 NGINX_0_3_46

nginx 0.3.46 *) Feature: the "proxy_hide_header", "proxy_pass_header", "fastcgi_hide_header", and "fastcgi_pass_header" directives. *) Change: the "proxy_pass_x_powered_by", "fastcgi_x_powered_by", and "proxy_pass_server" directives were canceled. *) Feature: the "X-Accel-Buffering" response header line is supported in proxy mode. *) Bugfix: the reconfiguration bug and memory leaks in the ngx_http_perl_module.
author Igor Sysoev <http://sysoev.ru>
date Thu, 11 May 2006 00:00:00 +0400
parents 50bd986c5d63
children 3866d57d9cfd
comparison
equal deleted inserted replaced
197:93658b91fad2 198:e6da4931e0e0
11 #include <ngx_config.h> 11 #include <ngx_config.h>
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 13
14 14
15 typedef struct { 15 typedef struct {
16 size_t len; 16 size_t len;
17 u_char *data; 17 u_char *data;
18 } ngx_str_t; 18 } ngx_str_t;
19
20
21 typedef struct {
22 ngx_str_t key;
23 ngx_str_t value;
24 } ngx_keyval_t;
19 25
20 26
21 #define ngx_string(str) { sizeof(str) - 1, (u_char *) str } 27 #define ngx_string(str) { sizeof(str) - 1, (u_char *) str }
22 #define ngx_null_string { 0, NULL } 28 #define ngx_null_string { 0, NULL }
23 29