Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-13 | server: fix fd leak in DialTCP() on Linux | FUJITA Tomonori | |
A new socket was created so we must close it before this function returns _either_ on failure or success. On success, net.FileConn() in newTCPConn() increases the refcount of the socket so this fi.Close() doesn't destroy the socket; the caller can use it (and needs to close it later). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | |||
2016-11-17 | add go vet test | Wataru Ishida | |
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | |||
2016-08-15 | server: move linux specific functions to sockopt_linux.go | FUJITA Tomonori | |
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> |