From cfb5ba89ce96594b2f8d51f27c9b2ee41ecf18e5 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 14 Mar 2013 09:19:43 +1300 Subject: Introduce a filtered flow writer, and use it in dump.py Fixes #104 --- examples/stickycookies | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/stickycookies') diff --git a/examples/stickycookies b/examples/stickycookies index 88bf0063..b07820fc 100755 --- a/examples/stickycookies +++ b/examples/stickycookies @@ -25,13 +25,13 @@ class StickyMaster(controller.Master): self.stickyhosts[hid] = msg.headers["cookie"] elif hid in self.stickyhosts: msg.headers["cookie"] = self.stickyhosts[hid] - msg._ack() + msg.reply() def handle_response(self, msg): hid = (msg.request.host, msg.request.port) if msg.headers["set-cookie"]: self.stickyhosts[hid] = msg.headers["set-cookie"] - msg._ack() + msg.reply() config = proxy.ProxyConfig( -- cgit v1.2.3