Merge pull request #97 from libp2p/reset-temp-err-catcher
reset the temporary error catcher delay after successful accept
This commit is contained in:
commit
c622cb0630
|
@ -80,6 +80,7 @@ func (l *listener) handleIncoming() {
|
|||
l.err = err
|
||||
return
|
||||
}
|
||||
catcher.Reset()
|
||||
|
||||
// gate the connection if applicable
|
||||
if l.upgrader.ConnGater != nil && !l.upgrader.ConnGater.InterceptAccept(maconn) {
|
||||
|
|
Loading…
Reference in New Issue