summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: removed no longer needed codeRainer Gerhards2009-07-202-20/+0
|
* removed mutex locksRainer Gerhards2009-07-174-34/+36
| | | | | ... by utilizing that we need to modify a state variable only in a sequential way during shutdown.
* further code simplificationRainer Gerhards2009-07-176-176/+54
| | | | | | | | | ... could even remove one mutex by using a better algorithm. I think I also spotted some situation in which a hang could have happened. As I can't fix it in v4 and less without moving to the new engine, I make no effort in testing this out. Hangs occur during shutdown, only (if at all). The code changes should also result in some mild performance improvement. Some bug potential, but overall the bug potential should have been greatly reduced.
* more code simplification, should also bring some performance enhancementRainer Gerhards2009-07-177-80/+45
| | | | reducing the number of thread cancellation state changes
* Merge branch 'beta'Rainer Gerhards2009-07-162-3/+10
|\ | | | | | | | | | | Conflicts: runtime/wti.c runtime/wtp.c
| * calls to prctl() need to be based on configure results (cross-platform issue)Rainer Gerhards2009-07-162-3/+5
| | | | | | | | | | This is for another prctl() call, not present in the beta version (looks like it would make sense to stick these into a utility function)
| * Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-161-2/+5
| |\
| | * calls to prctl() need to be based on configure results (cross-platform issue)Rainer Gerhards2009-07-161-2/+5
| | |
* | | some code simplificationRainer Gerhards2009-07-164-14/+11
| | |
* | | Merge branch 'detached' into masterRainer Gerhards2009-07-154-209/+16
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: tests/nettester.c
| * | | further reduction in code size/complexity due to design changeRainer Gerhards2009-07-084-40/+3
| | | |
| * | | simplified worker thread handlingRainer Gerhards2009-07-084-171/+15
| | | | | | | | | | | | | | | | | | | | based on now working with detached threads. This is probably the biggest patch in this series and with large bug potential.
* | | | some more (very mild) cleanupRainer Gerhards2009-07-151-1/+0
| | | |
* | | | some mild restart-type HUP cleanupRainer Gerhards2009-07-152-19/+5
| | | | | | | | | | | | | | | | | | | | ... only those things that were obvious (and puzzled people looking at the code without konwing the subtle issues of HUP ;)).
* | | | $HUPisRestart removedRainer Gerhards2009-07-152-7/+1
| | | | | | | | | | | | | | | | | | | | ... but the rest of the code is not yet cleaned-up. Will do that slowly over time... (huge potential, but must be done carefully)
* | | | Merge branch 'beta'Rainer Gerhards2009-07-151-2/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-151-2/+2
| |\ \ \ | | | |/ | | |/|
| | * | CONFIG CHANGE: $HUPisRestart default is now "off".Rainer Gerhards2009-07-151-2/+2
| | | | | | | | | | | | | | | | | | | | We are doing this to support removal of restart-type HUP in v5. Elaborate doc added to explain reasoning and actions to be taken.
* | | | Merge branch 'omudpspoof'Rainer Gerhards2009-07-101-0/+3
|\ \ \ \
| * | | | done implementing omudpspoofRainer Gerhards2009-07-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now a "good" rsyslog output module, working as usual. I've also sorted out some reentrency issues. Code is clean and ready to be tested in practice ;)
| * | | | commiting interim version with ability to specify spoof sourceRainer Gerhards2009-07-091-0/+1
| | | | |
* | | | | Merge branch 'v4-devel'Rainer Gerhards2009-07-101-1/+0
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-101-1/+0
| |\| |
| | * | bugfix: potential segfault when zip-compressed syslog records were received ↵Rainer Gerhards2009-07-101-1/+0
| | | | | | | | | | | | | | | | (double free)
* | | | Merge branch 'master' into udpspoof & cleanup & slight optimizationRainer Gerhards2009-07-093-169/+191
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c I messed up and did some changes during the merge commit ;) But these are not large, just a little bit of cleanup and some very slight optimizations inside the msg object.
| * | | | Merge branch 'v4-devel'Rainer Gerhards2009-07-093-158/+172
| |\| | | | | |_|/ | |/| |
| | * | small performance improvement and cleanupRainer Gerhards2009-07-093-158/+172
| | | | | | | | | | | | | | | | | | | | | | | | optimized substring processing, should bring a small enhancement when forwarding with the default forwarding templates. Also did some uchar cleanup in msg.c (thus so many changes, in reality they are few...).
| | * | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-091-1/+1
| | |\| | | | | | | | | | | | | | | | | Conflicts: tests/nettester.c
| | | * bugfix: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This was a result of an internal processing error if maximum field sizes had been specified in the property replacer. Also did some testbench improvements, including omstdout.
* | | | bugfix: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-091-1/+1
|/ / / | | | | | | | | | | | | This was a result of an internal processing error if maximum field sizes had been specified in the property replacer.
* | | optimizing queue thread handlingRainer Gerhards2009-07-082-4/+8
| | | | | | | | | | | | | | | | | | ... first commit in a series of more. Makes worker threads detached. Needs more testing (will be done soon) and if it works as expected, we can further reduce code.
* | | finishing touches for 5.1.2v5.1.2Rainer Gerhards2009-07-081-1/+1
| | |
* | | Merge branch 'v4-devel'Rainer Gerhards2009-07-086-239/+369
|\| | | | | | | | | | | | | | | | | Conflicts: runtime/debug.h runtime/stream.c
| * | added capability to write incomplete buffers after an inactivity timeoutRainer Gerhards2009-07-072-7/+40
| | | | | | | | | | | | | | | | | | for the stream class and thus finally activating omfile's timeout capability in a useful way without polling and too-high performance overhead.
| * | fixed a bug introduced today that lead to an abort in queue disk modeRainer Gerhards2009-07-073-10/+14
| | |
| * | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-071-10/+15
| |\|
| * | solved a race conditionRainer Gerhards2009-07-073-15/+51
| | |
| * | clean solution for "writing" arbrietary-size user buffers to a streamRainer Gerhards2009-07-071-42/+28
| | |
| * | stream now uses a singular buffer strucuture for writingRainer Gerhards2009-07-071-6/+12
| | |
| * | moved locking primitivesRainer Gerhards2009-07-071-3/+19
| | |
| * | moved zip part to writer threadRainer Gerhards2009-07-061-69/+89
| | | | | | | | | | | | | | | | | | ... this is necessary in preparation for the final solution (we need to have a "unified" writer). If it causes worse performance to have the zip writher togehter with the synchronous write, we may do an async write...
| * | some minor cleanupRainer Gerhards2009-07-062-17/+18
| | |
| * | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-061-2/+2
| |\ \
| * | | first shot at asynchronous stream writer with timeout capabilityRainer Gerhards2009-07-065-74/+171
| | | | | | | | | | | | | | | | | | | | ... seems to work on quick testing, but needs a far more testing and improvement. Good milestone commit.
* | | | Merge branch 'v4-beta'Rainer Gerhards2009-07-072-18/+29
|\ \ \ \ | | |_|/ | |/| |
| * | | bugfix: property msg was lost when working with disk queuesRainer Gerhards2009-07-071-5/+12
| | | |
| * | | bugfix: properties inputname, fromhost, fromhost-ip were lostRainer Gerhards2009-07-071-5/+3
| | |/ | |/| | | | | | | ... when working with disk queues.
| * | performance enhancement: much faster, up to twice as fastRainer Gerhards2009-07-061-2/+2
| |/ | | | | | | | | | | (depending on configuration). This was a small change, but with big results. There is more potential to explore, but the effects were so dramatic that I think it makes sense to include this fix.
| * bugfix: abort condition when RecvFrom was not set and message reduction was onRainer Gerhards2009-07-061-6/+12
| | | | | | | | Happend e.g. with imuxsock.
* | Merge branch 'v5-devel'Rainer Gerhards2009-07-0319-672/+1280
|\ \ | |/ |/| | | | | | | Conflicts: ChangeLog runtime/datetime.c