sServer和AuthenticateAsClient间歇性地

sServer和AuthenticateAsClient间歇性地

本文介绍了SslStream.AuthenticateAsServer和AuthenticateAsClient间歇性地无限期阻塞。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在服务器端执行AuthenticateAsServer,在客户端执行AuthenticateAsClient。

I do AuthenticateAsServer on server side and AuthenticateAsClient on client side.

有时(不可重现)它们都挂起。没有例外,只是挂起。当我在调试器下运行程序时,调试器说两者都挂在winsock recv;所以两人都期望彼此给他们一些东西。

Sometimes (not reproducible) they both hang. No exception, just hang. When I run the programs under debugger, debugger says that both hung at winsock recv; so both expect each other to give them something.

问题是:他们在等什么?

The question is: what do they wait for?

我很乐意有任何追踪如果可能的话。

I would be glad to have any trace if it is possible.

那么,另一个相关的问题是:如何产生一些跟踪以获得SslStream对象中发生的事情的一些图片?

So, another related question is: how to produce some trace to get some picture of what is happening within SslStream objects?

此挂起不可重现。当我试图故意造成它时 - 例如,连续10次连接和断开我的服务器 - 它按预期工作。

This hang is not reproducible. When I try to cause it intentionally - connect and disconnect from my server 10 times in a row, for example, - it works as expected.

推荐答案

根据您的说明,您的案例与 网络与沟通更相关,我会将您的案例移至WCF论坛提供更好的支持。 谢谢你的理解。

Based on your description, your case more related to  Networking and Communication, I will move your case to WCF forum for better support.  Thanks for your understanding.

祝你好运,

Kristin

Kristin


这篇关于SslStream.AuthenticateAsServer和AuthenticateAsClient间歇性地无限期阻塞。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 04:23