comparison src/http/modules/perl/nginx.pm @ 646:09a689c5e494 NGINX_1_0_13

nginx 1.0.13 *) Feature: the "return" and "error_page" directives can now be used to return 307 redirections. *) Bugfix: a segmentation fault might occur in a worker process if the "resolver" directive was used and there was no "error_log" directive specified at global level. Thanks to Roman Arutyunyan. *) Bugfix: memory leaks. Thanks to Lanshun Zhou. *) Bugfix: nginx might log incorrect error "upstream prematurely closed connection" instead of correct "upstream sent too big header" one. Thanks to Feibo Li. *) Bugfix: on ZFS filesystem disk cache size might be calculated incorrectly; the bug had appeared in 1.0.1. *) Bugfix: the number of internal redirects to named locations was not limited. *) Bugfix: temporary files might be not removed if the "proxy_store" directive was used with SSI includes. *) Bugfix: in some cases non-cacheable variables (such as the $args variable) returned old empty cached value. *) Bugfix: the "proxy_redirect" directives might be inherited incorrectly. *) Bugfix: nginx could not be built with the ngx_http_perl_module if the --with-openssl option was used. *) Bugfix: nginx could not be built by the icc 12.1 compiler.
author Igor Sysoev <http://sysoev.ru>
date Mon, 05 Mar 2012 00:00:00 +0400
parents ad25218fd14b
children fa9b9e42035e
comparison
equal deleted inserted replaced
645:60344e6faa47 646:09a689c5e494
19 HTTP_PARTIAL_CONTENT 19 HTTP_PARTIAL_CONTENT
20 20
21 HTTP_MOVED_PERMANENTLY 21 HTTP_MOVED_PERMANENTLY
22 HTTP_MOVED_TEMPORARILY 22 HTTP_MOVED_TEMPORARILY
23 HTTP_REDIRECT 23 HTTP_REDIRECT
24 HTTP_SEE_OTHER
24 HTTP_NOT_MODIFIED 25 HTTP_NOT_MODIFIED
26 HTTP_TEMPORARY_REDIRECT
25 27
26 HTTP_BAD_REQUEST 28 HTTP_BAD_REQUEST
27 HTTP_UNAUTHORIZED 29 HTTP_UNAUTHORIZED
28 HTTP_PAYMENT_REQUIRED 30 HTTP_PAYMENT_REQUIRED
29 HTTP_FORBIDDEN 31 HTTP_FORBIDDEN
46 HTTP_SERVICE_UNAVAILABLE 48 HTTP_SERVICE_UNAVAILABLE
47 HTTP_GATEWAY_TIME_OUT 49 HTTP_GATEWAY_TIME_OUT
48 HTTP_INSUFFICIENT_STORAGE 50 HTTP_INSUFFICIENT_STORAGE
49 ); 51 );
50 52
51 our $VERSION = '1.0.12'; 53 our $VERSION = '1.0.13';
52 54
53 require XSLoader; 55 require XSLoader;
54 XSLoader::load('nginx', $VERSION); 56 XSLoader::load('nginx', $VERSION);
55 57
56 # Preloaded methods go here. 58 # Preloaded methods go here.
65 use constant HTTP_PARTIAL_CONTENT => 206; 67 use constant HTTP_PARTIAL_CONTENT => 206;
66 68
67 use constant HTTP_MOVED_PERMANENTLY => 301; 69 use constant HTTP_MOVED_PERMANENTLY => 301;
68 use constant HTTP_MOVED_TEMPORARILY => 302; 70 use constant HTTP_MOVED_TEMPORARILY => 302;
69 use constant HTTP_REDIRECT => 302; 71 use constant HTTP_REDIRECT => 302;
72 use constant HTTP_SEE_OTHER => 303;
70 use constant HTTP_NOT_MODIFIED => 304; 73 use constant HTTP_NOT_MODIFIED => 304;
74 use constant HTTP_TEMPORARY_REDIRECT => 307;
71 75
72 use constant HTTP_BAD_REQUEST => 400; 76 use constant HTTP_BAD_REQUEST => 400;
73 use constant HTTP_UNAUTHORIZED => 401; 77 use constant HTTP_UNAUTHORIZED => 401;
74 use constant HTTP_PAYMENT_REQUIRED => 402; 78 use constant HTTP_PAYMENT_REQUIRED => 402;
75 use constant HTTP_FORBIDDEN => 403; 79 use constant HTTP_FORBIDDEN => 403;