From 44287f9e6722bcdbdb2cda679407a265697cbeb7 Mon Sep 17 00:00:00 2001 From: tiptorrent development team Date: Sun, 19 Sep 2021 22:42:48 +0200 Subject: do not activate clients without redirection via POST update 4573deb8cb3 to skip clients without redirection after receiving POST notification. --- src/handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handler.c') diff --git a/src/handler.c b/src/handler.c index 14abe9b..54c2c1b 100644 --- a/src/handler.c +++ b/src/handler.c @@ -115,7 +115,7 @@ int tip_client_state_process_payload(struct tip_client *cli) case TIP_METHOD_POST: cli->allow_redirect = true; tip_client_redirect_create(cli); - tip_client_activate_pending(); + tip_client_activate_pending(true); cli->state = TIP_CLIENT_PROCESSING_REQUEST_2; return 0; } -- cgit v1.2.3-18-g5258