Commit Graph

11 Commits

Author SHA1 Message Date
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
finley
1034641770 differentially handle accept errors 2023-07-29 15:31:55 +08:00
Allen
d25f6e1a43 Update server.go revise redundant line of annotation
Update server.go revise redundant line of annotation
2023-06-30 09:53:30 +08:00
bijingrui
d0a7a215ba Add info command 2023-04-08 16:08:39 +08:00
sheldonlyr
82f742e31a errCh使用buffered模式 2023-03-07 22:12:59 +08:00
sheldonlyr
8549f8f874 bugfix: server stuck after signal received 2023-03-07 22:12:59 +08:00
tuzhiwei
20f6307dca server exit gracefully a bit 2023-01-22 08:44:47 +08:00
hdt3213
9d03314359 tiny fix 2021-06-15 01:03:13 +08:00
hdt3213
97d7b84276 go lint 2021-05-13 08:56:07 +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