1
0
mirror of https://github.com/golang/go synced 2024-11-20 10:44:41 -07:00
go/src
Ben Burkert c6185aa632 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>
2016-10-17 14:26:55 +00:00
..
archive archive/tar: reduce allocations in formatOctal 2016-10-12 21:27:51 +00:00
bufio bufio: remove redundant Writer.flush method 2016-10-01 15:46:15 +00:00
builtin
bytes bytes: encode size of rune read by ReadRune into lastRead to speed up UnreadRune 2016-10-17 06:00:35 +00:00
cmd runtime: speed up non-ASCII rune decoding 2016-10-17 11:25:22 +00:00
compress compress/flate: use correct table for size estimation 2016-10-17 09:00:41 +00:00
container
context context: make DeadlineExceeded implement net.Error 2016-10-05 15:53:04 +00:00
crypto crypto/tls: add CloseWrite method to Conn 2016-10-17 14:26:55 +00:00
database/sql database/sql: add option to use named parameter in query arguments 2016-10-17 07:56:35 +00:00
debug debug/elf: add sparc64 relocations 2016-10-11 21:52:37 +00:00
encoding encoding/pem: add Decode example 2016-10-17 14:02:33 +00:00
errors
expvar expvar: add Value methods 2016-10-13 21:39:03 +00:00
flag
fmt fmt: document and adjust Scanf space handling to eliminate a few paradoxes 2016-10-07 03:46:50 +00:00
go go/internal/gcimporter: set Pos attribute of decoded types.Objects 2016-10-13 19:31:09 +00:00
hash
html html/template: fix Clone so that t.Lookup(t.Name()) yields t 2016-10-17 00:35:20 +00:00
image image/gif: check handling of truncated GIF files 2016-10-05 04:28:45 +00:00
index/suffixarray
internal os: use FindFirstFile when GetFileAttributesEx fails in Stat 2016-10-14 03:58:15 +00:00
io io: simplified a small part of copyBuffer 2016-10-09 22:50:12 +00:00
log
math math/big: move ProbablyPrime into its own source file 2016-10-11 16:16:17 +00:00
mime net/http: multipart ReadForm close file after copy 2016-10-05 16:35:03 +00:00
net net/http: support multiple identical Content-Length headers 2016-10-17 09:02:42 +00:00
os os: use FindFirstFile when GetFileAttributesEx fails in Stat 2016-10-14 03:58:15 +00:00
path path/filepath: simplify TestToNorm 2016-10-16 09:21:57 +00:00
plugin
reflect reflect: ignore struct tags when converting structs 2016-10-04 17:15:59 +00:00
regexp regexp: remove dead code 2016-10-04 14:49:35 +00:00
runtime runtime: speed up non-ASCII rune decoding 2016-10-17 11:25:22 +00:00
sort sort: fix a slice benchmark not using the stable variant, add another 2016-10-05 14:43:23 +00:00
strconv
strings strings: use Index in Count 2016-10-15 16:39:31 +00:00
sync
syscall syscall, net: make deadline changes affect blocked read/write calls on nacl 2016-10-17 05:53:00 +00:00
testing testing: mention in docs for Logf that a final newline is added if needed 2016-10-16 22:29:55 +00:00
text
time time: document that calendrical calculations are with no leap seconds 2016-10-06 19:43:14 +00:00
unicode runtime: speed up non-ASCII rune decoding 2016-10-17 11:25:22 +00:00
unsafe
vendor/golang_org/x vendor/golang_org/x/crypto/curve25519: new package 2016-10-12 17:03:55 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash cmd/dist, cmd/go: add environment variable override for pkg-config 2016-10-03 18:08:01 +00:00
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc