Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose).

This commit is contained in:
Ilia Alshanetsky 2009-09-30 02:34:17 +00:00
parent e56e60c3a0
commit 809dbcda08
3 changed files with 32 additions and 4 deletions

View file

@ -86,6 +86,7 @@ typedef struct {
smart_str buf;
int method;
int type;
zval *stream;
} php_curl_write;
typedef struct {
@ -94,6 +95,7 @@ typedef struct {
FILE *fp;
long fd;
int method;
zval *stream;
} php_curl_read;
typedef struct {