Files
clio/tools/requests_gun/go.mod
Sergey Kuznetsov d11e7bc60e fix: Data race in new webserver (#1926)
There was a data race inside `CoroutineGroup` because internal timer was
used from multiple threads in the methods `asyncWait()` and
`onCoroutineComplete()`. Changing `registerForeign()` to spawn to the
same `yield_context` fixes the problem because now the timer is accessed
only from the same coroutine which has an internal strand.

During debugging I also added websocket support for `request_gun` tool.
2025-02-27 15:08:46 +00:00

9 lines
112 B
Modula-2

module requests_gun
go 1.22.2
require (
github.com/gorilla/websocket v1.5.3
github.com/spf13/pflag v1.0.5
)