You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: break out of reading from the association if we can't get to relay (#245)
* fix: return early on failure to upgrade
* fix: add `ERR_READ` connection errors to track non-closure errors
* Close the association on invalid ciphers and packets to release resources.
* Break out of the association `Read()` loop on non-close read errors.
* Add `nil` checks.
* Simplify breaking out of the read loop for all initial packet errors.
* Simplify further by just checking the `targetConn`.
* Remove unnecessary `clientConn.Close()`.
* Improve comment slightly.
0 commit comments