curl-7.13.1, CURLOPT_READDATA doesn't set any options?
Date: Tue, 05 Apr 2005 06:27:17 +0200
I had this strange problem when doing PUT uploads:
- the FILE* that was returned by fopen() was ok (all according to
- the stream (that same FILE*) was null in my read_callback
Upon checking source code for 7.13.1 it seems that
in "CURLcode Curl_setopt(struct SessionHandle *data, CURLoption
option, ...)" in "/curl-7.13.1/lib/url.c: line 926" there is no case for
CURLOPT_READDATA, but there is a case for CURLOPT_INFILE, which
according to documentation is the old-style option.
Shouldn't that be case for both options, or is CURLOPT_READDATA set
Received on 2005-04-05