Closed bluewithanas closed 7 months ago
Look in the settings , you'll see ReadTimeout.
This with a combination of a good EnquireLink interval should help detect stale binds.
yepp! Reading timeouts and enquirelink will be helpful in detecting faulty connections. but my use case is to drop those connections that have no activity on them (no submit_sms, no DLR's, no MO's). I want those connections to drop automatically!
I will explore how I can work with these two to fit my use case!
maybe @tahseenjamal and @linxGnu can help me here :)
To achieve what you are asking, I see two possibilities:
That said, this goes against the way the protocol was designed. I could see why you would need this in a Tx only situation, but when dealing in Rx or Trx and receiving DRs and MOs, like you mentioned, you would want to keep the bind up with enquire_links.
ok thanks. i will try this.
as mentioned in the section7.2 under timer definitions, do we support inactivity timers where the session would be dropped automatically after specifying a time duration? this would be helpful in closing the passive connections automatically?