looneyapurv / jain-sip

Automatically exported from code.google.com/p/jain-sip
0 stars 0 forks source link

NIO TLS channel creates duplicate connection when using hostname #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.send traffic to hostname and not ip
2.send request back to client from this hostname ( via can be either ip or host 
)

What is the expected output? What do you see instead?
Excepted to reuse same socket on client side

What version of the product are you using? On what operating system?
Latest trunk

Please provide any additional information below.

http://code.google.com/p/jain-sip/source/browse/src/gov/nist/javax/sip/stack/Mes
sageChannel.java#320

getkey creates key based on hostname and not ip , this causes errors with 
certificates and channels creation ( client changes host/port pair because new 
socket is created and therefore server does not knows where to send data 
anymore - no route to it )

Original issue reported on code.google.com by oifa.yul...@gmail.com on 14 Apr 2013 at 12:51

GoogleCodeExporter commented 9 years ago
Fixed in latest stack

Original comment by jean.deruelle on 18 Mar 2015 at 5:39