cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FILE * => fd ?

From: SM <nntp_at_iname.com>
Date: Fri, 10 Aug 2001 09:34:58 +0400

At 11:19 10-08-2001 -0400, Sterling Hughes wrote:
> true enough -- however when your talking about file uploads, you'll
> feel the performance hit (actually, come to think of it, file
> uploads should just mmap() the file, no?)

Using mmap() would be more efficient. mmap is not supported under Win32.
The equivalent is MapViewOfFile(). Under Win32, cURL would have to use
HANDLE instead of fd.

Regards,
-sm

_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-10