Using a stop channel to signal clean shutdown to the server's goroutines. Also updates the tests to trigger disconnectChan. This helps avoid spurious error logs when the client disconnects, when Ctrl+C is pressed, etc. |
||
|---|---|---|
| .. | ||
| daptest | ||
| error_ids.go | ||
| server_test.go | ||
| server.go | ||