comparison src/core/ngx_string.h @ 649:1e720b0be7ec release-0.3.46

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.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 11 May 2006 14:43:47 +0000
parents 77f77f53214a
children 400711951595
comparison
equal deleted inserted replaced
648:e60de1d1cdb2 649:1e720b0be7ec
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