1
0
mirror of https://github.com/golang/go synced 2024-10-05 08:31:22 -06:00
go/src/pkg/net/http/httptest
Adam Langley 5b20a18f3b crypto/x509: support IP SANs.
Subject Alternative Names in X.509 certificates may include IP
addresses. This change adds support for marshaling, unmarshaling and
verifying this form of SAN.

It also causes IP addresses to only be checked against IP SANs,
rather than against hostnames as was previously the case. This
reflects RFC 6125.

Fixes #4658.

R=golang-dev, mikioh.mikioh, bradfitz
CC=golang-dev
https://golang.org/cl/7336046
2013-02-15 10:40:17 -05:00
..
example_test.go net/http/httptest: add examples 2013-02-08 09:20:05 -08:00
recorder_test.go net/http/httptest: mimic the normal HTTP server's ResponseWriter more closely 2012-10-07 09:48:14 -07:00
recorder.go net/http/httptest: mimic the normal HTTP server's ResponseWriter more closely 2012-10-07 09:48:14 -07:00
server_test.go net/http/httptest: add a test 2012-02-09 16:45:24 +11:00
server.go crypto/x509: support IP SANs. 2013-02-15 10:40:17 -05:00