Do you mean like tcp half-close? On Thu, May 30, 2019, 5:40 PM David Collier-Brown <dav...@spamcop.net> wrote:
> 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 > <https://groups.google.com/d/msgid/golang-nuts/36fabc29-6ccc-45f6-99bb-f728710c6e18%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJSxfmKG%3Dw3sWRMHXg5EPG%2BRBAxvbd1iSOnyPN1a%3De6zKL%3D%3D6g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.