WSL1 socket accepts only one client at a time
nerditation opened this issue · 0 comments
I discovered this problem while dealing with another issue related to KeeAgent and wezterm. I initially reported to wezterm here, then wez suggests the actual cause is probably KeeAgent can't serve concurrent connections. (link)
I took a quick glance of of KeeAgent code, and found this line of code. I think the await
keyword should not be here. though I am not a C# developer, I could be totally wrong. please take a look.
SshAgentLib/SshAgentLib/WslSocket.cs
Line 126 in 54f4cff
btw, I really appreciate your work on KeeAgent, it saves me so much troubles, and it suits my use cases almost perfectly! now I don't need ssh-pageant
(from msys2) and wsl-ssh-pageant
; I don't need a patched version of pageant; and the best thing is, I have already been using KeePass to store the encryption passwords of my private keys! (the reason I patched pageant is just for a key selection popup dialog, but I am always afraid to touch anything security related.)