cURL / Mailing Lists / curl-library / Single Mail

curl-library

FILE * => fd ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Aug 2001 23:38:44 +0200 (MET DST)

Hi ho

I friendly soul named 'ck1' posted the following suggestion in the curl web
site feedback section [http://curl.haxx.se/feedback/], and I think it is
worth discussing:

  Using FILE * in the libcurl API introduces a serious limitation since (at
  least in the *nix falvours I know) you can fopen only the first 256 files.
  This means, that an application that first opens or fopens 256 files has no
  chance to use libcurl. Using open and file descriptors instead of FILE *
  would solve the problem. This implies a minor API change/enhancement.

(His original post is found here:
http://curl.haxx.se/feedback/display.cgi?id=9959783213161&support=yes)

Any comments?

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-07