[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] splice()/sendfile() with sockets



Hi!

Currently, libevent is not using splice() syscall but it is mentioned at
several places. It could be used in place of sendfile(). This would be
convenient since it would allow to copy one socket to another through
event buffers without the data to be copied in user memory. Does the use
of splice() instead of sendfile() be difficult? Would this allow
evbuffer_add_file() to be used with sockets?
-- 
HARDFAIL("Not enough magic.");
        2.4.0-test2 /usr/src/linux/drivers/block/nbd.c
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.