summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* fixed abort condition in DA modeRainer Gerhards2009-04-233-4/+2
|
* fixing a small (newly-introduced) memory leakRainer Gerhards2009-04-233-17/+9
| | | | | ... plus simplifying free() calls after agreement on mailing list that we no longer need to check if the pointer is non-NULL
* added $MainMsgQueueDequeueBatchSize and $ActionQueueDequeueBatchSize ↵Rainer Gerhards2009-04-235-20/+19
| | | | configuration directives
* Merge branch 'master' into multi-dequeueRainer Gerhards2009-04-231-4/+4
|\
| * Merge branch 'beta'Rainer Gerhards2009-04-231-6/+8
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * Merge branch 'v3-stable' into betaRainer Gerhards2009-04-231-6/+8
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| | | * bugfix: light and full delay watermarks had invalid valuesRainer Gerhards2009-04-231-6/+8
| | | | | | | | | | | | | | | | | | | | ... badly affecting performance for delayable inputs (but not causeing any other issues)
| | * | Merge branch 'beta'Rainer Gerhards2009-04-091-0/+2
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog tcpsrv.c tcpsrv.h Note: we have a slight inconsistency, as interface version v4 was already used for tcpsrv in this branch. We accept this inconsistency.
| | | * Merge branch 'v3-stable' into betaRainer Gerhards2009-04-091-0/+2
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | | | * Merge branch 'v2-stable' into v3-stableRainer Gerhards2009-04-091-0/+2
| | | | |
* | | | | improving debugging info a bitRainer Gerhards2009-04-231-2/+4
| | | | |
* | | | | now batches are handed down to the actual consumerRainer Gerhards2009-04-222-18/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but the action consumer does not do anything really intelligent with them. But the DA consumer is already done, as is the main message queue consumer.
* | | | | first attempt at dequeueing multiple batches inside the queueRainer Gerhards2009-04-227-79/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but this code has serious problems when terminating the queue, also it is far from being optimal. I will commit a series of patches (hopefully) as I am on the path to the final implementation.
* | | | | Merge branch 'master' into multi-dequeueRainer Gerhards2009-04-221-0/+2
|\| | | |
| * | | | some cleanupRainer Gerhards2009-04-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | ... mostly removal of compile-time warnings (thanks to Michael Biebl for suggesting to look after that)
* | | | | some cleanupRainer Gerhards2009-04-171-39/+0
|/ / / /
* | | | Merge branch 'nextmaster' into oracleRainer Gerhards2009-04-162-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * \ \ \ Merge branch 'omprog' into nextmasterRainer Gerhards2009-04-142-1/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| | * | | | improved omprog, now ready for first practical testingRainer Gerhards2009-04-011-0/+1
| | | | | |
| | * | | | initial work on omprog, an output module to send messages to another programRainer Gerhards2009-04-012-1/+2
| | | | | |
| * | | | | implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | ... to utilize it. This work is not yet fully verified to be correct.
* | | | | | added a new error code for too-old rsyslog coreRainer Gerhards2009-04-161-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | which can be emittend when plugin can not load due to missing core functionality.
* | | | | bugfix: solved potential memory leak in msg processingRainer Gerhards2009-04-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | could manifest itself in imtcp (loss of a few bytes for *each* received message - but depended on config) -- this was newly introduced
* | | | | Merge branch 'master' into nextmasterRainer Gerhards2009-04-073-3/+11
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | Merge branch 'beta'Rainer Gerhards2009-04-073-3/+11
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html
| | * | | Merge branch 'v3-stable' into betaRainer Gerhards2009-04-027-9/+109
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | | * | preparing for 3.20.5 releasev3.20.5Rainer Gerhards2009-04-021-0/+8
| | | | |
| | | * | Merge branch 'dapatch' into v3-stableRainer Gerhards2009-04-025-6/+98
| | | |\ \
| | | * | | fixed bugs in RainerScriptvarmojfekoj2009-03-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - when converting a number and a string to a common type, both were actually converted to the other variable's type. - the value of rsCStrConvertToNumber() was miscalculated. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | | improved internal handling of RainerScript functionsRainer Gerhards2009-04-069-30/+335
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - building the necessary plumbing to support more functions with decent runtime performance. This is also necessary towards the long-term goal of loadable library modules. - added new RainerScript function "tolower"
* | | | | improved parser test suiteRainer Gerhards2009-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | new tests added, now much better
* | | | | added a new way how output plugins may be passed parameters.Rainer Gerhards2009-04-033-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | This is more efficient for some outputs. They new can receive fields not only as a single string but rather in an array where each string is seperated.
* | | | | Merge branch 'regex'Rainer Gerhards2009-04-022-6/+35
|\ \ \ \ \
| * | | | | fully integrated regex patchRainer Gerhards2009-04-022-30/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now have removed the previous method, as really nobody should call it any longer (and now nobody does ;)). Also did some other cleanup.
| * | | | | streamlined regex patchRainer Gerhards2009-04-022-26/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - abided to code conventions - fixed a potential segfault when regex library can not be loaded
| * | | | | improved performance of regexp-based filtersRainer Gerhards2009-04-022-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Thanks to Arnaud Cornet for providing the idea and initial patch.
* | | | | | clean compile on solarisRainer Gerhards2009-04-022-2/+7
|/ / / / /
* | | | | added O_CLOEXEC to open() callsRainer Gerhards2009-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to make sure only the minimum number of file handles is left open during a exec call. This is not a 100% solution, as there are also some fopen() calls and, more importantly, file descriptors opened by libraries. But it is better than nothing (and it was quick, at least until we run into platform hell, what we will for sure ;)).
* | | | | added new "csv" property replacer optionRainer Gerhards2009-04-021-0/+34
| |_|_|/ |/| | | | | | | | | | | | | | | to enable simple creation of CSV-formatted outputs (format from RFC4180 is used)
* | | | Merge branch 'master' into testsRainer Gerhards2009-03-265-6/+98
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ Merge branch 'dapatch'Rainer Gerhards2009-03-255-6/+98
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | bugfix: potential abort with DA queue after high watermark is reachedRainer Gerhards2009-03-255-6/+98
| | | |/ | | |/| | | | | | | | | | | | | | | | | There exists a race condition that can lead to a segfault. Thanks go to vbernetr, who performed the analysis and provided patch, which I only tweaked a very little bit.
* | / | improved testing supportRainer Gerhards2009-03-191-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | worked on ways to provide a better test suite: - added -T rsyslogd command line option, enables to specify a directory where to chroot() into on startup. This is NOT a security feature but introduced to support testing. Thus, -T does not make sure chroot() is used in a secure way. (may be removed later) - added omstdout module for testing purposes. Spits out all messages to stdout - no config option, no other features - modified $ModLoad statement so that for modules whom's name starts with a dot, no path is prepended (this enables relative-pathes and should not break any valid current config)
* | | bugfix: removed (newly introduced) memory leaksRainer Gerhards2009-03-132-6/+3
| | |
* | | better readability for compiled VMPrg outputRainer Gerhards2009-03-122-24/+29
| | |
* | | initial implementation of RainerScript functions & strlen()Rainer Gerhards2009-03-107-10/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - implemented function support in RainerScript. That means the engine parses and compile functions, as well as executes a few build-in ones. Dynamic loading and registration of functions is not yet supported - but we now have a good foundation to do that later on. NOTE: nested function calls are not yet supported due to a design issue with the function call VM instruction set design. - implemented the strlen() RainerScript function
* | | fixed a platform issue the prevented building on solarisRainer Gerhards2009-03-061-0/+5
| | |
* | | integrated various patches for solarisRainer Gerhards2009-03-059-238/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
* | | fixed newly introduced memory leakRainer Gerhards2009-03-041-1/+4
| | | | | | | | | | | | (bug created 30 minutes ago or so)
* | | some optimization on regex codeRainer Gerhards2009-03-041-26/+1
| | | | | | | | | | | | also some commented-out leftover removed