[Dnsmail-cvs] dnsmail SmtpClient.cs,1.7,1.8
Brought to you by:
ethem
From: Ethem E. <et...@us...> - 2006-08-11 14:35:22
|
Update of /cvsroot/dnsmail/dnsmail In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv6761/dnsmail Modified Files: SmtpClient.cs Log Message: Ignore last exceptions. Index: SmtpClient.cs =================================================================== RCS file: /cvsroot/dnsmail/dnsmail/SmtpClient.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** SmtpClient.cs 8 Aug 2006 10:07:18 -0000 1.7 --- SmtpClient.cs 11 Aug 2006 14:35:19 -0000 1.8 *************** *** 100,104 **** SendAndReceive(quitcmd); } ! catch { throw; } finally { --- 100,104 ---- SendAndReceive(quitcmd); } ! catch { } finally { *************** *** 114,127 **** { try { UnsafeOpenSsl.SSL_shutdown(sslSession); } ! catch { throw; } try { UnsafeOpenSsl.SSL_free(sslSession); } ! catch { throw; } ! finally { sslSession = IntPtr.Zero; } } if (sslContext != IntPtr.Zero) { try { UnsafeOpenSsl.SSL_CTX_free(sslContext); } ! catch { throw; } ! finally { sslContext = IntPtr.Zero; } } } --- 114,127 ---- { try { UnsafeOpenSsl.SSL_shutdown(sslSession); } ! catch { } try { UnsafeOpenSsl.SSL_free(sslSession); } ! catch { } ! sslSession = IntPtr.Zero; } if (sslContext != IntPtr.Zero) { try { UnsafeOpenSsl.SSL_CTX_free(sslContext); } ! catch { } ! sslContext = IntPtr.Zero; } } |