]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: make closeNotify a warning alert.
authorAdam Langley <agl@golang.org>
Tue, 16 Oct 2012 19:40:37 +0000 (15:40 -0400)
committerAdam Langley <agl@golang.org>
Tue, 16 Oct 2012 19:40:37 +0000 (15:40 -0400)
commitcfa1ba34cc98c5f804d5ab9672b09acf43fee102
tree727a6536d8f723a19c3ecf3b51062e508a1cbd98
parent71588bc2bceddb95795bc5a306c835e5d8f58fdc
crypto/tls: make closeNotify a warning alert.

The RFC doesn't actually have an opinion on whether this is a fatal or
warning level alert, but common practice suggests that it should be a
warning.

This involves rebasing most of the tests.

Fixes #3413.

R=golang-dev, shanemhansen, rsc
CC=golang-dev
https://golang.org/cl/6654050
src/pkg/crypto/tls/conn.go
src/pkg/crypto/tls/handshake_client_test.go
src/pkg/crypto/tls/handshake_server_test.go