Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The shutdown was not terminating: when the goroutine is waiting in s.…
…Listener.Accept, and a shutdown is initiated with serverLdap.Stop() and followed by a serverLdap.Listener.Close(), the s.Listener.Accept returns an connection closed error, which is not a timeout. By changing to || in this statement, a close will go into the select/case statement and properly terminate.
- Loading branch information