Exemple #1
0
        public override void ServerConnectionEstablished( ISessionContext context )
        {
            context.UnwireServerParserEvents();

            ServiceLog.Logger.Info("{0} HTTPS server connection established", context.Id);

            _tunnel = CoreFactory.Compose<ISslTunnel>();
            _tunnel.TunnelClosed += HandleTunnelClosed;
            _tunnel.EstablishTunnel( context.ClientConnection,
                                     context.ServerConnection,
                                     context.RecentRequestHeader.Version );
        }