Skip to content

Commit

Permalink
修复request与proxy数据不一致的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Dot-Liu committed Jan 18, 2023
1 parent 797c116 commit 20cc3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/http-context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (ctx *HttpContext) Context() context.Context {
}

func (ctx *HttpContext) AcceptTime() time.Time {
return ctx.fastHttpRequestCtx.ConnTime()
return ctx.fastHttpRequestCtx.Time()
}

func (ctx *HttpContext) Value(key interface{}) interface{} {
Expand Down

0 comments on commit 20cc3be

Please sign in to comment.