mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-29 04:42:00 +00:00
fix APIDaemon header parser
This commit is contained in:
parent
0c308a030e
commit
f34ca46009
@ -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?)
|
||||
|
Loading…
Reference in New Issue
Block a user