diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-07-13 12:49:17 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-07-14 21:13:09 +0900 |
commit | 72d1fc4cedd233861df725a9eac5f18022f92125 (patch) | |
tree | 75843a9609fd77acef784d535b419e3e6bcf15d6 /config/serve.go | |
parent | 16aec4acef8f580b7b1b62abedc6365c176feb3f (diff) |
server: fix fsm.keepaliveTicker race
When fsm state goes to idle from established, fsm.keepaliveTicker is
set to nil. This can happen before <-h.t.Dying() case in
sendMessageloop().
This removes fsm.keepaliveTicker. Ticker is created locally. With
this, a keepalive message could be sent from openconfirm to
established with a shorter interval. But it should not break anything.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'config/serve.go')
0 files changed, 0 insertions, 0 deletions