Improve the parser, automatically set empty destinations to TRANSIENT when using a dialer, better error handling, when a socket gets closed, increment the ID and re-create it

This commit is contained in:
idk
2020-11-29 16:12:35 -05:00
parent 0d10b5b516
commit 63833f24ab
2 changed files with 12 additions and 3 deletions

View File

@ -144,7 +144,7 @@ func NewClientFromOptions(opts ...func(*Client) error) (*Client, error) {
c.reduceIdleQuantity = 1
c.closeIdle = true
c.closeIdleTime = 60000000
c.debug = true
c.debug = false
c.sigType = SAMsigTypes[4]
c.id = 0
c.lastaddr = "invalid"

13
debian/changelog vendored
View File

@ -1,10 +1,19 @@
golang-github-eyedeekay-gosam (0.32.30) UNRELEASED; urgency=medium
* Improve the defaults
* Handle errors more correctly
* Gracefully handle hangups by creating a new session
* Set empty destinations to TRANSIENT when dialing
-- idk <hankhill19580@gmail.com> Sun, 03 Nov 2020 16:12:04 -0500
golang-github-eyedeekay-gosam (0.32.29) UNRELEASED; urgency=medium
* Maintenance updates
-- idk <hankhill19580@gmail.com> Mon, 23 Nov 2020 20:40:4 -0500
-- idk <hankhill19580@gmail.com> Mon, 23 Nov 2020 20:40:40 -0500
golang-github-eyedeekay-gosam (0.32.27) UNRELEASED; urgency=medium
golang-github-eyedeekay-gosam (0.32.28) UNRELEASED; urgency=medium
* Maintenance updates