+Changes with nginx 0.7.41 11 Mar 2009
+
+ *) Bugfix: a segmentation fault might occur in worker process, if a
+ "server_name" or a "location" directives had captures in regular
+ expressions; the issue had appeared in 0.7.40.
+ Thanks to Vladimir Sopot.
+
+
Changes with nginx 0.7.40 09 Mar 2009
*) Feature: the "location" directive supports captures in regular
+éÚÍÅÎÅÎÉÑ × nginx 0.7.41 11.03.2009
+
+ *) éÓÐÒÁ×ÌÅÎÉÅ: × ÒÁÂÏÞÅÍ ÐÒÏÃÅÓÓÅ ÍÏÇ ÐÒÏÉÚÏÊÔÉ segmentation fault,
+ ÅÓÌÉ × server_name ÉÌÉ location ÂÙÌÉ ×ÙÄÅÌÅÎÉÑ × ÒÅÇÕÌÑÒÎÙÈ
+ ×ÙÒÁÖÅÎÉÑÈ; ÏÛÉÂËÁ ÐÏÑ×ÉÌÁÓØ × 0.7.40.
+ óÐÁÓÉÂÏ ÷ÌÁÄÉÍÉÒÕ óÏÐÏÔÕ.
+
+
éÚÍÅÎÅÎÉÑ × nginx 0.7.40 09.03.2009
*) äÏÂÁ×ÌÅÎÉÅ: ÄÉÒÅËÔÉ×Á location ÐÏÄÄÅÒÖÉ×ÁÅÔ ×ÙÄÅÌÅÎÉÑ × ÒÅÇÕÌÑÒÎÙÈ
#define _NGINX_H_INCLUDED_
-#define NGINX_VERSION "0.7.40"
+#define NGINX_VERSION "0.7.41"
#define NGINX_VER "nginx/" NGINX_VERSION
#define NGINX_VAR "NGINX"
HTTP_INSUFFICIENT_STORAGE
);
-our $VERSION = '0.7.40';
+our $VERSION = '0.7.41';
require XSLoader;
XSLoader::load('nginx', $VERSION);
if ((*clcfp)->captures && r->captures == NULL) {
- len = (NGX_HTTP_MAX_CAPTURES + 1) * 3 * sizeof(int);
+ len = (NGX_HTTP_MAX_CAPTURES + 1) * 3;
- r->captures = ngx_palloc(r->pool, len);
+ r->captures = ngx_palloc(r->pool, len * sizeof(int));
if (r->captures == NULL) {
return NGX_ERROR;
}
if (sn[i].captures && r->captures == NULL) {
- ncaptures = (NGX_HTTP_MAX_CAPTURES + 1) * 3 * sizeof(int);
+ ncaptures = (NGX_HTTP_MAX_CAPTURES + 1) * 3;
- r->captures = ngx_palloc(r->pool, ncaptures);
+ r->captures = ngx_palloc(r->pool, ncaptures * sizeof(int));
if (r->captures == NULL) {
return NGX_ERROR;
}