We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSLHttpServer创建时调用了一次Interlocked.Increment(ref ObjectReferer); 可是每次Uninitialize的时候都调用了 if (Interlocked.Decrement(ref ObjectReferer) == 0 && pServer != IntPtr.Zero) 而每次开始服务的时候都会调用Uninitialize,这样就导致Interlocked.Decrement(ref ObjectReferer) == 0返回false,从而不能调用SSLSdk.HP_SSLServer_CleanupSSLContext(pServer); 再次开始服务时候Initialize服务返回false
The text was updated successfully, but these errors were encountered:
最新版本已更新 现在需要手动调用Initialize()和 Uninitialize()方法,具体请查看demo
Sorry, something went wrong.
最新版本代码:https://gitee.com/int2e/HPSocketCS 下次发布将纳入。
No branches or pull requests
SSLHttpServer创建时调用了一次Interlocked.Increment(ref ObjectReferer);
可是每次Uninitialize的时候都调用了 if (Interlocked.Decrement(ref ObjectReferer) == 0 && pServer != IntPtr.Zero)
而每次开始服务的时候都会调用Uninitialize,这样就导致Interlocked.Decrement(ref ObjectReferer) == 0返回false,从而不能调用SSLSdk.HP_SSLServer_CleanupSSLContext(pServer);
再次开始服务时候Initialize服务返回false
The text was updated successfully, but these errors were encountered: