74 Commits (832a98b1a06f6dac7f1b2d2d49428adce471ae31)

Author SHA1 Message Date
  Anton Kaliaev fc585bcdec
do not block when writing to pongTimeoutCh 7 years ago
  Anton Kaliaev 22b038810a
do not block in recvRoutine 7 years ago
  Anton Kaliaev 45750e1b29
fix race by sending signal instead of stopping pongTimer 7 years ago
  Anton Kaliaev 26419fba28
refactor code plus add one more test 7 years ago
  Anton Kaliaev ac0123d249
drain pongTimeoutCh and pongTimer's channel to prevent leaks 7 years ago
  Anton Kaliaev f4ff66de30
rewrite pong timer to use time.AfterFunc 7 years ago
  Anton Kaliaev 747b73cb95
fix merge conflicts 7 years ago
  Anton Kaliaev 161e100a24
close return channel when we're done 7 years ago
  Anton Kaliaev 3ae738f453
increase timeouts 7 years ago
  Anton Kaliaev 860da464df
remove weird concurrency testing 7 years ago
  Anton Kaliaev 4e2000abfe
control order by sending msgs from one goroutine 7 years ago
  Anton Kaliaev 5834a59816
read ping 7 years ago
  Anton Kaliaev b28b76ddf7
rename pingTimeout to pingInterval, pongTimer is now time.Timer 7 years ago
  zbo14 91e4f4b786
ping/pong timeout in config 7 years ago
  zbo14 9b554fb2c4
switch test modification 7 years ago
  zbo14 f97ead4f5f
prep for merge 7 years ago
  zbo14 5af22d6ee6
remove SwitchEventNewPeer, SwitchEventDonePeer 7 years ago
  zbo14 1d16df6a92
add test, TrySend in broadcast 7 years ago
  Anton Kaliaev 3f9aa8d8fa
document that msgBytes in p2p/connection change 7 years ago
  Anton Kaliaev d6d1f8512d
do not reset pingTimer 7 years ago
  Ethan Buchman 7640e6a29f
add some p2p TODOs 7 years ago
  Ethan Buchman 426379dc47 remove use of wire/nowriter 7 years ago
  Ethan Buchman baff4bd8cc p2p/conn: better handling for some stop conditions 7 years ago
  Ethan Buchman 44e967184a p2p: tmconn->conn and types->p2p 7 years ago