diff options
| author | Shulhan <ms@kilabit.info> | 2026-02-15 13:03:38 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-02-15 13:37:31 +0700 |
| commit | 19d58e9a4c900aec1d63de45a655657c760b1235 (patch) | |
| tree | 959af0093d9ed2aca4976c69deb25a2d48fca44b /go.mod | |
| parent | 827a2741e4fcb8e6feb5bf76acb20799c2913451 (diff) | |
| download | awwan-19d58e9a4c900aec1d63de45a655657c760b1235.tar.xz | |
all: fix data race in Play and in integration tests
When the Play command executed from the web user interface, there is a
possibility that concurrent requests set the sshConfig field in Awwan
struct at the same time.
In the integration tests for TestAwwan_Play_withLocal and
TestExecLocal_sudo, the data race happens when writing to the same
buffer for stdout and stderr, so we split them into separate buffers.
There is also data race in SSE connection, when handler for ExecuteTail
write to the same buffer with worker keep alive.
This has been fixed on pakakeh.go module.
Diffstat (limited to 'go.mod')
| -rw-r--r-- | go.mod | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ go 1.25.0 require ( git.sr.ht/~shulhan/ciigo v0.16.0 - git.sr.ht/~shulhan/pakakeh.go v0.61.1-0.20260211152820-e5a9e1e5314a + git.sr.ht/~shulhan/pakakeh.go v0.61.1-0.20260215055354-3f780768650c github.com/evanw/esbuild v0.27.3 ) |
