bogdanfinn / tls-client

net/http.Client like HTTP Client with options to select specific client TLS Fingerprints to use for requests.
BSD 4-Clause "Original" or "Old" License
668 stars 133 forks source link

[Feature Request]: If possible or doable and worth it, simulate sluggish network randomly slightly delayed bytes sent #102

Open AlexPaiva opened 4 months ago

AlexPaiva commented 4 months ago

Describe the feature / enhancement and how it would improve things

If possible or doable and worth it, simulate sluggish network randomly slightly delayed bytes sent, so each session would have it's own simulated 'slowness'

Describe how your proposal will work, with code and/or pseudo-code

Delaying slightly and randomly the bytes sent?

bogdanfinn commented 4 months ago

@AlexPaiva i think for this usecase there are some tools outside to control the network latency of your system. I doubt that its worth implementing some kind of simulation into this project.

But lets keep this issue open to see if someone else has an opinion about that.

AlexPaiva commented 4 months ago

@AlexPaiva i think for this usecase there are some tools outside to control the network latency of your system. I doubt that its worth implementing some kind of simulation into this project.

But lets keep this issue open to see if someone else has an opinion about that.

Thanks for the update, the thing is what solutions are there to control for that specific session only and not for the entire computer and are valid with this library? That's why I believe it's best to just integrate