Skip to content

Commit

Permalink
Merge pull request labstack#475 from Anon-Penguin/patch-1
Browse files Browse the repository at this point in the history
Fix infinite recursion
  • Loading branch information
vishr committed Apr 19, 2016
2 parents 1c2d634 + ac2f201 commit 1d47a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/fasthttp/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1d47a6c

Please sign in to comment.