Skip Menu |

This queue is for tickets about the HTTP-Server-Brick CPAN distribution.

Report information
The Basics
Id: 101629
Status: new
Priority: 0/
Queue: HTTP-Server-Brick

People
Owner: Nobody in particular
Requestors: Marcin.Kasperski [...] mekk.waw.pl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.1.4
Fixed in: (no value)



Subject: timeout option is ignored
The timeout option is currently ignored, whether it is set or not, brick uses 5s timeout. To fix, I believe, it would suffice to replace Timeout => 5, with Timeout => $self->{timeout} || 5, (or ensure self->timeout is set by the constructor). PS Until it is fixed, the following workaround works: HTTP::Server::Brick->new( port => 9997, # This does not work: timeout => 1, # ... but this works: daemon_args => [ Timeout => 1 ], );