kpavlov / jreactive-8583

Kotlin/Java Client & Server for ISO8583 & Netty
Apache License 2.0
317 stars 141 forks source link

Close previous connections #129

Closed danicaliforrnia closed 2 years ago

danicaliforrnia commented 2 years ago

Hi Pavlov,

How can I close previous connections when a new connection is generated?

The problem is when network/internet connection is lost and then restablish, a new connection is generated but the previous ones keep open in the server.

kpavlov commented 2 years ago

Hi, Stefanelly You can only track open connection(s) in netty handler and manually close old ones when new connection is established