5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-07-30 15:41:49 +03:00

do not delete unmatched content from $$input

This commit is contained in:
Dietmar Maurer
2013-04-18 08:26:23 +02:00
parent 2de98f36d5
commit 393ee4a731

View File

@ -259,12 +259,9 @@ sub queue_execute {
sub mux_input {
my ($self, $mux, $fh, $input) = @_;
return if $$input !~ m/}\r\n$/;
return if $$input !~ s/^(.*})\r\n(.*)$/$2/so;
my $raw = $$input;
# Remove the input from the input buffer.
$$input = '';
my $raw = $1;
my $vmid = $self->{fhs_lookup}->{$fh};
if (!$vmid) {