예제 #1
0
		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);
     }
 }