mirror of
https://github.com/9001/copyparty.git
synced 2025-08-19 18:02:28 -06:00
shut socket on tx error
This commit is contained in:
parent
41ce613379
commit
6530cb6b05
|
@ -1520,6 +1520,7 @@ class HttpCli(object):
|
||||||
|
|
||||||
if remains > 0:
|
if remains > 0:
|
||||||
logmsg += " \033[31m" + unicode(upper - remains) + "\033[0m"
|
logmsg += " \033[31m" + unicode(upper - remains) + "\033[0m"
|
||||||
|
self.keepalive = False
|
||||||
|
|
||||||
spd = self._spd((upper - lower) - remains)
|
spd = self._spd((upper - lower) - remains)
|
||||||
if self.do_log:
|
if self.do_log:
|
||||||
|
|
Loading…
Reference in a new issue