token-ratelimit crash bugfix (#1119)

This commit is contained in:
rinfx
2024-07-12 15:05:15 +08:00
committed by GitHub
parent 5306385e6b
commit 46218058d1

View File

@@ -166,7 +166,6 @@ func onHttpStreamingBody(ctx wrapper.HttpContext, config ClusterKeyRateLimitConf
if response.Error() != nil { if response.Error() != nil {
log.Errorf("call Eval error: %v", response.Error()) log.Errorf("call Eval error: %v", response.Error())
} }
proxywasm.ResumeHttpResponse()
}) })
if err != nil { if err != nil {
log.Errorf("redis call failed: %v", err) log.Errorf("redis call failed: %v", err)