please show the key code and package and golang version. 在 2019年2月18日星期一 UTC+8上午9:11:48,rlwes...@gmail.com写道: > > I have an application running in a FreeBSD jail that opens TCP connections > to other servers. When I try to shutdown the jail shortly after opening a > connection, it fails to unmount the filesystem with "device busy". I've > tried all manner of sysctl options and server.SetKeepalivesEnabled(false) > and similar functions, but nothing has any effect. I think it might be > because there are a lot of places in the code this can happen and some of > the connections might be getting opened by code in other repos I'm > importing. Is there an easy way to just close all open TCP connections? >
-- 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. For more options, visit https://groups.google.com/d/optout.