diff -r a264cb0129e2 -r 25c4296a3524 stream.go --- a/stream.go Thu Jan 19 22:41:09 2012 -0700 +++ b/stream.go Thu Jan 19 22:57:36 2012 -0700 @@ -141,6 +141,8 @@ } break Loop } + // BUG(cjyar): Does not verify server hostname + // in DNS as per RFC3920.14.3. ch <- st continue case "stream error", NsStream + " error": @@ -403,7 +405,7 @@ } // BUG(cjyar): Server certificate is not checked against the provided -// hostname. +// hostname. RFC3920.14.2 // readTransport() is running concurrently. We need to stop it, // negotiate TLS, then start it again. It calls waitForSocket() in