[Mono-bugs] [Bug 430504] [2.0 on Win] SslStream.BeginAuthenticateAsServer() does not work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 13 23:48:45 EDT 2008


User awunwpa7 at yahoo.com.ph added comment

--- Comment #4 from Steve Odbc <awunwpa7 at yahoo.com.ph>  2008-10-13 21:48:44 MDT ---
Created an attachment (id=245284)
 --> (https://bugzilla.novell.com/attachment.cgi?id=245284)

I looked into the MONO code and I think I know what the problem is. When the
server authenticates, it calls the BeginRead() function with a zero byte
buffer, just to trigger a handshake. The problem is, that BeginRead() assumes
that data should be actually read, and tries to do so after the handshake. This
can lead to an infinite wait, since there is not always data to read.

See patch (not tested yet).

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list