CycleTLS
CycleTLS copied to clipboard
Issue when too much requests (or concurrency I don't know)
Description
Hello.
I am using cycleTLS to make a lot of requests in golang.
At a certain amount, I get this error: reset err CANCEL StreamID: 1
It happened when I used goccm
threads := goccm.New(500)
for _, lol := range lols {
threads.Wait()
go func(lol string) {
run(lol) // do request
threads.Done()
}(lol)
}
threads.WaitAllDone()
Then, I stopped using concurrency, to make requests one per one, but the error happened too, after more requests than with concurrency
I tried using a new client for every requests, using the same client everytime, but I still have the issue.
Do you know why it's doing that ? How can I solve this ? Thank you
Issue Type
No response
Operating System
Windows 10
Node Version
None
Golang Version
Other
Relevant Log Output
No response