summaryrefslogtreecommitdiffstats
path: root/runtime/stream.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'omfile' into v5-develRainer Gerhards2009-06-231-5/+10
|\ | | | | | | | | Conflicts: runtime/rsyslog.h
| * prevented unneccessary apc callsRainer Gerhards2009-06-231-5/+10
| |
* | Merge branch 'omfile' into tmpRainer Gerhards2009-06-221-4/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a complex manual merge, especially in action.c. So if there occur some problems, this would be a good point to start troubleshooting. I run a couple of tests before commiting and they all went well. Conflicts: action.c action.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h
| * going forward in moving string-handling functions to new interface...Rainer Gerhards2009-06-171-3/+3
| |
| * milestone: input-side multiSubmit capabilityRainer Gerhards2009-06-161-1/+1
| | | | | | | | ... commit before I try to touch the queue side ;)
* | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-161-114/+573
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge branch 'master' into omfileRainer Gerhards2009-06-161-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.h tcps_sess.c tcpsrv.c tools/syslogd.c
| | * done various optimizations to the stringbuf and its usersRainer Gerhards2009-06-161-1/+1
| | |
| * | omfile buffers are now synchronized after inactivityRainer Gerhards2009-06-151-0/+68
| | | | | | | | | | | | | | | | | | 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-55/+107
| | | | | | | | | | | | | | | | | | | | | ... 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-6/+124
| | |
| * | restructered code in perparation for multiple rule set supportRainer Gerhards2009-06-101-3/+0
| | | | | | | | | | | | | | | | | | | | | ... this was long overdue, and I finlly tackeld it. It turned out to be more complex than I initially thought. The next step now probably is to actually implement multiple rule sets and the beauty that comes with them.
| * | improved error handling and added fsync() supportRainer Gerhards2009-06-081-5/+106
| | | | | | | | | | | | | | | | | | ... 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).
| * | added $OMFileIOBufferSize config directive and plumbingRainer Gerhards2009-06-041-19/+2
| | |
| * | modified stream class and omfile to work with itRainer Gerhards2009-06-041-24/+144
| | | | | | | | | | | | now some basic operations are carried out via the stream class.
| * | cleaned up stream class ...Rainer Gerhards2009-06-041-38/+62
| |/ | | | | | | | | | | ... 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-1/+43
| | | | | | | | | | | | | | | | | | | | | | ... 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.
* | t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-181-1/+4
|/ | | | | | ... on the way to the ultra-reliable queue modes (redesign doc). This version does not really work, but is a good commit point. Next comes queue size calculation. DA mode does not yet work.
* reduced number of compile warnings in -pedantic gcc modeRainer Gerhards2008-06-271-2/+2
|
* completed better modularity of runtimeRainer Gerhards2008-04-171-1/+0
| | | | | | | | | | - added the ability to specify an error log function for the runtime - removed dependency of core runtime on dirty.h Note that it is "better" modularity, not perfect. There is still work to do, but I think we can for the time being proceed with other things.
* some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* moved runtime files into their own directoryRainer Gerhards2008-04-161-0/+934