[Mono-bugs] [Bug 491343] HttpRuntime.Cache instance causes HttpListener to crash in console application

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 2 02:15:02 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=491343

User gonzalo at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=491343#c1


Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEEDINFO
      Info Provider|                            |ray at memphiswebtech.com




--- Comment #1 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-04-02 00:15:01 MDT ---
I tried the following, run xsp2 and hit the page. No errors.
-----cache.aspx----------
<%@ Page Language="C#" %>
<%@ Import namespace="System.Net" %>
<script runat="server">
    void Page_Load ()
    {
        Cache cache = HttpRuntime.Cache;
        cache["hello"] = "world";

        HttpListener listener = new HttpListener();
        listener.Prefixes.Add("http://127.0.0.1:8081/");
        listener.Start();
        Response.Write ("Started");
    }
</script>
------------------------

You should always attach any files needed to reproduce the problem to the bug
report and explain any additional details that might be helpful to pinpoint the
problem.

Do you mind attaching the smallest self-contained test case you can get?

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list