1
0
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:
Vishal Rana 2016-04-19 12:08:01 -07:00
commit 1d47a6cd30

View File

@ -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.