From 83b4f9b4c68022a2027b0e5872e456004be5b668 Mon Sep 17 00:00:00 2001 From: Kerry Jiang Date: Mon, 29 Oct 2012 09:13:11 +0800 Subject: [PATCH] fixed the RequestFilterFactory checking issue --- SocketBase/AppServerBase.cs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/SocketBase/AppServerBase.cs b/SocketBase/AppServerBase.cs index 7aeedde6b..90c870d2c 100644 --- a/SocketBase/AppServerBase.cs +++ b/SocketBase/AppServerBase.cs @@ -349,14 +349,6 @@ private bool SetupMedium(IRequestFilterFactory requestFilterFactor if (requestFilterFactory != null) RequestFilterFactory = requestFilterFactory; - if (RequestFilterFactory == null) - { - if (Logger.IsErrorEnabled) - Logger.Error("RequestFilterFactory is required!"); - - return false; - } - if (connectionFilters != null && connectionFilters.Any()) { if (m_ConnectionFilters == null) @@ -404,6 +396,15 @@ private void OnCommandSetup(IDictionary