mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 06:10:42 +01:00
bugfix/tcpflood: sending small test files did not work correctly
This commit is contained in:
parent
af968e6ef9
commit
d86a212255
@ -1,4 +1,7 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 5.8.12 [V5-stable] 2012-05-03
|
||||
- bugfix/tcpflood: sending small test files did not work correctly
|
||||
---------------------------------------------------------------------------
|
||||
Version 5.8.11 [V5-stable] 2012-05-03
|
||||
- bugfix: ommysql did not properly init/exit the mysql runtime library
|
||||
this could lead to segfaults. Triggering condition: multiple action
|
||||
|
||||
@ -346,7 +346,7 @@ genMsg(char *buf, size_t maxBuf, int *pLenBuf, struct instdata *inst)
|
||||
do {
|
||||
done = 1;
|
||||
*pLenBuf = fread(buf, 1, 1024, dataFP);
|
||||
if(feof(dataFP)) {
|
||||
if(*pLenBuf == 0) {
|
||||
if(--numFileIterations > 0) {
|
||||
rewind(dataFP);
|
||||
done = 0; /* need new iteration */
|
||||
@ -660,7 +660,7 @@ runTests(void)
|
||||
int run;
|
||||
|
||||
stats.totalRuntime = 0;
|
||||
stats.minRuntime = (unsigned long long) 0xffffffffffffffffll;
|
||||
stats.minRuntime = 0xffffffffllu;
|
||||
stats.maxRuntime = 0;
|
||||
stats.numRuns = numRuns;
|
||||
run = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user