]> granicus.if.org Git - apache/commitdiff
use err_headers_out for setting cookies instead of headers_out, so they persist on...
authorDaniel Gruno <humbedooh@apache.org>
Tue, 11 Feb 2014 22:51:20 +0000 (22:51 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Tue, 11 Feb 2014 22:51:20 +0000 (22:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1567434 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_request.c

index 43de56241d0f585d7b6826ba7c55b572b01d8884..f2fa055cdeda41cd3d2b39b21c22a288ccdfe242 100644 (file)
@@ -2061,7 +2061,7 @@ static int lua_set_cookie(lua_State *L)
             strlen(strdomain) ? strdomain : "", 
             strlen(strpath) ? strpath : "");
     
-    apr_table_add(r->headers_out, "Set-Cookie", out);
+    apr_table_add(r->err_headers_out, "Set-Cookie", out);
     return 0;
 }