Azure / go-amqp

AMQP 1.0 client library for Go.
https://github.com/Azure/go-amqp
MIT License
110 stars 58 forks source link

Writes to net.Conn need to be deterministic #280

Closed jhendrixMSFT closed 1 year ago

jhendrixMSFT commented 1 year ago

Failed writes will terminate the Conn, and while this will terminate all sessions/links, it happens asynchronously so it's not always clear which API call actually failed.

In addition, we should use the context's deadline, when available, as the write timeout.