Open mifi opened 2 years ago
toxy is no longer actively maintained, I'm sorry. Although, it can be easily adapted to work with node v14+, but it would be quicker to use other maintained solutions out there, such as toxiproxy
Thanks for your fast reply! I also went with toxiproxy. That's a pity, because toxy
is a really cool tool, and even seems to support more features than toxyproxy. Maybe you could put a note on top of the readme warning people that it's no longer maintained and not working on latest Node.js, or looking for maintainer, if you are open for someone taking over:)
Also stumbled on this. For anyone who is interested, you'd need to add at least one poison for it to work, e.g.:
-proxy.all('/*')
+proxy
+ .all('/*')
+ .poison(poisons.latency(0))
This example https://github.com/h2non/toxy/blob/master/examples/bandwidth-limit.js or even this simple code:
...doesn't work.
When connecting with curl:
Works fine with node v10.