Example #1
0
        void UpdateModMonoConfig()
        {
            // Reconfigure apache to be in synch with current application settings
            HttpContext  ctx      = HttpContext.Current;
            HttpResponse response = ctx != null ? ctx.Response : null;

            if (response != null)
            {
                if (requestId == -1)
                {
                    worker.SetOutputBuffering(response.BufferOutput);
                }
                else
                {
                    requestBroker.SetOutputBuffering(requestId, response.BufferOutput);
                }
            }
        }