On 12/18/2010 09:47 AM, Philip Gwyn wrote:
Greeting POElings,
Following my work with Sys::Sendfile in the HTTP component, I decided that it
would be useful enough on it's own. So I've concocted POE::Wheel::Sendfile.
It is a straight sub-class of POE::Wheel::Sendfile that can use Sys::Sendfile
to efficiently send a file over a network connection.
I believe you meant it's a straight sub-class of POE::Wheel::ReadWrite I
noticed the same typo in your POD description section.
--
Jeremy Leader
jlea...@oversee.net
The initial draft is currently on the CPAN:
http://search.cpan.org/perldoc?POE::Wheel::Sendfile
TODO:
- tests for the fall-back mechanism;
- test with each loop, just in case;
- POE::Wheel::Sendfile could be installed even though Sys::Sendfile isn't. I
need a good way to signify this in Makefile.PL.
-Philip