diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-18 10:25:36 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-18 10:25:36 +0900 |
commit | a9e55d3bd75fd5dd633fee1ff2c9d45d6d6447ee (patch) | |
tree | 792429269f168a34df4ca78baef5909b072c200c /config/default.go | |
parent | ac54c58e9d5466804f67c9aca32a23beaeb6882d (diff) |
server: move outgoing and incoming channels to FSMHandler
This patch solves the problem that old messages in outgoing will be
sent in a new established session.
Peer goroutine puts some messagages in the outgoing channel. Then the
state changes from established. In such case, once the state becomes
established, the "stale" messages in the outgoing channel will be sent.
With this patch, new outgoing and incoming channels are created at
every state change. No more "stale" messages in the channles.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'config/default.go')
0 files changed, 0 insertions, 0 deletions