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
I've encountered the same issue as you. After looking through online resources, I found that the njs module can be used to detecte HTTP request headers on stream module. And it also solved my issue.
Activity
aifeiasdf commentedon Mar 24, 2025
"所有"这个概念不是很清晰,read函数不知道你缓冲区有多少数据,如果你想实现的是读多少处理多少最好的办法就是在write_filter_module的前面加一个c模块
ZigHuang commentedon Mar 26, 2025
I've encountered the same issue as you. After looking through online resources, I found that the njs module can be used to detecte HTTP request headers on stream module. And it also solved my issue.
NJS-example