TSW icon indicating copy to clipboard operation
TSW copied to clipboard

domain 嵌套时抓包上报会被忽略

Open shenchaoran opened this issue 3 years ago • 2 comments

如果业务方也使用了domain,会和tsw的domain嵌套,导致 plugin 中 REQUEST_START 和 RESPONSE_FINISH 钩子的 context 不一致,导致抓包不会被上报

shenchaoran avatar Aug 14 '23 08:08 shenchaoran

目前看来,这个应该无解,嵌套就无法得到context了

RobinzZH avatar Aug 23 '23 06:08 RobinzZH

TSW 3.0 内部已改为 AsyncLocalStorage 的实现替代了 Domain

mapleeit avatar Apr 16 '26 08:04 mapleeit