git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1852
d4fa192b-c00b-0410-8231-
f00ffab90ce4
}
$self->{'timeout'} = $timeout;
$self->{'mux'}->set_timeout($self->{'fh'}, $timeout);
- $self->{'mux'}->write($self->{'fh'}, $request->as_string);
+ $self->{'mux'}->write($self->{'fh'}, $request->as_string("\r\n"));
$self->{'requests'} += 1;
$self->logf("%s %s %s", $request->method(), $request->uri(), $request->protocol());
}
$response->message(status_message($response->code()))
unless $response->message();
- $self->{'mux'}->write($self->{'fh'}, $response->as_string);
+ $self->{'mux'}->write($self->{'fh'}, $response->as_string("\r\n"));
$self->{'server'}->{'responses'} += 1;
$self->{'server'}->logf("%s %s", $response->code(), $response->message());
}