AE::MP + mod_perl?

Marc Lehmann schmorp at schmorp.de
Sat Jul 17 12:52:21 CEST 2010


On Thu, Jul 15, 2010 at 12:46:36PM -0700, gleeco <gleeco at gmail.com> wrote:
> any words of wisdom on this topic? I tested a simple listener that as
> a standalone cmdline script runs fine, but inside of mod_perl, doesn't
> work.

It surely does work - are you sure you run an event loop? Apache will not
listen for you, you have to do that yourself (but it is ok to stay idle
for long periods of time, aemp has no idle timeouts).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list