From 5731358d3c1a4603d10be84557542d48dcc068a1 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 9 May 2019 14:39:04 +0200 Subject: Handle client disconnects more gracefully. Give the client an option to disconnect politely by issuing the `bye` command, but also handle the case where the client just drops the connection in a better way. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index db4cc40..29d1652 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,9 @@ You can check if an URL is phishy or not by connecting to the socket and passing one URL at the time to the socket. For each URL the server will respond if it's phishy or good. +Once the client is done, it can drop the connection gracefully by issuing the `bye` +command, or simply drop the connection. + An example session can be like this: % socat - UNIX-CONNECT:/tmp/phisher @@ -35,6 +38,8 @@ An example session can be like this: good url. https://safravideos.com/login it's a phish! + bye + bye. ## How to contribute -- cgit v1.2.3