This looks very interesting, I look forward to checking it out. Implementing FastCGI has always seemed too daunting a task to undertake; I salute you.<div><br></div><div>Are you familiar with the wai package? If so, do you believe your package is amenable to either itself adapting the wai, or having a wrapper built on top of it?</div>
<div><br></div><div>Michael<br><br><div class="gmail_quote">On Thu, Mar 18, 2010 at 8:14 PM, Dan Knapp <span dir="ltr">&lt;<a href="mailto:dankna@gmail.com">dankna@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Yay!  This was a week of hard work.  I hope that somebody finds it valuable.<br>
<br>
This package is a native implementation of the FastCGI protocol,<br>
allowing Haskell to work with any webserver that supports it. It makes<br>
no attempt to imitate the interface of the cgi-3000 and fastcgi-3000<br>
packages, because that API is tied too heavily to legacy interfaces,<br>
as with its handling of exceptions, logging, and time. Its advantage<br>
over those packages is primarily in the area of clean exception<br>
management and better control structure which allows more versatility<br>
in processing requests which are not simple GETs. In particular, POST<br>
of large files should be possible, as should server-push responses<br>
which return content a piece at a time. Also, of course, as a native<br>
implementation, there is no dependency on a C library, which<br>
simplifies the install process.<br>
<br>
<a href="http://hackage.haskell.org/package/direct-fastcgi" target="_blank">http://hackage.haskell.org/package/direct-fastcgi</a><br>
<font color="#888888"><br>
--<br>
Dan Knapp<br>
&quot;An infallible method of conciliating a tiger is to allow oneself to<br>
be devoured.&quot; (Konrad Adenauer)<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></blockquote></div><br></div>