Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 573 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 573 Bytes

hang-fds - stress test your network listeners

This module will open a bunch of connections to a given multiaddr, and hang them. It is meant to stress test your network listeners.

Install

go get github.com/jbenet/hang-fds

Usage

# open 2048 connections to /ip4/127.0.0.1/tcp/8080
hang-fds 2048 /ip4/127.0.0.1/tcp/8080

There is a test listener in the test_server directory.

# accept any connections and hang them
> test-server /ip4/0.0.0.0/tcp/1234

License

MIT