diff options
Diffstat (limited to 'libmproxy/controller.py')
-rw-r--r-- | libmproxy/controller.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libmproxy/controller.py b/libmproxy/controller.py index 7607d6d6..dac2c82a 100644 --- a/libmproxy/controller.py +++ b/libmproxy/controller.py @@ -25,11 +25,12 @@ class Msg: self.acked = False def _ack(self, data=False): - self.acked = True - if data is None: - self.q.put(data) - else: - self.q.put(data or self) + if not self.acked: + self.acked = True + if data is None: + self.q.put(data) + else: + self.q.put(data or self) def _send(self, masterq): self.acked = False |