[Mono-bugs] [Bug 73183][Nor] Changed - Optimization to prevent multiple handles to /dev/urandom device
Wed, 2 Mar 2005 16:45:49 -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 email@example.com.
--- shadow/73183 2005-03-02 16:36:51.000000000 -0500
+++ shadow/73183.tmp.6792 2005-03-02 16:45:49.000000000 -0500
@@ -77,6 +77,13 @@
probably not a good idea to rely on finalizers to clean up things in
------- Additional Comments From firstname.lastname@example.org 2005-03-02 16:36 -------
After discussion with Gonzalo it seems better to fix this behaviour in
SessionStateModule/SessionId (i.e. not to create so much RNG instances).
+------- Additional Comments From email@example.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.