- **status**: review --> fixed
- **Comment**:
commit ba4c64013b85ba88a585be927eecd9c559009e13 (HEAD -> develop,
origin/develop, ticket-2777)
Author: thang.d.nguyen <[email protected]>
Date: Tue Mar 16 08:38:43 2021 +0700
dtm: correct handling connection failure [#2777]
- Use non-blocking in connect new socket.
- Dtm does not exit when connect failure.
---
** [tickets:#2777] dtm: Handle TCP connection failures gracefully**
**Status:** fixed
**Milestone:** 5.21.06
**Created:** Wed Jan 31, 2018 01:56 PM UTC by Anders Widell
**Last Updated:** Tue Mar 16, 2021 03:31 AM UTC
**Owner:** Thang Duc Nguyen
When TCP connect() fails, DTM tries to add a -1 file descriptor to epoll(),
which fails and results in the DTM process exiting.:
~~~
rootfs/var/PL-3/log/messages:Jan 31 14:18:40 PL-3 local0.err osafdtmd[425]: ER
DTM :Connect failed (connect()) err :Connection refused
rootfs/var/PL-3/log/messages:Jan 31 14:18:40 PL-3 local0.err osafdtmd[425]: ER
DTM: epoll_ctl(7, EPOLL_CTL_ADD, -1) failed: 9
~~~
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list._______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets