golang TLS是否支持IE8?

alb*_*ert 5 go

最新的Chrome/IE9/Firefox都运行良好.IE8抱怨页面无法显示,看起来连接中止.这里是快速测试代码.

package main

import (
    "time"
    "fmt"
    "net/http"
)

type Handler struct {
}

func (this *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    fmt.Fprintf(w, "Hello, %q", r.URL.Path)
}

func main() {
    handler := &Handler{}
    ss := &http.Server{
        Addr: ":443",
        Handler: handler,
        ReadTimeout: 10 * time.Second,
        WriteTimeout: 10 * time.Second,
        MaxHeaderBytes: 1 << 20,
    }
    ss.ListenAndServeTLS("cert.pem", "key.pem")
}
Run Code Online (Sandbox Code Playgroud)

注意,"cert.pem"和"key.pem"由"crypto/tls/generate_cert.go"生成.我尝试了一个真正的证书,它也没有用.

Den*_*ret 0

由于 OP 没有做出正确的答案,因此从问题中移出

这个问题可以通过这个补丁解决,“0001-Allow-SSLv2-completed-client-hello-so-SSLv2-compati.patch”,问题http://code.google.com/p/go/issues/detail ?id=3930

但是,此修订版http://code.google.com/p/go/source/detail?r=8048fe8f6f4b并没有解决问题。