revert workaround for file chunks
The client now uses fallocate() to store a single file.master
parent
b18630a920
commit
298f9da0de
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue