cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl with sendfile

From: Brian McQueen <mcqueenorama_at_gmail.com>
Date: Mon, 10 Mar 2008 10:38:23 -0700

Does libcurl use linux's high performance sendfile routine when
appropriate? I don't see it as fitting into the write callback
scheme. The write callback scheme seems to use memory buffers in user
space for handling the writes, but sendfile skips user space and sends
directly from one fd to another fd.

Brian McQueen
Received on 2008-03-10