[Mono-bugs] [Bug 76254][Nor] Changed - Infinite loop entered on server during SSL handhake.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 30 19:11:35 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gonzalo at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76254

--- shadow/76254	2005-09-30 14:35:01.000000000 -0400
+++ shadow/76254.tmp.2356	2005-09-30 19:11:35.000000000 -0400
@@ -116,6 +116,17 @@
 
 The CPU usage is high because the loop is looping without waiting for
 anything (and without being nice and letting go of the CPU).
 
 The main difference with 1.1.9.x is that the async code is now using
 the threadpool.
+
+------- Additional Comments From gonzalo at ximian.com  2005-09-30 19:11 -------
+If the code is using something like BeginRead/callback/EndRead, this
+problem would not happen, as the socket IO code would wait for input
+to be available.
+
+Perhaps, while doing the handshake, if it's not possible to read all
+the needed data, the state should be kept around and retry another
+BeginRead instead of polling.
+
+Sebastien, let me know if I can help in any way.


More information about the mono-bugs mailing list