Server-side ReverseConnection: unsetting enableListening makes connection fail
Description
When using enableListening=false
in XML configuration of noListening=true
in EP config, the connection fails on reception of OPN request.
Analysis
Functions generating SC id and SC token are expecting the listener to be in opened state which is not the case when noListening
is active.
Implementation
Add alternative SECURE_LISTENER_STATE_INACTIVE
state as acceptable for the endpoint in those functions.