We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29645df + 4a79eb7 commit bb8191bCopy full SHA for bb8191b
connection.go
@@ -262,7 +262,8 @@ func (c *Connection) ConnectionState() tls.ConnectionState {
262
NotifyClose registers a listener for close events either initiated by an error
263
accompanying a connection.close method or by a normal shutdown.
264
265
-On normal shutdowns, the chan will be closed.
+The chan provided will be closed when the Channel is closed and on a
266
+graceful close, no error will be sent.
267
268
To reconnect after a transport or protocol error, register a listener here and
269
re-run your setup process.
0 commit comments