commit | 77d7f80285c93510b54df15267155d3a778e7071 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Fri Mar 23 11:33:47 2007 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Fri Mar 23 11:33:47 2007 +0000 |
tree | 30cb361165636fb1232ddab228f19022ac548f08 | |
parent | e47cad4140ac4194fdedd058be0e25967ff43afd [diff] |
fix segfault if upstream sends trailing ";" in "charset="
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 6f548a3..6af214c 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -2326,6 +2326,8 @@ r->headers_out.charset.len = h->value.data + h->value.len - p; r->headers_out.charset.data = p; + + return NGX_OK; } return NGX_OK;