mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 04:30:43 +01:00
in legacy config, we do not have a way to slow down sending UDP messages to a rate where no message loss occurs (message loss is fine here due to the UDP RFCs!). As such, we simply reduce the number of messages in this test. That actually doesn't hurt anything, as the purpose of the test is that messages are properly received and processed. More messages are still being sent with the equivalent test that uses RainerScript config.
11 lines
682 B
Bash
Executable File
11 lines
682 B
Bash
Executable File
# This runs sends and receives messages via UDP to the non-standard port 2514
|
|
# Note that with UDP we can always have message loss. While this is
|
|
# less likely in a local environment, we strongly limit the amount of data
|
|
# we send in the hope to not lose any messages. However, failure of this
|
|
# test does not necessarily mean that the code is wrong (but it is very likely!)
|
|
# added 2009-11-11 by Rgerhards
|
|
# This file is part of the rsyslog project, released under GPLv3
|
|
echo ===============================================================================
|
|
echo \[sndrcv_udp_nonstdpt.sh\]: testing sending and receiving via udp
|
|
source $srcdir/sndrcv_drvr.sh sndrcv_udp_nonstdpt 50
|