6 Jun
2023
6 Jun
'23
1:43 a.m.
On Jun 6, 2023, at 7:32 AM, saurabha badhai <saurabha.badhai@gmail.com> wrote:
I was going through the codebase 3.0.x which includes TLS non blocking fix. I see still TCP is blocking as set to False below.
this->fd = fr_socket_client_tcp(&home->src_ipaddr, &home->ipaddr, home->port, *false*);
In my case, issue is when AAA server not reachable, service thread get stuck in the above TCP connect for around 2 mins and no other messge get processed for that time. Is the PR #5013 (Fix for issue #3501) having this fix as well ?
That should probably be "!sock->nonblock" instead of a hard-coded "false". Alan DeKok.