Skip to content

v0.1.3 - API improvements

Compare
Choose a tag to compare
@thda thda released this 28 Jan 12:53
· 49 commits to master since this release

This release attempts to make the library more fail proof.

  • avoid returning nil pointers to the caller in all visible API
  • create empty structs linked with invalid session to use as return values on error
  • do not mark the connection invalid when receiving tds error messages.
    Only protocol/packet/struct parsing errors will mark the session as invalid
  • fix connection leaks in tests