Skip to content

Conversation

thomasvargiu
Copy link
Contributor

@thomasvargiu thomasvargiu commented Dec 27, 2016

It's possible to send a Logoff action. When this happens, Asterisk sends a response message and then close the connection. With this PR is possible to read the Logoff response message without throwing an exception if it's the last message and the connection is closed after that.

Also related to #121, because it's a good practice to send a logoff to disconnect, but sending it could throws an exception at this moment. This PR fix this.

Some little fixes on the code found debugging it.

@coveralls
Copy link

coveralls commented Dec 27, 2016

Coverage Status

Coverage remained the same at 91.932% when pulling 6cbc707 on thomasvargiu:hotfix/57-read-and-eof into 61e5860 on marcelog:master.

dkgroot pushed a commit to chan-sccp/PAMI that referenced this pull request Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants