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
Yea, we can probably clean this up now that there's a better standard API, feel free to submit a PR!
mreiferson
changed the title
Refactoring the code to check for errors when invoking 'Accept'. It should use 'errors.Is(err, net.ErrClosed)'.
chore: cleanup error handling code for Accept
Apr 28, 2024
https://github.com/nsqio/nsq/blob/2127c0a1ce50a66d61d78496033b15ef5cb5e250/internal/protocol/tcp_server.go#L27C4-L35C5
The text was updated successfully, but these errors were encountered: