[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] Using sendfile for file segment
From: |
Eivind Sarto |
Subject: |
[libmicrohttpd] Using sendfile for file segment |
Date: |
Sun, 28 Nov 2010 18:16:23 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Thunderbird/3.1.6 |
I am looking for a way to use microhttpd to send a response using sendfile,
but I do not wish to transfer the entire file, just a segment of the file.
I don't see an interface for transferring just a portion of a file (at
some offset + length)
and make libmicrohttpd use the linux sendfile system call.
Am I missing something?
-eivind
- [libmicrohttpd] Using sendfile for file segment,
Eivind Sarto <=