Correct excessive TCP connection bug 23/5523/1 cherry
authorE. Scott Daniels <daniels@research.att.com>
Thu, 21 Jan 2021 16:17:33 +0000 (11:17 -0500)
committerE. Scott Daniels <daniels@research.att.com>
Wed, 27 Jan 2021 18:23:24 +0000 (13:23 -0500)
commitb4ed359628db76a6afe4758599dc9b6b32c6f34a
tree6c02ada2555cdfa022df6e2117c476a75a3d01c7
parentf4a2227da63b7dd64310d24b285cffb44d159746
Correct excessive TCP connection bug

This change corrects a bug in the handling of sends on a blocked
TCP session that was causing a session reconnect to the endpoint,
and resulted in an excessive number of open file descriptors leading
to a segmentation fault.

The change also includes a better warning message when a receiving
process is failing to keep up; the warning is issued every 60
seconds, with a count, when messages are being dropped.

Issue-ID: RIC-735

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Id43b1c8c4766e5a89158fb31b05df547603c3e13
(cherry picked from commit fd4477a9698a46ce5755d614b663c18ceadf43c4)
CHANGES_CORE.txt
CMakeLists.txt
docs/rel-notes.rst
src/rmr/common/src/mbuf_api.c
src/rmr/si/include/rmr_si_private.h
src/rmr/si/src/mt_call_si_static.c
src/rmr/si/src/rmr_si.c
src/rmr/si/src/si95/sisendt.c
src/rmr/si/src/sr_si_static.c