UCWA2.0-CS icon indicating copy to clipboard operation
UCWA2.0-CS copied to clipboard

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

Open sergsalo opened this issue 7 years ago • 1 comments

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?

sergsalo avatar Jul 03 '18 17:07 sergsalo

@sergsalo sorry for the late reply. Yes you're right because of this line (and others) https://github.com/kenakamu/UCWA2.0-CS/blob/317476aceb19f5174b08c121684754e6dba91bb2/UCWASDK/UCWASDK/Services/HttpService.cs#L24 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

baywet avatar Aug 21 '18 12:08 baywet