Mercurial > hg > nginx-vendor-0-8
comparison src/http/modules/ngx_http_fastcgi_module.c @ 266:251bcd11a5b8 NGINX_0_5_3
nginx 0.5.3
*) Feature: the ngx_http_perl_module supports the $r->status,
$r->log_error, and $r->sleep methods.
*) Feature: the $r->variable method supports variables that do not
exist in nginx configuration.
*) Bugfix: the $r->has_request_body method did not work.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 13 Dec 2006 00:00:00 +0300 |
parents | e0b1d0a6c629 |
children | 052a7b1d40e5 |
comparison
equal
deleted
inserted
replaced
265:3d4634b3b321 | 266:251bcd11a5b8 |
---|---|
2008 value = cf->args->elts; | 2008 value = cf->args->elts; |
2009 | 2009 |
2010 ngx_memzero(&u, sizeof(ngx_url_t)); | 2010 ngx_memzero(&u, sizeof(ngx_url_t)); |
2011 | 2011 |
2012 u.url = value[1]; | 2012 u.url = value[1]; |
2013 u.upstream = 1; | |
2014 u.no_resolve = 1; | 2013 u.no_resolve = 1; |
2015 | 2014 |
2016 lcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); | 2015 lcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); |
2017 if (lcf->upstream.upstream == NULL) { | 2016 if (lcf->upstream.upstream == NULL) { |
2018 return NGX_CONF_ERROR; | 2017 return NGX_CONF_ERROR; |