arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1527509.patch

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