[Mono-bugs] [Bug 513849] New: HttpListener does not release the specified port by listener prefixes.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 17 04:44:14 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=513849
Summary: HttpListener does not release the specified port by
listener prefixes.
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: gonzalo at novell.com
ReportedBy: aenomoto at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
HttpListener (actually EndPointManager) does not release the specified port by
keeping listening Socket alive.
It does not block another HttpListener, but does block other TCP listeners.
Repro:
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
public class Test
{
public static void Main ()
{
var h = new HttpListener ();
h.Prefixes.Add ("http://localhost:8080/");
h.Start ();
h.BeginGetContext (null, null);
h.Stop ();
TcpListener t = new TcpListener (8080);
t.Start ();
t.Stop ();
}
}
--
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