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 New Issue
Block a user