Blob Blame History Raw
# ./pullrev.sh 1847288
http://svn.apache.org/viewvc?view=revision&revision=1847288

https://bugzilla.redhat.com/show_bug.cgi?id=1725922

--- httpd-2.4.25/modules/session/mod_session_cookie.c
+++ httpd-2.4.25/modules/session/mod_session_cookie.c
@@ -67,7 +67,7 @@
     if (conf->name_set) {
         if (z->encoded && z->encoded[0]) {
             ap_cookie_write(r, conf->name, z->encoded, conf->name_attrs,
-                            z->maxage, r->headers_out, r->err_headers_out,
+                            z->maxage, r->err_headers_out,
                             NULL);
         }
         else {
@@ -80,7 +80,7 @@
     if (conf->name2_set) {
         if (z->encoded && z->encoded[0]) {
             ap_cookie_write2(r, conf->name2, z->encoded, conf->name2_attrs,
-                             z->maxage, r->headers_out, r->err_headers_out,
+                             z->maxage, r->err_headers_out,
                              NULL);
         }
         else {
diff --git a/modules/session/mod_session_cookie.c b/modules/session/mod_session_cookie.c
index a010ee7..fee7c36 100644
--- a/modules/session/mod_session_cookie.c
+++ b/modules/session/mod_session_cookie.c
@@ -71,7 +71,7 @@ static apr_status_t session_cookie_save(request_rec * r, session_rec * z)
                             NULL);
         }
         else {
-            ap_cookie_remove(r, conf->name, conf->name_attrs, r->headers_out,
+            ap_cookie_remove(r, conf->name, conf->name_attrs,
                              r->err_headers_out, NULL);
         }
     }
@@ -85,7 +85,7 @@ static apr_status_t session_cookie_save(request_rec * r, session_rec * z)
         }
         else {
             ap_cookie_remove2(r, conf->name2, conf->name2_attrs,
-                              r->headers_out, r->err_headers_out, NULL);
+                              r->err_headers_out, NULL);
         }
     }