optimize nonsparse uploads (fat32, exfat, hpfs)

This commit is contained in:
ed
2022-06-16 17:51:42 +02:00
parent 2dfe1b1c6b
commit 728dc62d0b
8 changed files with 235 additions and 43 deletions

View File

@@ -1031,7 +1031,7 @@ class HttpCli(object):
x = self.conn.hsrv.broker.ask("up2k.handle_chunk", ptop, wark, chash)
response = x.get()
chunksize, cstart, path, lastmod = response
chunksize, cstart, path, lastmod, sprs = response
try:
if self.args.nw:
@@ -1045,7 +1045,7 @@ class HttpCli(object):
reader = read_socket(self.sr, remains)
f = None
fpool = not self.args.no_fpool
fpool = not self.args.no_fpool and (not ANYWIN or sprs)
if fpool:
with self.mutex:
try: