mirror of
https://github.com/labstack/echo.git
synced 2025-01-12 01:22:21 +02:00
Merge pull request #475 from Anon-Penguin/patch-1
Fix infinite recursion
This commit is contained in:
commit
1d47a6cd30
@ -34,7 +34,7 @@ func NewRequest(c *fasthttp.RequestCtx, l *log.Logger) *Request {
|
||||
|
||||
// IsTLS implements `engine.Request#TLS` function.
|
||||
func (r *Request) IsTLS() bool {
|
||||
return r.IsTLS()
|
||||
return r.RequestCtx.IsTLS()
|
||||
}
|
||||
|
||||
// Scheme implements `engine.Request#Scheme` function.
|
||||
|
Loading…
Reference in New Issue
Block a user