[Syslog-ng-commit] syslog-ng--mainline: fixed EOF detected messages for UDP destinations where the target is unreachable

Balazs Scheidler bazsi at balabit.hu
Sat Dec 31 15:09:14 CET 2005


Link: <http://intra.balabit/cgi-bin/viewarch.cgi/bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-82>
Revision: syslog-ng--mainline--2.0--patch-82
Archive: bazsi at balabit.hu--bazsi-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Sat Dec 31 15:09:13 CET 2005
Standard-date: 2005-12-31 14:09:13 GMT
Modified-files: ChangeLog src/afsocket.c src/logwriter.c
New-patches: bazsi at balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-82
Summary: fixed EOF detected messages for UDP destinations where the target is unreachable
Keywords: 

2005-12-31  Balazs Scheidler <bazsi at balabit.hu>

	* src/afsocket.c (afsocket_dd_init): don't set LW_DETECT_EOF for UDP
	destinations

	* src/logwriter.c (log_writer_fd_dispatch): EOF is detected only if
	G_IO_IN is detected and not for G_IO_ERR as it might be set for UDP
	destinations when they are unreachable

Diff stats:
 ChangeLog       |   21 +++++++++++++++++++++
 src/afsocket.c  |    2 +-
 src/logwriter.c |    2 +-
 3 files changed, 23 insertions(+), 2 deletions(-)


More information about the Syslog-ng-commit mailing list