|
|
|
@ -706,8 +706,7 @@ namespace WebSocketSharp.Server
|
|
|
|
state => {
|
|
|
|
state => {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
var ctx = cl.GetWebSocketContext (null, _secure, _sslConfig, _logger);
|
|
|
|
var ctx = cl.GetWebSocketContext (null, _secure, _sslConfig, _logger);
|
|
|
|
if (_authSchemes != AuthenticationSchemes.Anonymous &&
|
|
|
|
if (!authenticate (ctx))
|
|
|
|
!authenticate (ctx, _authSchemes, getRealm (), UserCredentialsFinder))
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
processRequest (ctx);
|
|
|
|
processRequest (ctx);
|
|
|
|
|