diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2021-12-23 18:40:14 +0100 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2021-12-23 18:52:15 +0100 |
commit | 298f9da0de30a6cd9652d71cd5e529fb5d925c89 (patch) | |
tree | db12a67e2c5a572d450fddde09bc3b2117596fa7 | |
parent | b18630a920a682e96b4a42494ef107fc50ab6135 (diff) |
revert workaround for file chunks
The client now uses fallocate() to store a single file.
-rw-r--r-- | src/handler.c | 6 |
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; |