]> Cypherpunks repositories - gostls13.git/commit
net: fix setKeepAlivePeriod on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Thu, 2 Jul 2015 06:36:45 +0000 (08:36 +0200)
committerRuss Cox <rsc@golang.org>
Wed, 15 Jul 2015 02:53:34 +0000 (02:53 +0000)
commite6a0c21e7d1970431c4b0e82acc9b0ec34dee29f
tree25066356ca14325622e3a159ac03050e1a261f33
parentdf9423f4dcd7c5f6804f22daa37edf40fdc55d21
net: fix setKeepAlivePeriod on Plan 9

The interface to set TCP keepalive on Plan 9 is
writing the "keepalive n" string to the TCP ctl file,
where n is the milliseconds between keepalives.

Fixes #11266.

Change-Id: Ic96f6c584063665a1ddf921a9a4ddfa13cc7501b
Reviewed-on: https://go-review.googlesource.com/11860
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/net/tcpsockopt_plan9.go