We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am using a long lived resolver which sometimes generates "write on closed channel" panics.
The fix below just copies the pattern from the stopProbing channel:
diff --git a/service.go b/service.go index 6253c54..42ab5bd 100644 --- a/service.go +++ b/service.go @@ -72,7 +72,8 @@ type lookupParams struct {
isBrowsing bool stopProbing chan struct{}
// newLookupParams constructs a lookupParams. @@ -91,11 +92,11 @@ func newLookupParams(instance, service, domain string, isBrowsing bool, entries // Notify subscriber that no more entries will arrive. Mostly caused // by an expired context. func (l *lookupParams) done() {
func (l *lookupParams) disableProbing() {
// ServiceEntry represents a browse/lookup result for client API.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am using a long lived resolver which sometimes generates "write on closed channel" panics.
The fix below just copies the pattern from the stopProbing channel:
diff --git a/service.go b/service.go
index 6253c54..42ab5bd 100644
--- a/service.go
+++ b/service.go
@@ -72,7 +72,8 @@ type lookupParams struct {
}
// newLookupParams constructs a lookupParams.
@@ -91,11 +92,11 @@ func newLookupParams(instance, service, domain string, isBrowsing bool, entries
// Notify subscriber that no more entries will arrive. Mostly caused
// by an expired context.
func (l *lookupParams) done() {
}
func (l *lookupParams) disableProbing() {
}
// ServiceEntry represents a browse/lookup result for client API.
The text was updated successfully, but these errors were encountered: