chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf8a9a
)
wip, towards target
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 1 Apr 2017 19:47:12 +0000
(20:47 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 1 Apr 2017 19:47:12 +0000
(20:47 +0100)
client
patch
|
blob
|
history
diff --git
a/client
b/client
index 467afd60885ce5c50e4ccb5aa751af4307b3834a..e4e5eae7a01df3e180be74d170b6404f37a78f6f 100755
(executable)
--- a/
client
+++ b/
client
@@
-80,7
+80,12
@@
class ResponseConsumer(twisted.internet.protocol.Protocol):
try: self._ssd.flush()
except Exception as e: asyncfailure(e)
else:
- asyncfailure(reason)
+ self._asyncfailure(reason)
+
+ def _asyncfailure(self, reason):
+ global outstanding
+ outstanding += 1
+ req_err(reason)
def req_ok(req, resp):
rc = ResponseConsumer(req)