Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Do not crash session when connection is closed

open
nobody
None
5
2005-08-03
2005-08-03
Anders Nygren
No

When a connection is closed when a session is in a
state other than unbound, it will exit with an error.

But according to SMPP 5.0, 2.7 Session Timers, On the
expiry of the inactivity timer "...The resulting
behaviour is to either close the session or issue an
unbind request."

So it seems like connection close is legal in all states.

I think that the correct action is just to log the
event and terminate the session with reason normal.

Discussion