]> Cypherpunks repositories - gostls13.git/commit
net: use same sendFile for freebsd/dragonfly and solaris
authorTobias Klauser <tklauser@distanz.ch>
Thu, 5 Apr 2018 10:20:12 +0000 (12:20 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 6 Apr 2018 14:48:05 +0000 (14:48 +0000)
commit84b784a84f89f94ceae952743aa447a6a9c95f32
tree1443b996d7845ff26a2e9d3d2e673506671160d8
parent92c29ef94116f64263444a07748192b3857be9f1
net: use same sendFile for freebsd/dragonfly and solaris

FreeBSD/Dragonfly and Solaris have identical implementations of
sendFile. Keep one and adjust the comments accordingly.

Change-Id: I77b0f88a4816dd6e40f5cb33919c44606401ac6b
Reviewed-on: https://go-review.googlesource.com/104915
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/sendfile_solaris.go [deleted file]
src/net/sendfile_unix_alt.go [moved from src/net/sendfile_bsd.go with 90% similarity]