[web-devel] questions about ResponseEnumerator

Gregory Collins greg at gregorycollins.net
Thu Oct 6 10:40:50 CEST 2011


On Thu, Oct 6, 2011 at 3:52 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
>
> Mighttpd executes a sub process and creates a pair of pipes for
> CGI. If timeout happens, it seems to me that there is no way to kill
> the sub process and close the pipes with this scheme.
>
> I would like to register a house-keeping action to Wrap's timer.

Can you catch the exception that the timeout handler presumably throws
to you and do your cleanup there?

G
-- 
Gregory Collins <greg at gregorycollins.net>



More information about the web-devel mailing list