/[Apache-SVN]
ViewVC logotype

Revision 1843244


Jump to revision: Previous Next
Author: elukey
Date: Tue Oct 9 12:29:08 2018 UTC (5 years, 6 months ago)
Changed paths: 2
Log Message:
mod_session_cookie: avoid adding the Set-Cookie header
                    in both r->headers_out and r->err_headers_out
                    to avoid duplication.

In session_cookie_save it seems that ap_cookie_write is called
with r->headers_out and r->err_headers_out, ending up in the same
Set-Cookie header on both tables and eventually duplicated in the
HTTP response. I took Emmanuel's patch and trimmed out the bits
that remove the header only from r->err_headers_out (leaving it
to do the work on both tables) as attempt to change this bit of code
in the most conservative way as possible. Sending a commit for
a broader review.

PR: 60910,56098,55278



Changed paths

Path Details
Directoryhttpd/httpd/trunk/CHANGES modified , text changed
Directoryhttpd/httpd/trunk/modules/session/mod_session_cookie.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26