We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用版本 hyperf-ext/jwt 版本v2.1.*
每次请求接口,经过 jwt组件 的 HyperfExt\Jwt\Jwt::getParser(): Parser 方法时, 下面代码
jwt组件
HyperfExt\Jwt\Jwt::getParser(): Parser
/** * Get the parser instance. */ protected function getParser(): Parser { return new Parser(); }
内存就会泄漏
包 lcobucci/jwt 的 Lcobucci\JWT\Claim\Factory::__construct(array $callbacks = []) 存在循环引用问题,内存不会被释放
lcobucci/jwt
Lcobucci\JWT\Claim\Factory::__construct(array $callbacks = [])
The text was updated successfully, but these errors were encountered:
我修改了一下 Lcobucci, 提交了 pr, 不知道是否会给修复
Lcobucci
pr
Sorry, something went wrong.
V4版本解决了这个问题,作者建议升级 V4 版本,lcobucci/jwt#771
V4
更新了。
No branches or pull requests
使用版本 hyperf-ext/jwt 版本v2.1.*
每次请求接口,经过
jwt组件
的HyperfExt\Jwt\Jwt::getParser(): Parser
方法时, 下面代码内存就会泄漏
包
lcobucci/jwt
的Lcobucci\JWT\Claim\Factory::__construct(array $callbacks = [])
存在循环引用问题,内存不会被释放The text was updated successfully, but these errors were encountered: