Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

No way to run interactions between two skype users on the same machine? #55

Open
sergsalo opened this issue Jul 3, 2018 · 1 comment

Comments

@sergsalo
Copy link

sergsalo commented Jul 3, 2018

because of the use of static HttpService, it seems there is no way to run two users interaction in the same application. Am I right?

@baywet
Copy link
Collaborator

baywet commented Aug 21, 2018

@sergsalo sorry for the late reply. Yes you're right because of this line (and others)

static ConcurrentDictionary<string, HttpClient> clientPool = new ConcurrentDictionary<string, HttpClient>();
today it's impossible to have two different identities in the same process.
The HttpClient have a static reference to avoid network port exhaustion, a common issue in .NET.
The proper fix would probably to abstract a httpClient Factory/pool, implement a default one and allow people to override it. Feel free to issue a pull request if you want to address the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants