Announcing sendfile-0.1:<br>A library which exposes zero-copy sendfile functionality in a portable
way.<br><a href="http://hackage.haskell.org/package/sendfile-0.1">http://hackage.haskell.org/package/sendfile-0.1</a><br><br>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 <a href="mailto:HAppS@googlegroups.com">HAppS@googlegroups.com</a>. Patches for other platforms also welcome (but please preserve the existing style).<br>

<br>Recommended initial testing steps:<br><br>cabal install sendfile<br>wget <a href="http://patch-tag.com/r/sendfile/snapshot/current/content/raw/test.hs">http://patch-tag.com/r/sendfile/snapshot/current/content/raw/test.hs</a><br>

runghc test.hs<br>open <a href="http://127.0.0.1:8000">http://127.0.0.1:8000</a> in your web browser and see if test.hs was rendered properly (firefox recommended)<br>see which mode it was rendered in (stdout will say one of WIN32_SENDFILE, LINUX_SENDFILE, or PORTABLE_SENDFILE)<br>

<br>Happy Hacking!<br>Matthew Elder<br clear="all"><br>