github.com/refraction-networking/utls.RecordHeaderError.Conn (field)
5 uses
crypto/tls
conn.go#L575: Conn net.Conn
conn.go#L582: err.Conn = conn
net/http
server.go#L1936: if re, ok := err.(tls.RecordHeaderError); ok && re.Conn != nil && tlsRecordHeaderLooksLikeHTTP(re.RecordHeader) {
server.go#L1937: io.WriteString(re.Conn, "HTTP/1.0 400 Bad Request\r\n\r\nClient sent an HTTP request to an HTTPS server.\n")
server.go#L1938: re.Conn.Close()
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |