Ericsson / xcm

The Extensible Connection-oriented Messaging (XCM) library.
BSD 3-Clause "New" or "Revised" License
16 stars 4 forks source link

UX xcm_remote_addr() change for SO_PASSCRED-less peer #85

Closed m-ronnblom closed 1 year ago

m-ronnblom commented 1 year ago

In the UX and UXF transport, in case the peer socket didn't set to SO_CRED socket option, xcm_remote_addr() would return "uxf:" on pre-1.9.0, but returns NULL on 1.9.0.

The latter may seems more reasonable, but retaining old behavior is always preferred. Both seems to be within the limits of what the XCM API allows.