comparison src/http/ngx_http_core_module.c @ 641:5e8fb59c18c1 release-0.3.42

nginx-0.3.42-RELEASE import *) Feature: the "bind" option of the "listen" directive in IMAP/POP3 proxy. *) Bugfix: if the same capture in the "rewrite" directive was used more then once. *) Bugfix: the $sent_http_content_type, $sent_http_content_length, $sent_http_last_modified, $sent_http_connection, $sent_http_keep_alive, and $sent_http_transfer_encoding variables were not written to access log. *) Bugfix: the $sent_http_cache_control returned value of the single "Cache-Control" response header line.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Apr 2006 09:52:47 +0000
parents e60fe4cf1d4e
children 947c6fd27699
comparison
equal deleted inserted replaced
640:5fd31c2fe4a8 641:5e8fb59c18c1
1326 r->loc_conf = cscf->ctx->loc_conf; 1326 r->loc_conf = cscf->ctx->loc_conf;
1327 1327
1328 ngx_http_update_location_config(r); 1328 ngx_http_update_location_config(r);
1329 1329
1330 r->internal = 1; 1330 r->internal = 1;
1331 r->method = NGX_HTTP_GET;
1331 1332
1332 ngx_http_handler(r); 1333 ngx_http_handler(r);
1333 1334
1334 return NGX_DONE; 1335 return NGX_DONE;
1335 } 1336 }
2526 2527
2527 2528
2528 static ngx_http_method_name_t ngx_methods_names[] = { 2529 static ngx_http_method_name_t ngx_methods_names[] = {
2529 { "GET", (uint32_t) ~NGX_HTTP_GET }, 2530 { "GET", (uint32_t) ~NGX_HTTP_GET },
2530 { "HEAD", (uint32_t) ~NGX_HTTP_HEAD }, 2531 { "HEAD", (uint32_t) ~NGX_HTTP_HEAD },
2532 { "POST", (uint32_t) ~NGX_HTTP_POST },
2531 { NULL, 0 } 2533 { NULL, 0 }
2532 }; 2534 };
2533 2535
2534 2536
2535 static char * 2537 static char *