Sorry, I have made some feature customization in my program code, but the core code has
not changed. It involves TCP link building and peer management, which are consistent. The
code lines indicated in the logs should not match the original version. Here, I provide my
logs corresponding to the actual code
`
tv.tv_sec = 1;
tv.tv_usec = 0;
n = select(max + 1, &rfds, 0, &efds, &tv);
if(n == -1) {
if(shutdownx && *shutdownx)
return 0;
273 LM_ERR("select_recv(): %s\n", strerror(errno));
for(sp = serviced_peers; sp; sp = sp2) {
sp2 = sp->next;
disconnect_serviced_peer(sp, 0);
if(sp->p && sp->p->is_dynamic)
drop_serviced_peer(sp, 0);
}
sleep(1);
break;
} else if(n) {
if(FD_ISSET(fd_exchange_pipe_local, &rfds)) {
/* fd exchange */
LM_DBG("select_recv(): There is something on the fd "
"exchange pipe\n");
`
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3999#issuecomment-2412675922
You are receiving this because you commented.
Message ID: <kamailio/kamailio/issues/3999/2412675922(a)github.com>