You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Go Version:1.19.6
按照https://www.bfe-networks.net/zh_cn/example/route/ 文档中配置流量转发 且curl -H "host: example.org" "http://127.0.0.1:8080/api/test" 可以正常转发请求。
注册一个新的module,并且绑定了一个HandleForward的回调函数。PS:在AddForwardFilter函数中,日志输出hl.handlers是成功注册该函数。
问题:在curl -H "host: example.org" "http://127.0.0.1:8080/api/test"后,并没有触发HandleForward绑定的回调函数。
求解!谢谢!Orz
Beta Was this translation helpful? Give feedback.
All reactions