SOURCES: apache-mod_fastcgi-apr1.patch - up to 2.4.6
zbyniu
zbyniu at pld-linux.org
Fri Dec 28 03:01:42 CET 2007
Author: zbyniu Date: Fri Dec 28 02:01:42 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- up to 2.4.6
---- Files affected:
SOURCES:
apache-mod_fastcgi-apr1.patch (1.28 -> 1.29)
---- Diffs:
================================================================
Index: SOURCES/apache-mod_fastcgi-apr1.patch
diff -u SOURCES/apache-mod_fastcgi-apr1.patch:1.28 SOURCES/apache-mod_fastcgi-apr1.patch:1.29
--- SOURCES/apache-mod_fastcgi-apr1.patch:1.28 Wed Oct 6 19:58:34 2004
+++ SOURCES/apache-mod_fastcgi-apr1.patch Fri Dec 28 03:01:37 2007
@@ -961,7 +961,7 @@
ap_no2slash(path);
for (s = fcgi_servers; s != NULL; s = s->next) {
-@@ -367,21 +367,21 @@
+@@ -367,16 +367,16 @@
const char *err;
if (finfo == NULL) {
@@ -971,12 +971,6 @@
- return ap_psprintf(p, "stat(%s) failed: %s", fs_path, strerror(errno));
+ return apr_psprintf(p, "stat(%s) failed: %s", fs_path, strerror(errno));
}
-
- /* No Parse Header scripts aren't allowed.
- * @@@ Well... we really could quite easily */
- if (strncmp(strrchr(fs_path, '/'), "/nph-", 5) == 0)
-- return ap_psprintf(p, "NPH scripts cannot be run as FastCGI");
-+ return apr_psprintf(p, "NPH scripts cannot be run as FastCGI");
if (finfo->st_mode == 0)
- return ap_psprintf(p, "script not found or unable to stat()");
@@ -1078,15 +1072,18 @@
continue;
}
-@@ -736,7 +736,7 @@
- goto DuplicateNotAllowed;
+@@ -738,9 +738,9 @@
}
hasContentType = TRUE;
+ #ifdef APACHE2
+- ap_set_content_type(r, value);
++ apr_set_content_type(r, value);
+ #else
- r->content_type = ap_pstrdup(r->pool, value);
+ r->content_type = apr_pstrdup(r->pool, value);
+ #endif
continue;
}
-
@@ -745,16 +745,16 @@
goto DuplicateNotAllowed;
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apache-mod_fastcgi-apr1.patch?r1=1.28&r2=1.29&f=u
More information about the pld-cvs-commit
mailing list