diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-18 23:34:05 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-18 23:34:05 +0900 |
commit | c34707d670c0944162b01198d93c78c957286830 (patch) | |
tree | 6ef093ccd78059e62da149aedd18e8ba07db629f /server/peer.go | |
parent | 97c124246d0b2e714d57eca814f95c0a82d97113 (diff) |
server: make sure peer always read from acceptedConnCh
When acceptedConnCh is full, the server goroutine will be
blocked. It's not good even eventually the goroutine will run. This
situation happens only with buggy bgp speaerk peers. But let's avoid
this anyway.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
0 files changed, 0 insertions, 0 deletions