Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Fix conn/session/link being closed and other operations returning nil error #34

Merged
merged 1 commit into from
Feb 14, 2018

Conversation

vcabbage
Copy link
Owner

  • Adds exported ErrConnClosed, ErrSessionClosed, and ErrLinkClosed
    indicating a library consumer requested close.
  • Some refactoring to conn close logic to remove race condition where
    another component could acquire conn.errMu after conn.mux releases it
    but before conn.close acquires it.
  • Copied integration test fixes from add connection open properties #31.

Fixes #33

… error.

* Adds exported `ErrConnClosed`, `ErrSessionClosed`, and `ErrLinkClosed`
  indicating a library consumer requested close.
* Some refactoring to conn close logic to remove race condition where
  another component could acquire conn.errMu after conn.mux releases it
  but before conn.close acquires it.
* Copied integration test fixes from #31.

Fixes #33
@vcabbage vcabbage merged commit e2cb6f5 into master Feb 14, 2018
@vcabbage vcabbage deleted the link-nil-error branch February 14, 2018 17:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nil pointer dereference
1 participant