AnyEvent::HTTP timeout handling
Marc Lehmann
schmorp at schmorp.de
Thu Aug 11 12:50:22 CEST 2011
On Wed, Aug 10, 2011 at 05:48:13AM -0700, gleeco <gleeco at gmail.com> wrote:
> hello - am using the HTTP module and want persistent conns (keepalive => 1)
> . But sometimes one of the conns in the pool times out after a period of
> non-use, eg.
Are you sleeping or processing results for a long time? Then you need to
call AE::now_update (see AnyEvent docs for a more thorough explanation).
--
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