crapify icon indicating copy to clipboard operation
crapify copied to clipboard

Socket.io/websocket support?

Open Arrow7000 opened this issue 9 years ago • 2 comments

Will this work on websocket connections too, for example with socket.io? Thanks!

Arrow7000 avatar Sep 16 '16 11:09 Arrow7000

@Arrow7000 I'm not 100% sure; have you had a chance to test @Arrow7000?

bcoe avatar Oct 06 '16 04:10 bcoe

FYI: I was testing with a redis connection and it worked, i created the proxy like that:

./crapify start --port 7070 --speed 1000

Let this port forwarding the redis through the proxy:

socat TCP-LISTEN:6381,reuseaddr,fork PROXY:localhost:redis:6379,proxyport=7070

And connected to redis

redis-cli -p 6381

When i get some big payload after some idle time it was coming fast, however if i repeated the GET command in redis (with a very small interval), it would be slow (2 ~ 3s delay)

andersondanilo avatar Jan 24 '22 18:01 andersondanilo