From 11323ed8948010fee1b633bc36b8ed1c565246af Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 15 May 2016 15:02:04 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/HttpListenerContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/HttpListenerContext.cs b/websocket-sharp/Net/HttpListenerContext.cs index 96ce5cc5..e789b1b2 100644 --- a/websocket-sharp/Net/HttpListenerContext.cs +++ b/websocket-sharp/Net/HttpListenerContext.cs @@ -174,7 +174,7 @@ namespace WebSocketSharp.Net if (schm == AuthenticationSchemes.Anonymous) return true; - if (schm != AuthenticationSchemes.Basic && schm != AuthenticationSchemes.Digest) { + if (schm == AuthenticationSchemes.None) { _response.Close (HttpStatusCode.Forbidden); return false; }