httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: segfault with Apache::Cookie
Date Mon, 07 Feb 2005 20:13:03 GMT
Michael Peters <mpeters@plusthree.com> writes:

[...]

>    libapreq2 2.04-dev

2.04-dev has several cookie-related bugs.

[...]

>    sub handler {
>      my $r = shift;
>      $r = Apache::Request->new($r);
>      my $cookie = Apache::Cookie->new(
>          $r,
           ^^^^

Change this to $r->env (this is a 2.04-dev bug).

>          -name    => 'apache_cookie',
>          -value   => 'yummier',
>      );
>      $cookie->bake();

bake() is also broken in 2.04-dev; try manually
adding $cookie->as_string to $r->headers_out.

Otherwise try apreq's subversion trunk; these 
bugs should already be fixed in there.

-- 
Joe Schaefer


Mime
View raw message