(self, master)
Kill this request.
Kill this request.
Kill this request .
def kill(self, master):
        """
            Kill this request.
        """
        self.error = Error(self.request, "Connection killed")
        self.error.reply = controller.DummyReply()
        if self.request and not self.request.reply.acked:
            self.request.reply(proxy.KILL)
        elif self.response and not self.response.reply.acked:
            self.response.reply(proxy.KILL)
        master.handle_error(self.error)
        self.intercepting = False
def kill ( self , master ) : self . error = Error ( self . request , "Connection killed" ) self . error . reply = controller . DummyReply ( ) if self . request and not self . request . reply . acked : self . request . reply ( proxy . KILL ) elif self . response and not self . response . reply . acked : self . response . reply ( proxy . KILL ) master . handle_error ( self . error ) self . intercepting = False