comparison src/http/modules/perl/nginx.pm @ 578:bc110f60c0de NGINX_0_8_41

nginx 0.8.41 *) Security: nginx/Windows worker might be terminated abnormally if a requested file name has invalid UTF-8 encoding. *) Change: now nginx allows to use spaces in a request line. *) Bugfix: the "proxy_redirect" directive changed incorrectly a backend "Refresh" response header line. Thanks to Andrey Andreew and Max Sogin. *) Bugfix: nginx did not support path without host name in "Destination" request header line.
author Igor Sysoev <http://sysoev.ru>
date Tue, 15 Jun 2010 00:00:00 +0400
parents 01f2313e34f1
children 4d3e880ce86c
comparison
equal deleted inserted replaced
577:dd4c3325a56f 578:bc110f60c0de
12 OK 12 OK
13 DECLINED 13 DECLINED
14 14
15 HTTP_OK 15 HTTP_OK
16 HTTP_CREATED 16 HTTP_CREATED
17 HTTP_ACCEPTED
17 HTTP_NO_CONTENT 18 HTTP_NO_CONTENT
18 HTTP_PARTIAL_CONTENT 19 HTTP_PARTIAL_CONTENT
19 20
20 HTTP_MOVED_PERMANENTLY 21 HTTP_MOVED_PERMANENTLY
21 HTTP_MOVED_TEMPORARILY 22 HTTP_MOVED_TEMPORARILY
45 HTTP_SERVICE_UNAVAILABLE 46 HTTP_SERVICE_UNAVAILABLE
46 HTTP_GATEWAY_TIME_OUT 47 HTTP_GATEWAY_TIME_OUT
47 HTTP_INSUFFICIENT_STORAGE 48 HTTP_INSUFFICIENT_STORAGE
48 ); 49 );
49 50
50 our $VERSION = '0.8.40'; 51 our $VERSION = '0.8.41';
51 52
52 require XSLoader; 53 require XSLoader;
53 XSLoader::load('nginx', $VERSION); 54 XSLoader::load('nginx', $VERSION);
54 55
55 # Preloaded methods go here. 56 # Preloaded methods go here.
57 use constant OK => 0; 58 use constant OK => 0;
58 use constant DECLINED => -5; 59 use constant DECLINED => -5;
59 60
60 use constant HTTP_OK => 200; 61 use constant HTTP_OK => 200;
61 use constant HTTP_CREATED => 201; 62 use constant HTTP_CREATED => 201;
63 use constant HTTP_ACCEPTED => 202;
62 use constant HTTP_NO_CONTENT => 204; 64 use constant HTTP_NO_CONTENT => 204;
63 use constant HTTP_PARTIAL_CONTENT => 206; 65 use constant HTTP_PARTIAL_CONTENT => 206;
64 66
65 use constant HTTP_MOVED_PERMANENTLY => 301; 67 use constant HTTP_MOVED_PERMANENTLY => 301;
66 use constant HTTP_MOVED_TEMPORARILY => 302; 68 use constant HTTP_MOVED_TEMPORARILY => 302;