Descriptionnet/http, net/http/httptest: don't use 127.0.0.1 for localhost TLS tests
This introduces httptest.(*Server).Transport() to return an
*http.Transport which special-cases the hostname "go-local-test"
to mean localhost, and makes the httptest certificates use
that hostname, instead of "127.0.0.1"
Update Issue 4658
Patch Set 1 #Patch Set 2 : diff -r 6c6b3968b605 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 6c6b3968b605 https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 4 : diff -r 6c6b3968b605 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 6c6b3968b605 https://go.googlecode.com/hg/ #
MessagesTotal messages: 16
|