FreeAndNil opened a new issue, #371:
URL: https://github.com/apache/logging-log4net/issues/371
Since 3.2.0 `RemoteSyslogAppender` uses a connected UDP socket. On Linux an
ICMP error for one
datagram (port unreachable, fragmentation needed) is returned by the next
`send()`, which then
transmits nothing. The next record is lost and reported as failed, although
the error belonged to
the one before it.
- The collector port is closed for a while: about every second record is
lost.
- A hop with a smaller MTU than the sending host's interface: a record that
fits the interface but
not the hop is dropped by the router, and the record after it is lost too.
ANT-2026-C2Q2AQZL.
Proposed fix: on a `SocketException`, `RemoteSyslogAppender` sends the same
datagram once more and
reports the first error through the `ErrorHandler`. A failed retry is
counted as lost, as today.
Document `MaxDatagramSize` for paths with a smaller MTU.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]