mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:03:34 +03:00
The fread() callback pointer and associated pointer is now stored in the
connectdata struct instead, and is no longer modified within the 'set' struct as previously (which was a really BAAAD thing).
This commit is contained in:
parent
c65e088caf
commit
4bcc866c52
6 changed files with 241 additions and 237 deletions
|
|
@ -1789,6 +1789,9 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
|||
/* else, no chunky upload */
|
||||
FALSE;
|
||||
|
||||
conn->fread = data->set.fread;
|
||||
conn->fread_in = data->set.in;
|
||||
|
||||
/***********************************************************
|
||||
* We need to allocate memory to store the path in. We get the size of the
|
||||
* full URL to be sure, and we need to make it at least 256 bytes since
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue