ben syverson <[EMAIL PROTECTED]> writes:

> I haven't looked at the code, but I suspect that "bake" is
> accidentally doing the equivalent of $r->headers_out->set('Set-Cookie'
> => $cookie) rather than $r->headers_out->add('Set-Cookie' =>
> $cookie)...


No that's not the problem.  There's a bug in how 2.04 bakes
cookies (it sets the table entry using apr_table_addn on a 
stack buffer instead of calling apr_table_add).  You should 
be able to find a discussion of this isue somewhere in this
list's archives, as well as the patch which fixes it.  Otherwise
I suggest you try using apreq's subversion trunk and see
if your problem goes away.

> It doesn't help that the libapreq2 test suite only
> attempts to set one cookie. :)

Yup.  Patches are always welcome.

-- 
Joe Schaefer

Reply via email to