My leaky brain has lost an old technique... Once upon a time, I would send an old copy of a program a SIGHUP, and it would shut down a socket listening on, for example, port 25 (SMTP). A newer release of the program would succeeding in binding to port 25, taking over any new connection requests. When the old program closed it's last email transfer, it would then exit.
The idea was to update a (mail-)server implementation without losing transactions. I can no longer find the code I once used, nor other people's examples, much less modern Golang examples! Please tell me we haven't lost this technique (:-() --dave -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/36fabc29-6ccc-45f6-99bb-f728710c6e18%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.