Help for this page

Select Code to Download


  1. or download this
    use Time::HiRes qw( usleep );
    ...
    ...
       threads->create(\&process_one_req, $c)->detach();
       usleep(50_000);
    }
    
  2. or download this
    use HTTP::Daemon;
    use threads;
    ...
        }
        $c->close;
    }