summaryrefslogtreecommitdiffhomepage
path: root/server/sockopt.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-18 10:25:36 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-18 10:25:36 +0900
commita9e55d3bd75fd5dd633fee1ff2c9d45d6d6447ee (patch)
tree792429269f168a34df4ca78baef5909b072c200c /server/sockopt.go
parentac54c58e9d5466804f67c9aca32a23beaeb6882d (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 'server/sockopt.go')
0 files changed, 0 insertions, 0 deletions