public HttpHandlerContext(Server server, HttpRequestProcessor.Host host, Connection connection, IIdentity identity) { Server = server; Host = host; Connection = connection; Identity = identity; }
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; }
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(); } }
public override void EndOfRequest() { Connection conn = _connection; if (conn != null) { _connection = null; _server.OnRequestEnd(conn); } }