[Mono-bugs] [Bug 342513] New: Can' t start a second HttpListener with different virtual paths when using Web. Hosting.ApplicationManager to create the ASP.NET hosts.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 17 08:28:57 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=342513

           Summary: Can't start a second HttpListener with different virtual
                    paths when using Web.Hosting.ApplicationManager to
                    create the ASP.NET hosts.
           Product: Mono: Class Libraries
           Version: 1.2.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: luisfam at hotmail.com
         QAContact: mono-bugs at ximian.com
          Found By: Development


I have attached a program to reproduce this error. This is what is does:

- It creates the first ASP.NET host on http://*:8880/foo1/
- It creates the second ASP.NET host on http://*:8880/foo2/

The first one starts correctly but the second one gets stuck on
HttpListener.Start().

The same program works correctly On .NET 2.0. If you change the program to
execute StartHost() instead of StartAspNetHost() it will work with Mono but it
can't be used to host ASP.NET.

To compile and run the program:
gmcs WebHost.cs -r:System.Web -t:library
gmcs Test.cs -r:System.Web -r:WebHost
mono Test.exe


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


More information about the mono-bugs mailing list