From d6dbb6c979bc785e501cf109a7d155635b1647ea Mon Sep 17 00:00:00 2001 From: tiptorrent development team Date: Fri, 10 Sep 2021 17:06:35 +0200 Subject: add a close wait state Wait for clients to close the connection, then: - create redirection. - activate pending clients. Do no refresh timeout while in close wait state. --- src/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core.h') diff --git a/src/core.h b/src/core.h index 4b35f82..76cffa2 100644 --- a/src/core.h +++ b/src/core.h @@ -23,6 +23,7 @@ enum tip_client_state { TIP_CLIENT_PROCESSING_REQUEST, TIP_CLIENT_PROCESSING_REQUEST_2, TIP_CLIENT_PROCESSING_REQUEST_3, + TIP_CLIENT_CLOSE_WAIT, }; struct tip_client { -- cgit v1.2.3-18-g5258