Commit 33be8092 authored by Dietmar Maurer's avatar Dietmar Maurer

fix APIDaemon header parser

parent eccbe1c5
......@@ -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?)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment