summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handler.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/handler.c b/src/handler.c
index f689c6e..e8b421e 100644
--- a/src/handler.c
+++ b/src/handler.c
@@ -103,9 +103,6 @@ int tip_client_state_process_payload(struct tip_client *cli)
switch (cli->method) {
case TIP_METHOD_GET:
case TIP_METHOD_POST:
- if (!redirect)
- break;
-
/* skip checksum files. */
if (strstr(uri, ".full.sum")) {
cli->checksum = true;
@@ -197,9 +194,6 @@ int tip_client_state_process_payload_reply(struct tip_client *cli)
switch (cli->method) {
case TIP_METHOD_GET:
- if (!redirect)
- break;
-
if (cli->chunk < 0)
break;