Skip to content

Conversation

@furiel
Copy link
Collaborator

@furiel furiel commented May 24, 2018

LogProto can now express an idle timeout during prepare. When the timeout elapsed, logwriter/logreader will close the controlling pipe.

Credits for @MrAnno for the logwriter part.

@kira-syslogng
Copy link
Contributor

Build SUCCESS

lib/logwriter.c Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this casting can be omitted.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In syslog-ng most of the timer handler are set in this way (but agreed: it's not mandatory... the signature of this handler is a matching signature) and in logreader it is set without the cast.

MrAnno and others added 2 commits May 28, 2018 07:52
@furiel furiel force-pushed the timeout-patches branch from 2ac284f to 0a34a9d Compare May 28, 2018 05:54
@kira-syslogng
Copy link
Contributor

Build SUCCESS

1 similar comment
@kira-syslogng
Copy link
Contributor

Build SUCCESS

@lbudai lbudai merged commit f370b71 into syslog-ng:master May 28, 2018
@furiel furiel deleted the timeout-patches branch November 5, 2019 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants