summaryrefslogtreecommitdiffhomepage
path: root/docs/sources
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-05-26 22:20:12 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-05-26 22:35:53 +0900
commitb00a45b094ffb70db90a4e67d8599e939ca6857e (patch)
tree6d605631ce498fc9137d461e506690e2737b0bed /docs/sources
parent349f74e4e7e990a221d747243a7810a0bf31f8f0 (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 'docs/sources')
0 files changed, 0 insertions, 0 deletions