git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1921
d4fa192b-c00b-0410-8231-
f00ffab90ce4
if (defined($self->{'fh'})) {
my $inbuffer = $self->{'mux'}->inbuffer($self->{'fh'});
- if ($inbuffer ne '') {
+ if (defined($inbuffer) and $inbuffer ne '') {
use Data::Dumper;
$self->log('Discarding: ' . Dumper(\$inbuffer));
my $inbuffer = $self->{'mux'}->inbuffer($self->{'fh'});
- if ($inbuffer ne '') {
+ if (defined($inbuffer) and $inbuffer ne '') {
use Data::Dumper;
$self->{'server'}->log('Junk or incomplete request. Discarding: ' . Dumper(\$inbuffer));