[web-devel] API change request for WAI
mxcantor at gmail.com
Tue Jun 7 07:35:15 CEST 2011
Conditional compilation should work fine but IIRC conditional dependencies aren't supported. You'll probably need to retain the sendFile dependency even if you integrate 山本様's code. Then just use his via conditional compilation as an optimization.
On Jun 7, 2011, at 13:23, Michael Snoyman <michael at snoyman.com> wrote:
> On Tue, Jun 7, 2011 at 8:14 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
>>> 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
> I think it should be possible to use conditional compilation to use
> your code for relevant OSes, and otherwise fall back to the sendfile
>> web-devel mailing list
>> web-devel at haskell.org
> web-devel mailing list
> web-devel at haskell.org
More information about the web-devel