3089 Commits

Author SHA1 Message Date
Rainer Gerhards
da53802c96 implemented solution for cancel at shutdown/unprocessed entries
We do now enqueue those objects that are left unprocessed. This enables
us to delete the full batch, what is exactly what we need to do.
2009-10-26 12:21:07 +01:00
Rainer Gerhards
672c1b25d6 added note on importance of statement sequence to tls doc 2009-10-26 12:18:32 +01:00
Rainer Gerhards
6be07a8f8a bugfix: potential abort if inputname property was not set
primarily a problem of imdiag. Also added some fix for a potential
situation during cancel processing. That one is not considered vital
and may later be removed again.
2009-10-26 10:09:04 +01:00
Rainer Gerhards
eb5cb72ec4 added some info on the TLS/netstream subsystem 2009-10-26 10:05:25 +01:00
Rainer Gerhards
5b806024fe cosmetic: made "make check" log a bit easier to read 2009-10-22 15:02:37 +02:00
Rainer Gerhards
33e216daf7 Begun to work on partial batch deletes...
... but this brings a lot of problems with it. The issue is that
we still have a sequential store and we do not know how we could
delete the one entry right in the middle of processing. I keep this
branch if we intend to move on with it - but for now I look into a
different solution...
2009-10-22 14:57:34 +02:00
Rainer Gerhards
e04e1b5002 enhanced test environment (including testbench)
support for enhancing probability of memory addressing failure by
using non-NULL default value for malloced memory (optional, only if
requested by configure option). This helps to track down some
otherwise undetected issues within the testbench and is expected
to be very useful in the future.
2009-10-22 11:33:38 +02:00
Rainer Gerhards
9079f66830 improved testbench
- added a test to check handling of damaged .qi files on startup
- made sure each test identifies itself on startup
2009-10-21 15:17:19 +02:00
Rainer Gerhards
d3e5a24143 bugfix (testbench): left-over from manual test removed 2009-10-21 12:38:09 +02:00
Rainer Gerhards
d251f02a8a Merge branch 'v4-devel'
Conflicts:
	runtime/wtp.c
2009-10-21 12:14:27 +02:00
Rainer Gerhards
adb880f17b Merge branch 'v4-beta' into beta 2009-10-21 12:13:22 +02:00
Rainer Gerhards
38e83becf6 Merge branch 'v4-beta' into v4-devel 2009-10-21 12:13:06 +02:00
Rainer Gerhards
04ca261119 Merge branch 'v4-stable' into v4-beta
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	plugins/imrelp/imrelp.c
2009-10-21 12:04:59 +02:00
Rainer Gerhards
b60420c67c updated project status 2009-10-21 12:01:43 +02:00
Rainer Gerhards
3187982c3c Merge branch 'aaron' into v4-beta
Conflicts:
	ChangeLog
2009-10-21 10:51:43 +02:00
Rainer Gerhards
b513239352 preparing for 4.5.5 v4.5.5 2009-10-21 10:50:22 +02:00
Rainer Gerhards
a4e5c7d4cc Merge branch 'newqueue'
Conflicts:
	ChangeLog
	runtime/queue.c
2009-10-21 10:37:52 +02:00
Rainer Gerhards
1bf76e99d6 preparing for 5.3.2 v5.3.2 2009-10-21 10:17:44 +02:00
Rainer Gerhards
9407f2a3e0 bumped version number 2009-10-20 15:12:00 +02:00
Rainer Gerhards
24d5ecc891 added imported bugfix to changelog 2009-10-20 11:09:20 +02:00
Rainer Gerhards
b840e300df Merge branch 'v3-stable' into v4-stable 2009-10-20 11:07:52 +02:00
Rainer Gerhards
8e45fd5c8e bugfix: potential hang condition on queue shutdown 2009-10-20 11:05:02 +02:00
Rainer Gerhards
ff0912a8b7 bugfix: segfault when starting up with an invalid .qi file for a disk queue
Failed for both pure disk as well as DA queues. Now, we emit an error
message and disable disk queueing facility.
2009-10-20 10:51:36 +02:00
Rainer Gerhards
07264a78e0 added some tests for IPv4-Only configuration
We are "abusing" the parser tests to test the TCP/UDP reception
handling. Thus we do not run the other tests through to an IPv4
only config. It acutally is not that parser that matters but rather
the hope to find some init issues when running with only a single
listening socket (in IPv6, we usually both have an IPv4 AND an IPv6
listening socket, what - as practice has shown - may hide listener
setup errors).
2009-10-20 09:05:48 +02:00
Rainer Gerhards
2deec9a129 bugfix: first UDP listener was incorrectly assigned its ruleset
this was a regression of the recent imudp multi-ruleset enhancement
bug was not in any released version
2009-10-19 18:02:46 +02:00
Rainer Gerhards
0ca6000d3a Merge branch 'david-segfault' 2009-10-19 17:33:53 +02:00
Rainer Gerhards
13ca93c27a my imfile cleanup was a bit too agressive ;)
... so I moved the one line that some platforms need back in.
2009-10-19 15:52:53 +02:00
Rainer Gerhards
0acdae34bd streamlined new addition to testbench 2009-10-19 15:36:16 +02:00
Rainer Gerhards
244ae5837c fixed regression in new multi-ruleset imudp code
The new code has not been released so far, so this does not fix any
bug known to the "real world".
2009-10-19 14:05:30 +02:00
Rainer Gerhards
2bf008af08 added new testcase; fixed bug in testdriver 2009-10-19 13:59:42 +02:00
Rainer Gerhards
4ccf24c096 cleanup: finally moved some config variables just to conf.c 2009-10-19 10:17:24 +02:00
Rainer Gerhards
90e8475260 bugfix: message processing states were not set correctly in all cases
however, this had no negative effect, as the message processing state
was not evaluated when a batch was deleted, and that was the only case
where the state could be wrong.
2009-10-19 09:41:45 +02:00
Rainer Gerhards
a4344f3501 Merge branch 'master' into newqueue
Conflicts:
	ChangeLog
2009-10-16 09:50:46 +02:00
Rainer Gerhards
e005c5569c some minor cleanup, consolidated some code 2009-10-16 09:42:36 +02:00
Rainer Gerhards
d9f1a16de4 improved input thread termination for imtcp and imuxsock 2009-10-16 09:33:21 +02:00
Rainer Gerhards
5c0920c159 cosmetic: cleanup of imfile 2009-10-16 09:24:55 +02:00
Rainer Gerhards
f3884d5262 ensure proper imudp shutdown even on a very busy system 2009-10-16 09:18:51 +02:00
Rainer Gerhards
ba475a90cf added forgotten file 2009-10-16 09:05:21 +02:00
Rainer Gerhards
1e0e9e67f0 Merge branch 'david-master' into master
Conflicts:
	ChangeLog
	runtime/msg.c
2009-10-16 08:45:57 +02:00
Rainer Gerhards
cd118cfcc2 bugfix: compile problem when system provided only epoll_create()
I introduced that problem yesterday when I improved epoll support.
2009-10-16 08:41:59 +02:00
Rainer Gerhards
e53d91ce66 solved a recently introduced race during input thread shutdown
This was introduced when we re-enabled non-cancel thread termination
a few commits ago. This code has never been released as a tarball,
so that is no bugfix for a release but rather a WiP regression fix
and thus does not need to be mentioned in the ChangeLog.
2009-10-15 18:33:33 +02:00
Rainer Gerhards
5b1eb92091 improved imudp so that epoll can be used in more environments
Fixed potential compile time problem if EPOLL_CLOEXEC is not available.
2009-10-15 13:40:10 +02:00
Rainer Gerhards
73f83d963b Merge branch 'master' into newqueue
Conflicts:
	tools/syslogd.c
2009-10-15 11:57:53 +02:00
Rainer Gerhards
11c3b7d9e4 updated project status 2009-10-15 10:29:09 +02:00
Rainer Gerhards
38f98211cd prepared for 5.1.6, corrected typo v5.1.6 2009-10-15 10:21:49 +02:00
Rainer Gerhards
1171487582 Merge branch 'v4-devel' 2009-10-14 17:15:38 +02:00
Rainer Gerhards
c51b7326b5 Merge branch 'v4-beta' into beta 2009-10-14 17:15:26 +02:00
Rainer Gerhards
ad40d586ab Merge branch 'v4-beta' into v4-devel 2009-10-14 17:15:11 +02:00
Rainer Gerhards
7f9db36d9a Merge branch 'v3-stable' into v4-stable
Conflicts:
	plugins/imrelp/imrelp.c
2009-10-14 17:14:56 +02:00
Rainer Gerhards
d30526568c Merge branch 'v3-stable' into v4-beta
Conflicts:
	plugins/imrelp/imrelp.c
2009-10-14 17:06:40 +02:00