public HttpHandlerContext(Server server, HttpRequestProcessor.Host host, Connection connection, IIdentity identity)
		{
			Server = server;
			Host = host;
			Connection = connection;
			Identity = identity;
		}
示例#2
0
 public Request(Server server, Host host, Connection connection, IIdentity client)
     : base(string.Empty, string.Empty, null)
 {
     _connectionPermission = new PermissionSet(PermissionState.Unrestricted);
     _server = server;
     _host = host;
     _connection = connection;
     _clientIdentity = client;
 }
示例#3
0
 public void ProcessRequest(Connection conn, IIdentity identity)
 {
     AddPendingCall();
     try
     {
         new Request(_server, this, conn, identity).Process();
     }
     catch (Exception ex)
     {
         log.Warn(ServerMessages.ExceptionWhileProcessing, ex);
     }
     finally
     {
         RemovePendingCall();
     }
 }
示例#4
0
 public override void EndOfRequest()
 {
     Connection conn = _connection;
     if (conn != null)
     {
         _connection = null;
         _server.OnRequestEnd(conn);
     }
 }