[web-devel] API change request for WAI
Michael Snoyman
michael at snoyman.com
Tue Jun 7 07:23:00 CEST 2011
On Tue, Jun 7, 2011 at 8:14 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
> Hello,
>
>> Well, if the authors of sendfile aren't responsive, another
>> possibility would be to have Warp use your more efficient sendfile
>> code directly (either by releasing it as its own package, or by moving
>> that code into the Warp codebase). I would prefer this approach to
>> changing WAI. Thoughts?
>
> Please tell me which OSes Warp should support?
>
> I can provide sendfile functions to Linux/FreeBSD/MacOS but I cannot
> do for Windows. If Unix-like OSes are enough, I will take this
> approach.
I think it should be possible to use conditional compilation to use
your code for relevant OSes, and otherwise fall back to the sendfile
package.
Michael
>
> --Kazu
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
More information about the web-devel
mailing list