diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-03-06 07:36:20 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-03-07 00:08:04 -0800 |
commit | 0561c11889edab709a51fff7dc82bf25044f51bb (patch) | |
tree | 60a06d5b2160943096b36952e70f988ba5600cbc /LICENSE | |
parent | 74c79d99a87ce626cb7fee2e97396daa822a2514 (diff) |
server: make rx goroutine reading from socket never sleep
Currently, the rx goroutine reading from socket (recvMessageloop
funciton) sleeps if msgCh is full. The problem is that if the rx
goroutine stops reading from a socket, keepalives are ignored, the
holdtime on gobgp expires even if a peer properly sends keepalives.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions