public IHttpHandler GetHandler(HttpContext context, string requestType,
 string url, string pathTranslated)
 {
     totalRequests++;
     RecylingHandler handler;
     if (!pool.TryTake(out handler))
     {
         if (handler_count < handler_limit)
         {
             handler_count++;
             handler = new RecylingHandler(this, handler_count);
             pool.Add(handler);
         }
         else
         {
             handler = pool.Take();
         }
     }
     handler.RequestCount++;
     return handler;
 }
        public IHttpHandler GetHandler(HttpContext context, string requestType,
                                       string url, string pathTranslated)
        {
            totalRequests++;
            RecylingHandler handler;

            if (!pool.TryTake(out handler))
            {
                if (handler_count < handler_limit)
                {
                    handler_count++;
                    handler = new RecylingHandler(this, handler_count);
                    pool.Add(handler);
                }
                else
                {
                    handler = pool.Take();
                }
            }
            handler.RequestCount++;
            return(handler);
        }