aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-05-11 14:43:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-05-11 14:43:47 +0000
commit3338cfdfbc5522ca96319ece6d21ddc4d1dce45d (patch)
tree1e668fefd76a974c8ffdb0db6813022a6eb64e76 /src/core/ngx_string.h
parent418843dc7f2ff90ae371f41e5fea810e10e59317 (diff)
downloadnginx-3338cfdfbc5522ca96319ece6d21ddc4d1dce45d.tar.gz
nginx-3338cfdfbc5522ca96319ece6d21ddc4d1dce45d.zip
nginx-0.3.46-RELEASE importrelease-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.
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r--src/core/ngx_string.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index d76a0f555..818a290d1 100644
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -13,11 +13,17 @@
typedef struct {
- size_t len;
- u_char *data;
+ size_t len;
+ u_char *data;
} ngx_str_t;
+typedef struct {
+ ngx_str_t key;
+ ngx_str_t value;
+} ngx_keyval_t;
+
+
#define ngx_string(str) { sizeof(str) - 1, (u_char *) str }
#define ngx_null_string { 0, NULL }