dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/samples sslfetch.cs,1.1,1.2


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/samples sslfetch.cs,1.1,1.2
Date: Tue, 27 May 2003 08:44:25 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/samples
In directory subversions:/tmp/cvs-serv7951

Modified Files:
        sslfetch.cs 
Log Message:


Minor fix - dispose the session after closing the stream.


Index: sslfetch.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/samples/sslfetch.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** sslfetch.cs 27 May 2003 10:35:30 -0000      1.1
--- sslfetch.cs 27 May 2003 12:44:22 -0000      1.2
***************
*** 98,101 ****
--- 98,102 ----
                                Console.Error.WriteLine("Closing the secure 
session ...");
                                stream.Close();
+                               session.Dispose();
  
                                // Close the socket.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]