Mercurial > hg > nginx-mail
comparison src/http/modules/perl/ngx_http_perl_module.c @ 382:984bb0b1399b NGINX_0_7_3
nginx 0.7.3
*) Change: the "rss" extension MIME type has been changed to
"application/rss+xml".
*) Change: now the "gzip_vary" directive turned on issues a
"Vary: Accept-Encoding" header line for uncompressed responses too.
*) Feature: now the "rewrite" directive does a redirect automatically
if the "https://" protocol is used.
*) Bugfix: the "proxy_pass" directive did not work with the HTTPS
protocol; the bug had appeared in 0.6.9.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Jun 2008 00:00:00 +0400 |
parents | 9a242235a80a |
children | dac47e9ef0d5 |
comparison
equal
deleted
inserted
replaced
381:23d1555141d9 | 382:984bb0b1399b |
---|---|
701 | 701 |
702 } else { | 702 } else { |
703 line = SvPVx(POPs, n_a); | 703 line = SvPVx(POPs, n_a); |
704 rv->len = n_a; | 704 rv->len = n_a; |
705 | 705 |
706 rv->data = ngx_palloc(r->pool, n_a); | 706 rv->data = ngx_pnalloc(r->pool, n_a); |
707 if (rv->data == NULL) { | 707 if (rv->data == NULL) { |
708 return NGX_ERROR; | 708 return NGX_ERROR; |
709 } | 709 } |
710 | 710 |
711 ngx_memcpy(rv->data, line, n_a); | 711 ngx_memcpy(rv->data, line, n_a); |