aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-17 15:11:26 +0700
committerShulhan <ms@kilabit.info>2023-12-17 15:13:21 +0700
commita9a2b05381892ea1397ff1e489fe6f6b35bd86a4 (patch)
tree0059bd8285751c6a67719b403b1d525c2b4fcb83 /lib/ssh
parent9eed1a6da4ed47a67a1569a9aa8a02f0f7ead907 (diff)
downloadpakakeh.go-a9a2b05381892ea1397ff1e489fe6f6b35bd86a4.tar.xz
http/sseclient: fix data race on [Client.Close]
The data race happened when Close set conn to nil but the consume method still on Read. The fix is by waiting for 100ms so consume goroutine can check if closeq is triggered from Close or not.
Diffstat (limited to 'lib/ssh')
0 files changed, 0 insertions, 0 deletions