altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1527509.patch

008793
diff -Npru httpd-2.4.6.orig/modules/dav/main/mod_dav.c httpd-2.4.6/modules/dav/main/mod_dav.c
008793
--- httpd-2.4.6.orig/modules/dav/main/mod_dav.c 2015-06-24 12:24:47.920000000 -0400
008793
+++ httpd-2.4.6/modules/dav/main/mod_dav.c      2015-06-24 12:27:19.706000000 -0400
008793
@@ -316,6 +316,8 @@ static int dav_error_response(request_re
008793
 {
008793
     r->status = status;
008793
 
008793
+    r->status_line = ap_get_status_line(status);
008793
+
008793
     ap_set_content_type(r, "text/html; charset=ISO-8859-1");
008793
 
008793
     /* begin the response now... */
008793
@@ -347,6 +349,8 @@ static int dav_error_response_tag(reques
008793
 {
008793
     r->status = err->status;
008793
 
008793
+    r->status_line = ap_get_status_line(err->status);
008793
+
008793
     ap_set_content_type(r, DAV_XML_CONTENT_TYPE);
008793
 
008793
     ap_rputs(DAV_XML_HEADER DEBUG_CR