Commit fff2fbf
committed
Add log when conn_limit_tcp is reached for easy diagnose
From Semaphore document:
try_acquire s immediately returns false if the value of
semaphore s is zero. Otherwise, the value of s is
atomically decremented and try_acquire s returns true.
Signed-off-by: Changlei Li <changlei.li@citrix.com>
(cherry picked from commit 658778f)1 parent 2b42c13 commit fff2fbf
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
0 commit comments