diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-05-26 22:20:12 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-05-26 22:35:53 +0900 |
commit | b00a45b094ffb70db90a4e67d8599e939ca6857e (patch) | |
tree | 6d605631ce498fc9137d461e506690e2737b0bed /server/fsm_test.go | |
parent | 349f74e4e7e990a221d747243a7810a0bf31f8f0 (diff) |
server: fix File() misuse for syscall's setsockopt
We use TCPConn.File() for syscal.SetsockoptInt but File() sets the
underlying os.File to blocking mode and returns a copy. It's not what
we don't want. Instead, we access to private members with reflect...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/fsm_test.go')
0 files changed, 0 insertions, 0 deletions