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
1. Create a express server using createProxyMiddleware with configured agent socks-proxy-agent (socks5)
2. Run proxy app
3. Create a POST request
Expected behavior (be clear and concise)
It is expected that the urlencode function will give the result as without using a custom agent.
The debug log body-parser:urlencoded should contain this output:
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
If a custom
agent
is specified in the configuration, for example, in my case,socks-proxy-agent
, then theurlencode
function cannot complete its work.That is, no events for
socket
are called inside it.The debug log
body-parser:urlencoded
has this output:Step-by-step reproduction instructions
Expected behavior (be clear and concise)
It is expected that the
urlencode
function will give the result as without using a custom agent.The debug log
body-parser:urlencoded
should contain this output:How is http-proxy-middleware used in your project?
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Windows 10 & Node: 16.19.0
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: