Remove spurious CRLFs from nohost blocks; fixes bug 1903551.
This commit is contained in:
parent
988fc8046b
commit
53ede4942f
@ -87,9 +87,9 @@ static char http11req[] =
|
|||||||
|
|
||||||
static char http10req_nohost[] =
|
static char http10req_nohost[] =
|
||||||
" HTTP/1.0\r\nUser-Agent: httperf/" VERSION
|
" HTTP/1.0\r\nUser-Agent: httperf/" VERSION
|
||||||
"\r\nConnection: keep-alive\r\n";
|
"\r\nConnection: keep-alive";
|
||||||
static char http11req_nohost[] =
|
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
|
#ifndef SOL_TCP
|
||||||
# define SOL_TCP 6 /* probably ought to do getprotlbyname () */
|
# define SOL_TCP 6 /* probably ought to do getprotlbyname () */
|
||||||
|
Loading…
Reference in New Issue
Block a user