proxy on bun fetch doesn't work on windows. In linux works fine, but on windows i got: (verbose mode on)
request: GET /
Connection: keep-alive
User-Agent: Bun/1.1.8
Accept: */*
Host: api.ipify.org
Accept-Encoding: gzip, deflate, br
Response: < 200 Connection established
Syscall fetching "https://api.ipify.org/". For more information, pass verbose: true in the second argument to fetch()
path: "https://api.ipify.org/"`
What version of Bun is running?
1.1.8+89d25807f
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
proxy on bun fetch doesn't work on windows. In linux works fine, but on windows i got: (verbose mode on)
The code:
What is the expected behavior?
Should return 200 and the IP of the proxy.
What do you see instead?
Syscall fetching "https://api.ipify.org/". For more information, pass
verbose: true
in the second argument to fetch() path: "https://api.ipify.org/"Additional information
in linux this code works fine, but only on windows that not.