diff options
| author | Ben Burkert <ben@benburkert.com> | 2016-07-24 15:13:56 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-10-17 14:26:55 +0000 |
| commit | c6185aa63217c84a1a73c578c155e7d4dec6cec8 (patch) | |
| tree | f1c484f600ceafaefa104fe9232d6fd70023f09a /src/encoding | |
| parent | b97b7537bc5cf77b8781bd699b17747ca2f02e1a (diff) | |
| download | go-c6185aa63217c84a1a73c578c155e7d4dec6cec8.tar.xz | |
crypto/tls: add CloseWrite method to Conn
The CloseWrite method sends a close_notify alert record to the other
side of the connection. This record indicates that the sender has
finished sending on the connection. Unlike the Close method, the sender
may still read from the connection until it recieves a close_notify
record (or the underlying connection is closed). This is analogous to a
TCP half-close.
Updates #8579
Change-Id: I9c6bc193efcb25cc187f7735ee07170afa7fdde3
Reviewed-on: https://go-review.googlesource.com/25159
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
