From 96e7578fba56e710ac235ed3fdd023b3e7e3f453 Mon Sep 17 00:00:00 2001 From: Sergio Arroutbi Date: Tue, 11 Jul 2023 09:17:36 +0200 Subject: [PATCH] Fix typo (reqest->request) Resolves: #5 Signed-off-by: Sergio Arroutbi --- docs/socat-examples.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/socat-examples.txt b/docs/socat-examples.txt index e5160bc4..d33e02d5 100644 --- a/docs/socat-examples.txt +++ b/docs/socat-examples.txt @@ -55,7 +55,7 @@ $ socat -T 0.1 pipe pipe // incoming data back to client $ socat TCP-LISTEN:8000,crlf SYSTEM:"echo HTTP/1.0 200; echo Content-Type\: text/plain; echo; cat" -// a less primitive HTTP echo server that sends back not only the reqest but +// a less primitive HTTP echo server that sends back not only the request but // also server and client address and port. Might have portability issues with // echo ./socat -T 1 -d -d tcp-l:10081,reuseaddr,fork,crlf system:"echo -e \"\\\"HTTP/1.0 200 OK\\\nDocumentType: text/html\\\n\\\ndate: \$\(date\)
server:\$SOCAT_SOCKADDR:\$SOCAT_SOCKPORT
client: \$SOCAT_PEERADDR:\$SOCAT_PEERPORT\\\n
\\\"\"; cat; echo -e \"\\\"\\\n
\\\"\""