Repository navigation
v0.1.1
A fix of the break that a context sends.
go get github.com/xo/oracle@v0.1.1When a context ends a call, the driver sends the break of Oracle Net and
marks it pending until the server answers. v0.1.0 marked the break after it
wrote it. When the server answered at once, as on a fast machine, the answer
came first and the flag stayed set. The next call on that connection then
waited 10 seconds for an answer that had come already, and failed with
driver.ErrBadConn. The driver now marks the break pending before it sends
it. TestBreakAnsweredAtOnce holds it.
Every user of v0.1.0 that ends calls with a context needs this release.