mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-18 18:55:51 +00:00
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.
9 lines
112 B
Modula-2
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
|
|
)
|