mirror of
https://github.com/labstack/echo.git
synced 2025-01-26 03:20:08 +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.
|
// IsTLS implements `engine.Request#TLS` function.
|
||||||
func (r *Request) IsTLS() bool {
|
func (r *Request) IsTLS() bool {
|
||||||
return r.IsTLS()
|
return r.RequestCtx.IsTLS()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scheme implements `engine.Request#Scheme` function.
|
// Scheme implements `engine.Request#Scheme` function.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user