1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

minor commit. But I am not happy with the jwt implementations for Go...they seem to produce enough performance cost, will try to make a jwt parser by myself and see the difference

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-10-19 10:05:48 +03:00
parent 02bfc83f2a
commit d517f36a29
5 changed files with 28 additions and 13 deletions

View File

@@ -718,7 +718,7 @@ func (ac *AccessLog) Handler(ctx *context.Context) {
// Enable reading the request body
// multiple times (route handler and this middleware).
if ac.shouldReadRequestBody() {
ctx.RecordBody()
ctx.RecordRequestBody(true)
}
// Set the fields context value so they can be modified