From: E. Scott Daniels Date: Tue, 17 Sep 2019 17:58:33 +0000 (-0400) Subject: Change connection mode to asynchronous X-Git-Tag: 1.7.0^0 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=f23c7756b6c75f571e28346c6ee1466f108932c8;hp=f23c7756b6c75f571e28346c6ee1466f108932c8;p=ric-plt%2Flib%2Frmr.git Change connection mode to asynchronous The default mode for NNG is to make TCP connections in a synchronous or blocking manner (opposite of Nanomsg). This change causes RMR to invoke the NNG connection function (dialer) with the non-blocking flag set. This will likely result in soft failures (retries) on message send attempts until the connection is completed. The original blocking mode can be enabled by setting the RMR_ASYNC_CONN environment variable to 0 which will turn this off and cause connections to block. Absense of the variable, or setting it to 1, causes asynch mode to be on. This addresses the issue described in RICPLT-2215. Signed-off-by: E. Scott Daniels Change-Id: I4f544d772227b784efd1f7146a18921b91ae7f8e ---