Problem:

  • Product Name: VisiBroker
  • Product Version: 7.0 SP1, 8.0 SP1
  • Component: C
  • Platform : All
There is a fix below which can change VisiBroker C behavior using a new environment variable VB_SO_REUSEADDR, but there is no explanation in the release notes:
"CR6453 - When starting the VisiBroker process, it always sets SO_REUSEPORT, and does not allow customer to change the behaviour"
 
However, the explanation for VB_SO_REUSEADDR environment variable is lacking.

Resolution:

Note that in the actual enhancement implementation, VisiBroker C does not use SO_REUSEPORT, but rather uses SO_REUSEADDR to control the server binding socket option.

This enhancement allows SO_REUSEADDR to be set by using the environment variable VB_SO_REUSEADDR.

When set VB_SO_REUSEADDR to 1, VisiBroker C  uses SO_REUSEADDR (the default), otherwise when set to 0, it does not use SO_REUSEADDR.

Incident #2487191