Yup, this makes sense and should work, but I'm still surprised this can't be entirely done in Golang.
On Mon, Jul 24, 2023 at 10:49 AM Jan Mercl <0xj...@gmail.com> wrote: > On Mon, Jul 24, 2023 at 9:14 AM David N <danowz...@gmail.com> wrote: > > On Linux you may try fiddling with iptables, limitations apply: > > https://stackoverflow.com/questions/44464617/stop-accepting-new-tcp-connections-without-dropping-any-existing-ones/44509993#44509993 > -- 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/CAN7%3DS7hkBBe%3Dg4a2Dva0srYxuXAPhkfWFXDCHLv%2BqQhHXX4iWw%40mail.gmail.com.