moquette
moquette copied to clipboard
when protocol processor is inited with ssl port the word "disabled" is used to indicate the server name
in this code (ProtocolProcessorBoostrapper.java: 144).
m_processor.init(subscriptions, messagesStore, sessionsStore, authenticator, allowAnonymous, allowZeroByteClientId, authorizator, m_interceptor, props.getProperty(BrokerConstants.PORT_PROPERTY_NAME));
the value
props.getProperty(BrokerConstants.PORT_PROPERTY_NAME)
is used as the name for the server in future logging from ProtocolProcessor.
I'd like to change the field
m_server_port
in ProtocolProcessor to be:
m_server_name
And then setup some code to appropriately name that in the Bootstrapped. If this sounds good, I'll work towards a PR.