Skip to content

Server: add controlled shutdown support and clean status server stop#175

Open
Kaiman30 wants to merge 1 commit into
connet-dev:mainfrom
Kaiman30:controlled-server-shutdown
Open

Server: add controlled shutdown support and clean status server stop#175
Kaiman30 wants to merge 1 commit into
connet-dev:mainfrom
Kaiman30:controlled-server-shutdown

Conversation

@Kaiman30
Copy link
Copy Markdown

  • moved Server.Run to its own context.WithCancel
  • added Server.Shutdown()
  • updated runWithStatus so the status server closes when the main server closes
  • ignoring http.ErrServerClosed in pkg/statusc/server.go

@ingon
Copy link
Copy Markdown
Contributor

ingon commented May 14, 2026

Hi, can you provide some details on what are you trying to achieve here?

@Kaiman30
Copy link
Copy Markdown
Author

Hello! I'm just learning Golang and networking, and I really like your project and just wanted to get a feel for it. I saw the "next" items in the README.MD and thought I could help. I decided to complete one to make sure you're open to offers of assistance.
Sorry to bother you. I wish you good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants