[Haskell] ANNOUNCE: sendfile-0.1

Matthew Elder matt at mattelder.org
Wed Jun 24 02:51:39 EDT 2009


Announcing sendfile-0.1:
A library which exposes zero-copy sendfile functionality in a portable way.
http://hackage.haskell.org/package/sendfile-0.1

Right now it supports natively linux 2.6+ (maybe older too) and windows
2000+ -- on other platforms it will fall back seamlessly to a portable
haskell implementation. Please test it out and send your experiences / bug
reports to HAppS at googlegroups.com. Patches for other platforms also welcome
(but please preserve the existing style).

Recommended initial testing steps:

cabal install sendfile
wget http://patch-tag.com/r/sendfile/snapshot/current/content/raw/test.hs
runghc test.hs
open http://127.0.0.1:8000 in your web browser and see if test.hs was
rendered properly (firefox recommended)
see which mode it was rendered in (stdout will say one of WIN32_SENDFILE,
LINUX_SENDFILE, or PORTABLE_SENDFILE)

Happy Hacking!
Matthew Elder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell/attachments/20090624/835c9e01/attachment.html


More information about the Haskell mailing list