Modified HTTP auth for HttpListener class

This commit is contained in:
sta
2014-11-23 11:23:06 +09:00
parent 533ef2090a
commit 5003c10e0c
4 changed files with 18 additions and 24 deletions

View File

@@ -59,7 +59,6 @@ namespace WebSocketSharp.Net
private static readonly byte[] _100continue;
private string[] _acceptTypes;
private bool _authenticated;
private bool _chunked;
private Encoding _contentEncoding;
private long _contentLength;
@@ -242,11 +241,7 @@ namespace WebSocketSharp.Net
/// </value>
public bool IsAuthenticated {
get {
return _authenticated;
}
internal set {
_authenticated = value;
return _context.User != null;
}
}