From 3393242040c461d71187af33fb0338036784e513 Mon Sep 17 00:00:00 2001 Message-Id: <3393242040c461d71187af33fb0338036784e513.1717581969.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 1 Apr 2017 20:47:12 +0100 Subject: [PATCH] wip, towards target Organization: Straylight/Edgeware From: Ian Jackson --- client | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- [mdw]