comparison src/core/ngx_string.c @ 320:1e9e2c5e7c14 NGINX_0_5_30

nginx 0.5.30 *) Feature: the $args variable can be set with the "set" directive. *) Feature: the $is_args variable. *) Bugfix: if a client has closed connection to mail proxy then nginx might not close connection to backend. *) Bugfix: now nginx escapes space in $memcached_key variable. *) Bugfix: a segmentation fault might occur in worker process when the HTTPS protocol was used in the "proxy_pass" directive. *) Bugfix: the perl $$ variable value in ngx_http_perl_module was equal to the master process identification number. *) Bugfix: fix building on Solaris/amd64 by Sun Studio 11 and early versions; bug appeared in 0.5.29.
author Igor Sysoev <http://sysoev.ru>
date Mon, 30 Jul 2007 00:00:00 +0400
parents 3021f899881a
children 7cf404023f50
comparison
equal deleted inserted replaced
319:10d5a311cc5e 320:1e9e2c5e7c14
1057 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ 1057 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */
1058 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ 1058 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */
1059 0xffffffff /* 1111 1111 1111 1111 1111 1111 1111 1111 */ 1059 0xffffffff /* 1111 1111 1111 1111 1111 1111 1111 1111 */
1060 }; 1060 };
1061 1061
1062 static uint32_t *map[] = { uri, args, html, refresh }; 1062 /* " ", %00-%1F */
1063
1064 static uint32_t memcached[] = {
1065 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */
1066
1067 /* ?>=< ;:98 7654 3210 /.-, +*)( '&%$ #"! */
1068 0x00000001, /* 0000 0000 0000 0000 0000 0000 0000 0001 */
1069
1070 /* _^]\ [ZYX WVUT SRQP ONML KJIH GFED CBA@ */
1071 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */
1072
1073 /* ~}| {zyx wvut srqp onml kjih gfed cba` */
1074 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */
1075
1076 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */
1077 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */
1078 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */
1079 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */
1080 };
1081
1082 static uint32_t *map[] = { uri, args, html, refresh, memcached };
1063 1083
1064 1084
1065 escape = map[type]; 1085 escape = map[type];
1066 1086
1067 if (dst == NULL) { 1087 if (dst == NULL) {