alibaba / alibaba/anyproxy

anyproxy接收到请求没有Response,不打印log

Open
#139 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Windows下anproxy 3.10.3。
命令行启动anproxy后,anyproxy接收到请求没有Response,不打印log。
但是在命令行 执行ctrl+c后,anyproxy又可以正常响应请求了。

目前仅在 rule_default.js中的replaceResponseHeader方法中过滤出需要的网址信息并发送给自己的服务端。并没有对其他地方进行修改。
请问,这个问题的可能原因是什么?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the no-response and missing-log behavior on Windows with anyproxy 3.10.3 from the command line, then compare it with behavior after Ctrl+C. Start by reviewing rule_default.js, especially replaceResponseHeader and its request to the external service. Done means identifying the cause and documenting a focused fix or required configuration change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.