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

def tcpwatch::HTTPProxyToServerConnection::handle_close (   self  ) 

The HTTP server closed the connection.

Reimplemented from tcpwatch::ForwardingEndpoint.

Definition at line 1089 of file tcpwatch.py.

01089                           :
        """The HTTP server closed the connection.
        """
        ForwardingEndpoint.handle_close(self)
        if not self.finished:
            # Cancel the proxy connection, even if there are responses
            # pending, since the HTTP spec provides no way to recover
            # from an unfinished response.
            self.proxy_conn.close()

    def close(self):


Generated by  Doxygen 1.6.0   Back to index