diff --git a/server.go b/server.go index 359bb98..30609cc 100644 --- a/server.go +++ b/server.go @@ -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 diff --git a/server_test.go b/server_test.go index 01c832f..0de5339 100644 --- a/server_test.go +++ b/server_test.go @@ -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