From ba2eafb1c67a80c54ea18622b113a68be64eb85f Mon Sep 17 00:00:00 2001 From: knutroy Date: Fri, 17 Aug 2007 12:30:58 +0000 Subject: [PATCH] * Use CRLF EOL-markers. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1852 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-tools/regress/lib/Varnish/Test/Client.pm | 2 +- varnish-tools/regress/lib/Varnish/Test/Server.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-tools/regress/lib/Varnish/Test/Client.pm b/varnish-tools/regress/lib/Varnish/Test/Client.pm index 99f71ead..217c8ae5 100644 --- a/varnish-tools/regress/lib/Varnish/Test/Client.pm +++ b/varnish-tools/regress/lib/Varnish/Test/Client.pm @@ -88,7 +88,7 @@ sub send_request($$;$) { } $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()); } diff --git a/varnish-tools/regress/lib/Varnish/Test/Server.pm b/varnish-tools/regress/lib/Varnish/Test/Server.pm index d3c287ab..78747887 100644 --- a/varnish-tools/regress/lib/Varnish/Test/Server.pm +++ b/varnish-tools/regress/lib/Varnish/Test/Server.pm @@ -137,7 +137,7 @@ sub send_response($$) { $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()); } -- 2.39.5