jain-sip
jain-sip copied to clipboard
incomingMessageChannel is not updated
In TLSMessageProcessor class, in run() method, below line creates object to TLSMessageChannel TLSMessageChannel newChannel = new TLSMessageChannel(newsock, sipStack, this, "TLSMessageChannelThread-" + nConnections);
which in turn creates a thread and start it in constructor itself, which is not good practice since as most of the time, it will end up with an escaped this reference, either explicitly or implicitly.
Because of this, incomingMessageChannel map is not updated with values.

