summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* preparing for 5.1.4 releasev5.1.4Rainer Gerhards2009-08-203-3/+14
|
* added important bug fix doc to current releaseRainer Gerhards2009-08-191-0/+10
| | | | | the bug fix was imported from 4.5.1, but it is important enough to be highlighted in its own right.
* Merge branch 'beta'Rainer Gerhards2009-08-193-10/+14
|\
| * Merge branch 'v4-devel' into betaRainer Gerhards2009-08-192-2/+12
| |\
| | * very minor cleanupRainer Gerhards2009-08-181-1/+0
| | |
| | * bugfix: potential segfault in output file writer (omfile)Rainer Gerhards2009-08-183-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In async write mode, we use modular arithmetic to index the output buffer array. However, the counter variables accidently were signed, thus resulting in negative indizes after integer overflow. That in turn could lead to segfaults, but was depending on the memory layout of the instance in question (which in turn depended on a number of variables, like compile settings but also configuration). The counters are now unsigned (as they always should have been) and so the dangling mis-indexing does no longer happen. This bug potentially affected all installations, even if only some may actually have seen a segfault.
| * | undid non-correct experimental fixRainer Gerhards2009-08-191-8/+2
| | | | | | | | | | | | | | | | | | | | | I found out that the previous segfault fix did not correct the root cause of the problem. Thus, I can re-instantiate the more performance- optimal logic. In the next step, I'll merge in the real fix, so do NOT use this commit as code you actually run!
* | | fixed compile problem introduced by mergeRainer Gerhards2009-08-181-0/+1
| | |
* | | Merge branch 'beta'Rainer Gerhards2009-08-186-19/+61
|\| |
| * | Merge branch 'v4-devel' into betaRainer Gerhards2009-08-186-22/+61
| |\ \
| | * | bugfix? (unconfirmed, testing): segfault when writing asynchronouslyRainer Gerhards2009-08-181-2/+8
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | I have undone a very small optimization with using pre-malloced memory, which seems to have some issues. Now I am doing mallocs and at least in test environment this seems to solve the issue. The code now needs more review. If it runs flawlessly for some time, I may try to re-enable to pre-malloc, but not necessarily: its performance benefit is very mild (aka: I don't think it justifies introducing bigger complexities).
| | * added $InputTCPMaxListeners directiveRainer Gerhards2009-08-175-17/+43
| | | | | | | | | | | | permits to specify how many TCP servers shall be possible (default is 20).
| | * bugfix: if tcp listen port could not be created, no error message was emittedRainer Gerhards2009-08-173-4/+11
| | |
* | | Merge branch 'beta'Rainer Gerhards2009-08-173-22/+41
|\| |
| * | Merge branch 'v4-devel' into betaRainer Gerhards2009-08-173-22/+41
| |\|
| | * legacy syslog parser changed so that it now accepts date stamps in wrong case.Rainer Gerhards2009-08-173-22/+41
| | | | | | | | | | | | Some devices seem to create them and I do not see any harm in supporting that.
* | | bugfix: discard action did not work (did not discard messages)Rainer Gerhards2009-07-306-23/+51
| | |
* | | bugfix: discard action caused segfaultRainer Gerhards2009-07-305-3/+40
| | |
* | | updated project statusRainer Gerhards2009-07-281-4/+4
| | |
* | | finishing touches for 5.1.3v5.1.3Rainer Gerhards2009-07-281-1/+1
| | |
* | | fixed testbench compile problem on some platformsRainer Gerhards2009-07-211-2/+1
| | |
* | | disabling new input termination interfaceRainer Gerhards2009-07-201-0/+6
| | | | | | | | | | | | | | | | | | a bug showed up during further testing. As this was a side-activity, I'll probably disable it for the time being and check what's going on somewhat later (I'll do it tomorrow if I can find it quickly)
* | | moved check_JAVA as suggested by Michael Biebl - thxRainer Gerhards2009-07-201-2/+2
| | |
* | | internal: added ability to terminate input modules not via pthread_cancel...Rainer Gerhards2009-07-2015-13/+134
| | | | | | | | | | | | | | | | | | | | | | | | ... but an alternate approach via pthread_kill. This is somewhat safer as we do not need to think about the cancel-safeness of all libraries we use. However, not all inputs can easily supported, so this now is a feature that can be requested by the input module (the most important ones request it).
* | | minor: dbgprintf() converted to DBGPRINTF()Rainer Gerhards2009-07-201-5/+5
| | |
* | | re-structured tcpsrv.c a bit, no real changeRainer Gerhards2009-07-201-38/+49
| | | | | | | | | | | | | | | ... but this sets stage for potential future optimizations, especially the capability to use multiple reception threads.
* | | cleanup & better debug message handlingRainer Gerhards2009-07-201-66/+65
| | | | | | | | | | | | | | | | | | the new handling will hopefully spare a few cycles, as function calls (and most importantly parameter generation!) or now only done when debug messages are actually active.
* | | corrected some conditions & one more simplificationRainer Gerhards2009-07-201-15/+3
| | |
* | | simplified startup of queue DA modeRainer Gerhards2009-07-203-67/+9
| | |
* | | bugfix: potential race condition in debug modeRainer Gerhards2009-07-201-1/+2
| | |
* | | solved potential race condition and some cleanupRainer Gerhards2009-07-202-6/+13
| | | | | | | | | | | | | | | | | | | | | code review brought up some few places where we may have run into a race. They have most probably been introduced during the recent set of changes. But I do not look at older versions because of the changed architecture, one can not simply backport this patch.
* | | bugfix: minor static memory leak while reading configurationRainer Gerhards2009-07-206-24/+25
| | | | | | | | | | | | | | | This did NOT leak based on message volume. Also, did some cleanup during the commit.
* | | enhanced worker thread pool by atomic opsRainer Gerhards2009-07-203-32/+23
| | | | | | | | | | | | | | | ... greater performance and was able to remove a potential troublespot in a cancel cleanup handler.
* | | architecture change: queue now always has at least one worker threadRainer Gerhards2009-07-206-19/+35
| | | | | | | | | | | | | | | | | | ...if not running in direct mode. Previous versions could run without any active workers. This simplifies the code at a very small expense. See v5 compatibility note document for more in-depth discussion.
* | | more cleanup/simplification (forgot to remove one mutex lock)Rainer Gerhards2009-07-203-36/+10
| | |
* | | some more threading changesRainer Gerhards2009-07-204-44/+28
| | | | | | | | | | | | ... as well as some cleanup
* | | 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-178-91/+45
| | | | | | | | | | | | reducing the number of thread cancellation state changes
* | | Merge branch 'beta'Rainer Gerhards2009-07-163-5/+12
|\| | | | | | | | | | | | | | | | | Conflicts: runtime/wti.c runtime/wtp.c
| * | Merge branch 'v4-devel' into betaRainer Gerhards2009-07-164-7/+12
| |\|
| | * 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-162-4/+7
| | |\
| | | * calls to prctl() need to be based on configure results (cross-platform issue)Rainer Gerhards2009-07-162-4/+7
| | | |
* | | | some code simplificationRainer Gerhards2009-07-164-14/+11
| | | |
* | | | Merge branch 'detached' into masterRainer Gerhards2009-07-156-210/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tests/nettester.c
| * | | | further reduction in code size/complexity due to design changeRainer Gerhards2009-07-085-41/+3
| | | | |
| * | | | simplified worker thread handlingRainer Gerhards2009-07-085-171/+16
| | | | | | | | | | | | | | | | | | | | | | | | | 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-152-12/+1
| | | | |