[Syslog-ng-commit] syslog-ng--mainline: don't fail at startup if
network connection is down
Balazs Scheidler
bazsi at balabit.hu
Wed Nov 8 15:11:01 CET 2006
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-95>
Revision: syslog-ng--mainline--2.0--patch-95
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Wed Nov 8 15:11:00 CET 2006
Standard-date: 2006-11-08 14:11:00 GMT
Modified-files: ChangeLog src/afsocket.c
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-95
Summary: don't fail at startup if network connection is down
Keywords:
* src/afsocket.c (afsocket_open_socket): added an error message if
socket creation failed,
(afsocket_dd_start_reconnect_timer): new function, deregisters and
starts a new reconnect timer,
(afsocket_dd_connected): use afsocket_dd_start_reconnect_timer,
(afsocket_dd_start_connect): renamed from afsocket_dd_reconnect,
removed explicit timer registration,
(afsocket_dd_reconnect): new function, calls _start_connect and
registers the reconnect timer if that fails,
(afsocket_dd_init): afsocket_dd_reconnect does not return a value now
Diff stats:
ChangeLog | 23 +++++++++++++++++++++++
src/afsocket.c | 43 +++++++++++++++++++++++++++++++------------
2 files changed, 54 insertions(+), 12 deletions(-)
More information about the Syslog-ng-commit
mailing list