GouJie
|
b7b8ece442
|
bugfix: Resolved a concurrency issue with ClientCounter. Previously, directly decrementing ClientCounter in multiple goroutines (ClientCounter--) could lead to data races and inconsistencies. Now, by using atomic.AddInt32(&ClientCounter, -1), we ensure safe updates to the counter, maintaining its accuracy and stability even in high concurrency scenarios.
|
2024-02-14 20:55:33 +08:00 |
|
hdt3213
|
18d2cbb29b
|
add unittests and bug fix
|
2021-05-05 21:04:27 +08:00 |
|
hdt3213
|
37779717e4
|
support listen on random port
|
2021-05-02 17:17:49 +08:00 |
|
hdt3213
|
f29298cc68
|
refactor project structure
|
2021-05-02 14:54:42 +08:00 |
|