comparison src/http/modules/ngx_http_memcached_module.c @ 194:003bd800ec2a NGINX_0_3_44

nginx 0.3.44 *) Feature: the "wait" parameter in the "include" SSI command. *) Feature: the Ukrainian and Byelorussian characters were added to koi-win conversion table. *) Bugfix: in the SSI.
author Igor Sysoev <http://sysoev.ru>
date Thu, 04 May 2006 00:00:00 +0400
parents 87699398f955
children e6da4931e0e0
comparison
equal deleted inserted replaced
193:2a1394604ae9 194:003bd800ec2a
152 ngx_int_t rc; 152 ngx_int_t rc;
153 ngx_http_upstream_t *u; 153 ngx_http_upstream_t *u;
154 ngx_http_memcached_ctx_t *ctx; 154 ngx_http_memcached_ctx_t *ctx;
155 ngx_http_memcached_loc_conf_t *mlcf; 155 ngx_http_memcached_loc_conf_t *mlcf;
156 156
157 if (r->method != NGX_HTTP_GET && r->method != NGX_HTTP_HEAD) { 157 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
158 return NGX_HTTP_NOT_ALLOWED; 158 return NGX_HTTP_NOT_ALLOWED;
159 } 159 }
160 160
161 rc = ngx_http_discard_body(r); 161 rc = ngx_http_discard_body(r);
162 162