From 53ede4942f121b75efefe7af33cc101ffcf85e7c Mon Sep 17 00:00:00 2001 From: mnot Date: Tue, 18 Mar 2008 00:31:33 +0000 Subject: [PATCH] Remove spurious CRLFs from nohost blocks; fixes bug 1903551. --- httperf/src/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httperf/src/core.c b/httperf/src/core.c index db7ea38..42f4825 100755 --- a/httperf/src/core.c +++ b/httperf/src/core.c @@ -87,9 +87,9 @@ static char http11req[] = static char http10req_nohost[] = " HTTP/1.0\r\nUser-Agent: httperf/" VERSION - "\r\nConnection: keep-alive\r\n"; + "\r\nConnection: keep-alive"; static char http11req_nohost[] = - " HTTP/1.1\r\nUser-Agent: httperf/" VERSION "\r\n"; + " HTTP/1.1\r\nUser-Agent: httperf/" VERSION; #ifndef SOL_TCP # define SOL_TCP 6 /* probably ought to do getprotlbyname () */