We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd2c0d1 commit 9c3e874Copy full SHA for 9c3e874
agent/agentssh/agentssh.go
@@ -1109,7 +1109,8 @@ func (s *Server) Close() error {
1109
1110
// Shutdown stops accepting new connections. The current implementation
1111
// calls Close() for simplicity instead of waiting for existing
1112
-// connections to close.
+// connections to close. If the context times out, Shutdown will return
1113
+// but Close() may not have completed.
1114
func (s *Server) Shutdown(ctx context.Context) error {
1115
ch := make(chan error, 1)
1116
go func() {
0 commit comments