From: Ian Jackson Date: Sat, 1 Apr 2017 19:47:12 +0000 (+0100) Subject: wip, towards target X-Git-Tag: hippotat/1.0.0~55^2~170 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=3393242040c461d71187af33fb0338036784e513;p=hippotat.git wip, towards target --- diff --git a/client b/client index 467afd6..e4e5eae 100755 --- 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)