in reply to Problem with jellybean
It sounds like HTTP::Daemon can't finish reading the request, for some reason. If you can upgrade LWP, I recommend trying that first. If that doesn't work, here's a patch that will improve the debugging output.
--- lib/Jellybean/Server/HTTP.pm~ 2004-07-15 09:05:29.000000000 -07 +00 +++ lib/Jellybean/Server/HTTP.pm 2004-07-15 09:06:13.000000000 -070 +0 @@ -40,6 +40,9 @@ my $base = $self->{Daemon}->url(); my $peer = $conn->peerhost(); my $req = $conn->get_request( 1 ); + + croak( "Invalid connection: ", $conn->reason() ) unless $req; + my $uri = $req->uri(); my @path = split('/', $uri->path() );
|
|---|