summaryrefslogtreecommitdiffstats
path: root/runtime/stream.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'omfile' into v5-develRainer Gerhards2009-06-231-2/+3
|\ | | | | | | | | Conflicts: runtime/rsyslog.h
| * prevented unneccessary apc callsRainer Gerhards2009-06-231-2/+3
| |
* | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-161-37/+80
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this was NOT a trivial merge, and there may be some issues. This needs to be seen when we continue developing. Conflicts: runtime/msg.h runtime/obj.h runtime/queue.c runtime/srUtils.h runtime/stream.c runtime/stream.h runtime/wti.c tests/Makefile.am tools/omfile.c tools/syslogd.c
| * omfile buffers are now synchronized after inactivityRainer Gerhards2009-06-151-2/+8
| | | | | | | | | | | | This is the first shot at this functionality. Currently, we run off a fixed counter in the rsyslogd mainloop, which needs to be restructured. But this code works, so it is a good time for a commit.
| * re-enabled pipe, tty and console in omfileRainer Gerhards2009-06-121-2/+3
| | | | | | | | | | | | | | ... by moving code to stream.c. Thanks to the new design, new cases are not really needed, resulting in cleaner code. I also did a cleanup of header file usage as a side-activity.
| * re-enabled outchannel functionalityRainer Gerhards2009-06-121-1/+6
| |
| * improved error handling and added fsync() supportRainer Gerhards2009-06-081-1/+4
| | | | | | | | | | | | ... restoring missing functionality after the restructuring of imfile. As a side-effect, this also lays the foundation for even more reliable queue engine operations (but this is not yet done).
| * cleanup in preparation of next stepsRainer Gerhards2009-06-051-1/+23
| | | | | | | | | | now cleand up omfile and straighted out some things. The only commented-out code left is code that must be moved/merged to the stream class, my next target.
| * added $OMFileIOBufferSize config directive and plumbingRainer Gerhards2009-06-041-2/+1
| |
| * modified stream class and omfile to work with itRainer Gerhards2009-06-041-2/+9
| | | | | | | | now some basic operations are carried out via the stream class.
| * cleaned up stream class ...Rainer Gerhards2009-06-041-28/+28
| | | | | | | | | | | | ... and also made it callable via an rsyslog interface rather then relying on the OS loader (important if we go for using it inside loadbale modules, which we soon possible will)
* | solved design issue with queue terminationRainer Gerhards2009-05-261-0/+1
|/ | | | | | | | | | | ... and also improved the test suite. There is a design issue in the v3 queue engine that manifested to some serious problems with the new processing mode. However, in v3 shutdown may take eternally if a queue runs in DA mode, is configured to preserve data AND the action fails and retries immediately. There is no cure available for v3, it would require doing much of the work we have done on the new engine. The window of exposure, as one might guess from the description, is very small. That is probably the reason why we have not seen it in practice.
* moved runtime files into their own directoryRainer Gerhards2008-04-161-0/+131