Re: bgpd, non-blocking rtr connect

2021-05-10 Thread Sebastian Benoit
ok benno@ Claudio Jeker(cje...@diehard.n-r-g.com) on 2021.05.03 17:37:36 +0200: > The RTR session was opened with a blocking connect() call. This is rather > bad if the RTR peer does not exist since then bgpd will block until the > connect timed out. This diff makes the connect() call

Re: bgpd, non-blocking rtr connect

2021-05-10 Thread Claudio Jeker
On Mon, May 03, 2021 at 05:37:36PM +0200, Claudio Jeker wrote: > The RTR session was opened with a blocking connect() call. This is rather > bad if the RTR peer does not exist since then bgpd will block until the > connect timed out. This diff makes the connect() call non-blocking. > With this

bgpd, non-blocking rtr connect

2021-05-03 Thread Claudio Jeker
The RTR session was opened with a blocking connect() call. This is rather bad if the RTR peer does not exist since then bgpd will block until the connect timed out. This diff makes the connect() call non-blocking. With this connecting to non-existing RTR servers no longer blocks the main process.