chiark / gitweb /
wip
[hippotat.git] / client
diff --git a/client b/client
index b5a4db5bf5bb639be691feaa04b65fa100d0ed58..e3fcd0d8f368936ea5dfaef1d6be3312216189f7 100755 (executable)
--- a/client
+++ b/client
@@ -58,12 +58,10 @@ def outbound(packet, saddr, daddr):
   queue.append(packet)
   check_outbound()
 
-def crashy(): assert(False)
-
 class ResponseConsumer(twisted.internet.protocol.Protocol):
   def __init__(self, req):
     self._req = req
-    self._ssd = SlipStreamDecoder(crashy)
+    self._ssd = SlipStreamDecoder('req %s' % id(req), queue_inbound)
     self._log(DBG.HTTP_CTRL, '__init__')
 
   def _log(self, dflag, msg, **kwargs):