Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
miry committed Oct 16, 2021
1 parent 89316a2 commit 2cf69f4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ stopping you from creating a client in any other language (see
3. [Bandwidth](#bandwidth)
4. [Slow close](#slow_close)
5. [Timeout](#timeout)
6. [Slicer](#slicer)
6. [Reset peer](#reset_peer)
7. [Slicer](#slicer)
6. [HTTP API](#http-api)
1. [Proxy fields](#proxy-fields)
2. [Toxic fields](#toxic-fields)
Expand Down Expand Up @@ -404,6 +405,15 @@ Stops all data from getting through, and closes the connection after `timeout`.
`timeout` is 0, the connection won't close, and data will be delayed until the
toxic is removed.

Attributes:

- `timeout`: time in milliseconds

#### reset_peer

Simulate TCP RESET (Connection reset by peer) on the connections by closing the stub Input
immediately or after a `timeout`.

Attributes:

- `timeout`: time in milliseconds
Expand Down

0 comments on commit 2cf69f4

Please sign in to comment.