typo fixes in comments

This commit is contained in:
Aliaksandr Valialkin
2016-10-13 17:39:06 +03:00
parent 432960e479
commit e0c9f3d5ff
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -500,7 +500,7 @@ type connTLSer interface {
// tls.Conn is an encrypted connection (aka SSL, HTTPS).
func (ctx *RequestCtx) IsTLS() bool {
// cast to (connTLSer) instead of (*tls.Conn), since it catches
// cases with overriden tls.Conn such as:
// cases with overridden tls.Conn such as:
//
// type customConn struct {
// *tls.Conn
+1 -1
View File
@@ -32,7 +32,7 @@ func TestRequestCtxIsTLS(t *testing.T) {
t.Fatalf("IsTLS must return false")
}
// overriden tls.Conn
// overridden tls.Conn
ctx.c = &struct {
*tls.Conn
fooBar bool