Exemplo n.º 1
0
def tclient_conn():
    """
    @return: libmproxy.proxy.connection.ClientConnection
    """
    c = ClientConnection.from_state(dict(address=dict(address=("address", 22), use_ipv6=True), clientcert=None))
    c.reply = controller.DummyReply()
    return c
Exemplo n.º 2
0
def tclient_conn():
    """
    @return: libmproxy.proxy.connection.ClientConnection
    """
    c = ClientConnection.from_state(
        dict(address=dict(address=("address", 22), use_ipv6=True),
             clientcert=None))
    c.reply = controller.DummyReply()
    return c
Exemplo n.º 3
0
def tclient_conn():
    """
    @return: libmproxy.proxy.connection.ClientConnection
    """
    c = ClientConnection.from_state(dict(
        address=dict(address=("address", 22), use_ipv6=True),
        clientcert=None,
        ssl_established=False,
        timestamp_start=1,
        timestamp_ssl_setup=2,
        timestamp_end=3,
    ))
    c.reply = controller.DummyReply()
    return c
Exemplo n.º 4
0
def tclient_conn():
    """
    @return: libmproxy.proxy.connection.ClientConnection
    """
    c = ClientConnection.from_state(
        dict(
            address=dict(address=("address", 22), use_ipv6=True),
            clientcert=None,
            ssl_established=False,
            timestamp_start=1,
            timestamp_ssl_setup=2,
            timestamp_end=3,
        ))
    c.reply = controller.DummyReply()
    return c