Descriptioncrypto/tls: don't send NPN extension if NextProtos is not set.
This isn't clearly a bug on Go's part, but it triggers a bug in Firefox
which means that crypto/tls and net/http cannot be wired up together
unless NextProtos includes "http/1.1". When net/http sets up the
tls.Config, it does this and so works fine. But anyone setting up the
tls.Config themselves will hit the Firefox bug.
Fixes issue 5445.
Patch Set 1 #Patch Set 2 : diff -r 4e860d4a312b https://code.google.com/p/go/ #Patch Set 3 : diff -r 4e860d4a312b https://code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r 4e860d4a312b https://code.google.com/p/go/ #Patch Set 5 : diff -r b373a884c5fd https://code.google.com/p/go/ #MessagesTotal messages: 6
|