• zelig's avatar
    peer-level integration test for crypto handshake · faa069a1
    zelig authored
    - add const length params for handshake messages
    - add length check to fail early
    - add debug logs to help interop testing (!ABSOLUTELY SHOULD BE DELETED LATER)
    - wrap connection read/writes in error check
    - add cryptoReady channel in peer to signal when secure session setup is finished
    - wait for cryptoReady or timeout in TestPeersHandshake
    faa069a1
Name
Last commit
Last update
..
client_identity.go Loading commit data...
client_identity_test.go Loading commit data...
crypto.go Loading commit data...
crypto_test.go Loading commit data...
message.go Loading commit data...
message_test.go Loading commit data...
nat.go Loading commit data...
natpmp.go Loading commit data...
natupnp.go Loading commit data...
peer.go Loading commit data...
peer_error.go Loading commit data...
peer_test.go Loading commit data...
protocol.go Loading commit data...
protocol_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
testlog_test.go Loading commit data...
testpoc7.go Loading commit data...