Skip to content

Renci optimize session issue #861 - #860

Closed
SwarajKetan wants to merge 1 commit into
sshnet:masterfrom
SwarajKetan:renci-optimize-session
Closed

Renci optimize session issue #861#860
SwarajKetan wants to merge 1 commit into
sshnet:masterfrom
SwarajKetan:renci-optimize-session

Conversation

@SwarajKetan

Copy link
Copy Markdown

Due to improper scope AuthenticationConnection semaphore lock is acquired more than once when connect() method is called more than once while a connect operation is still in progress. It exhausts the semaphore slot and keeps the other Connect operations waiting until one finishes. Change of scoping will help us acquireclock just before the connect operation begins.

@SwarajKetan
SwarajKetan changed the base branch from develop to masterAugust 15, 2021 06:09
@SwarajKetanSwarajKetan changed the title Renci optimize sessionRenci optimize session issue #861Aug 15, 2021
@A9G-Data-Droid

Copy link
Copy Markdown

I have tested this and it works!

@Rob-Hague

Copy link
Copy Markdown
Collaborator

Thanks! Closing as the AuthenticationConnection semaphore has been removed in #1304

@WojciechNagorski

Copy link
Copy Markdown
Collaborator

This issue has been fixed in the 2024.0.0 version.

@WojciechNagorskiWojciechNagorski added this to the 2024.0.0 milestone Feb 22, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@SwarajKetan@A9G-Data-Droid@Rob-Hague@WojciechNagorski@sksece0711