From 3338cfdfbc5522ca96319ece6d21ddc4d1dce45d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 11 May 2006 14:43:47 +0000 Subject: nginx-0.3.46-RELEASE import *) 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. --- src/core/ngx_string.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/core/ngx_string.h') 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 } -- cgit