profile
viewpoint

Ask questionsHow to gracefully shutdown smtpd?

You mentioned that you modeled it after the built-in http server. It has a Shutdown method for gracefully shutting down the service. How do I do the equivalent with smtpd? Thanks!

mhale/smtpd

Answer questions mhale

Your analysis makes sense. The Server in the http package has handling for the shutdown after the Accept call which is missing here. Want to have a go at fixing it and sending a pull request?

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List