Skip to content

intermittent server.Stop() error #45

@jimlambrt

Description

@jimlambrt

Describe the bug
Occasionally, we see the following error on shutdown:

2023-05-08T12:14:01.550-0400 [ERROR] testdirectory-default-logger: error stopping directory: %s: op="testdirectory.(Directory).Stop" err="gldap.(Server).Stop: no listener: invalid state"

Expected behavior

If the listener is already closed or nil, we shouldn't try to close it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions