Author: spouliot
Date: 2005-05-13 10:51:20 -0400 (Fri, 13 May 2005)
New Revision: 44501

Modified:
   trunk/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/ChangeLog
   trunk/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs
Log:
2005-05-13  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * SslClientStream.cs: Forgot to set the event in the previous fix.



Modified: trunk/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/ChangeLog
===================================================================
--- trunk/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/ChangeLog  
2005-05-13 13:53:45 UTC (rev 44500)
+++ trunk/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/ChangeLog  
2005-05-13 14:51:20 UTC (rev 44501)
@@ -1,3 +1,7 @@
+2005-05-13  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * SslClientStream.cs: Forgot to set the event in the previous fix.
+
 2005-05-10 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
        * SslClientStream.cs: check for the dispose in NetworkReadCallback.

Modified: 
trunk/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs
===================================================================
--- trunk/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs 
2005-05-13 13:53:45 UTC (rev 44500)
+++ trunk/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs 
2005-05-13 14:51:20 UTC (rev 44501)
@@ -509,9 +509,11 @@
                // read encrypted data until we have enough to decrypt (at 
least) one
                // record and return are the records (may be more than one) we 
have
                private void NetworkReadCallback (IAsyncResult result)
-               {
-                       if (this.disposed)
+               {
+                       if (this.disposed) {
+                               recordEvent.Set ();
                                return;
+                       }
 
                        byte[] recbuf = (byte[])result.AsyncState;
                        int n = innerStream.EndRead (result);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to