Shopify / Shopify/toxiproxy

simulate cable unplug

Open
#149 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
12.4k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

Is it possible to simulate a cable being unplugged? It seems timeout stops the data immediately.

I would prefer something like, stop all data (and hang for ever) after x time so I can use it with the toxicity option and have random hangs in the middle of some connections.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how timeout behavior and the toxicity option affect active connections in the proxy. Define the cable-unplug behavior around stopping data and hanging indefinitely after a configured duration, then add coverage showing that connections remain established but no longer transfer data.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.