reduce transit timeout to 15s

This commit is contained in:
Brian Warner 2015-02-20 01:39:22 -08:00
parent f5741f9a52
commit 3cc4461049

View File

@ -45,7 +45,7 @@ def build_sender_handshake(key):
hexid = HKDF(key, 32, CTXinfo=b"transit_sender") hexid = HKDF(key, 32, CTXinfo=b"transit_sender")
return "transit sender %s ready\n\n" % hexlify(hexid) return "transit sender %s ready\n\n" % hexlify(hexid)
TIMEOUT=10000 TIMEOUT=15
# 1: sender only transmits, receiver only accepts, both wait forever # 1: sender only transmits, receiver only accepts, both wait forever
# 2: sender also accepts, receiver also transmits # 2: sender also accepts, receiver also transmits