Browse Source

Remove spurious CRLFs from nohost blocks; fixes bug 1903551.

ahc_fix_select
mnot 16 years ago
parent
commit
53ede4942f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      httperf/src/core.c

+ 2
- 2
httperf/src/core.c View File

@@ -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 () */


Loading…
Cancel
Save