[web-devel] questions about ResponseEnumerator

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Wed Oct 5 09:08:58 CEST 2011


Hello Michael,

> The ResponseEnumerator itself is in charge of the entire process,
> including running the Iteratee. So in pseudo-code, you'd do something
> like:
> 
> ResponseEnumerator $ \mkiter -> do
>     handle <- getHandle
>     run_ $ enumHandler handle $ mkiter status headers
>     hClose handle

Understood. Thanks.

> I think we could make that functionality optional, based on an extra
> setting parameter. Would this just be boolean, or is more
> sophisticated control required?

What I want to do is to prevent a bad guy abusing CGI. So, I guess
that boolean is enough.

--Kazu



More information about the web-devel mailing list