Skip to content
New issue

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

请求帮助:我需要将response与对应的request关联起来 #138

Open
YogSothoth-mxc opened this issue Aug 18, 2023 · 0 comments
Open

Comments

@YogSothoth-mxc
Copy link

Issue description

我使用ext-plugin-post-req和ext-plugin-post-resp两个插件配合实现一些功能。
在ext-plugin-post-req阶段会缓存一些信息,需要在ext-plugin-post-resp的时候知道对应哪个request。

我已经尝试过使用request-id插件,但是在response阶段,ext-plugin-post-resp运行在request-id之前,所以无法从header中获取到request-id产生的id。

有什么方法可以在go-runner里,将response和request关联么?

Environment

  • APISIX Go Plugin Runner's version:
  • APISIX version:
  • Go version:
  • OS (cmd: uname -a):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant