I'm testing HTTP pipelining with nc,
So I've create a input file that contains the following lines,
GET / HTTP/1.1
Host: localhost
GET / HTTP/1.1
Host: localhost
Now I submit it with nc,
nc localhost 80 < test
But I got only one HTTP response, what's wrong with it? And nc is just here waiting for something, it doesn't return to console.