[Modify] Polish it
This commit is contained in:
parent
3daac29bc4
commit
6d6e2e6941
@ -98,16 +98,13 @@ namespace WebSocketSharp.Net
|
|||||||
public HttpListener ()
|
public HttpListener ()
|
||||||
{
|
{
|
||||||
_authSchemes = AuthenticationSchemes.Anonymous;
|
_authSchemes = AuthenticationSchemes.Anonymous;
|
||||||
|
|
||||||
_contextQueue = new Queue<HttpListenerContext> ();
|
_contextQueue = new Queue<HttpListenerContext> ();
|
||||||
|
|
||||||
_contextRegistry = new LinkedList<HttpListenerContext> ();
|
_contextRegistry = new LinkedList<HttpListenerContext> ();
|
||||||
_contextRegistrySync = ((ICollection) _contextRegistry).SyncRoot;
|
_contextRegistrySync = ((ICollection) _contextRegistry).SyncRoot;
|
||||||
|
|
||||||
_logger = new Logger ();
|
_logger = new Logger ();
|
||||||
|
|
||||||
_prefixes = new HttpListenerPrefixCollection (this);
|
_prefixes = new HttpListenerPrefixCollection (this);
|
||||||
|
|
||||||
_waitQueue = new Queue<HttpListenerAsyncResult> ();
|
_waitQueue = new Queue<HttpListenerAsyncResult> ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user