• Joanne Hugé's avatar
    Fix two issues related to handleHello · bbde1c0d
    Joanne Hugé authored
    In some circumstances, the hello_protocol attribute could get modified
    on the wrong peer, which would raise an AttributeError.
    On reception of seqno 1 from a peer with protocol < 7, protocol could be
    equal to zero which would cause handleHello to not return True, causing
    the handshake to fail.
    bbde1c0d
tunnel.py 40.6 KB