commit | 758cf3083ad04759a7af8f8a31ad1a05aab2cfd3 | [log] [tgz] |
---|---|---|
author | iamqizhao <toqizhao@gmail.com> | Mon Dec 14 14:40:21 2015 -0800 |
committer | iamqizhao <toqizhao@gmail.com> | Mon Dec 14 14:40:21 2015 -0800 |
tree | 025f730a038324931ce643a4cc05985560b1aff1 | |
parent | 330d8f958cb97e3acd23068bcdd5643086c8ca82 [diff] |
add comments to NotifyReset
diff --git a/clientconn.go b/clientconn.go index 156438d..6b194c8 100644 --- a/clientconn.go +++ b/clientconn.go
@@ -356,6 +356,8 @@ return cc.state, nil } +// NotifyReset tries to signal the underlying transport needs to be reset due to +// for example a name resolution change in flight. func (cc *Conn) NotifyReset() { select { case cc.resetChan <- 0: