From 214d05a59714a5d83e6869bb7dda672e3468098b Mon Sep 17 00:00:00 2001 From: xorond Date: Sat, 13 Nov 2021 14:32:16 +0100 Subject: [PATCH] fix comment for nc example the "Host" header is missing from the command for making the request, so we get empty response. --- examples/nc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nc.c b/examples/nc.c index f90603ad9..4d9bbec36 100644 --- a/examples/nc.c +++ b/examples/nc.c @@ -34,7 +34,7 @@ * Here's an example usage: * * make -j8 o//examples/nc.com - * printf 'GET /\r\n\r\n' | o//examples/nc.com justine.lol 80 + * printf 'GET /\r\nHost: justine.lol\r\n\r\n' | o//examples/nc.com justine.lol 80 * * Once upon time we called this command "telnet" */