[Mono-bugs] [Bug 73183][Nor] Changed - Optimization to prevent multiple handles to /dev/urandom device

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 2 Mar 2005 16:57:20 -0500 (EST)

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@ximian.com.


--- shadow/73183	2005-03-02 16:45:49.000000000 -0500
+++ shadow/73183.tmp.6895	2005-03-02 16:57:20.000000000 -0500
@@ -84,6 +84,10 @@
 ------- Additional Comments From mlasky@novell.com  2005-03-02 16:45 -------
 What is being proposed will fix our problem for now. However, my 
 opinion would be to fix it in the unmanaged code to use a static 
 handle (in the Linux case). This way it is fixed for all clients 
 that use the rng object. Otherwise, this could creep up again, just 
 from a different object than SessionState.
+------- Additional Comments From gonzalo@ximian.com  2005-03-02 16:57 -------
+SessionStateModule uses a shared RNG now for all instances in an