Logo Search packages:      
Sourcecode: tcpwatch-httpproxy version File versions  Download package

def tcpwatch::HTTPProxyToServerConnection::flush (   self  ) 

Flushes buffers and, if the response has been sent, allows
the next response to take over.

Definition at line 1074 of file tcpwatch.py.

01074                    :
        """Flushes buffers and, if the response has been sent, allows
        the next response to take over.
        """
        if self.held and self._isMyTurn():
            data = ''.join(self.held)
            del self.held[:]
            self.proxy_conn.write(data)
        if self.finished:
            order = self.proxy_conn._response_order
            if order and order[0] is self:
                del order[0]
            if order:
                order[0].flush()  # kick!

    def handle_close(self):


Generated by  Doxygen 1.6.0   Back to index