fix APIDaemon header parser

This commit is contained in:
Dietmar Maurer 2013-04-09 14:02:59 +02:00
parent 0c308a030e
commit f34ca46009

View File

@ -382,6 +382,7 @@ sub push_request_header {
$reqstate->{proto}->{ver} = $maj*1000+$min;
$reqstate->{request} = HTTP::Request->new($method, $uri);
delete $reqstate->{key}; # this is used by unshift_read_header()
$self->unshift_read_header($reqstate);
} elsif ($line eq '') {
# ignore empty lines before requests (browser bugs?)