summaryrefslogtreecommitdiffstats
path: root/src/handler.c
diff options
context:
space:
mode:
authortiptorrent development team <tiptorrent@soleta.eu>2021-09-19 22:42:48 +0200
committertiptorrent development team <tiptorrent@soleta.eu>2021-09-29 15:48:59 +0200
commit44287f9e6722bcdbdb2cda679407a265697cbeb7 (patch)
tree0715e76fcf00115a4ef588f6d4efa491537a44a4 /src/handler.c
parent21e905a3875f5da9ec36393c5d9987487920f00b (diff)
do not activate clients without redirection via POST
update 4573deb8cb3 to skip clients without redirection after receiving POST notification.
Diffstat (limited to 'src/handler.c')
-rw-r--r--src/handler.c2
1 files changed, 1 insertions, 1 deletions
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;
}