mirror of
https://github.com/curl/curl.git
synced 2026-08-04 14:56:19 +03:00
multi: add xfer_buf to multi handle
- can be borrowed by transfer during recv-write operation - needs to be released before borrowing again - adjustis size to `data->set.buffer_size` - used in transfer.c readwrite_data() Closes #12805
This commit is contained in:
parent
c54d0ff6b3
commit
476adfeac0
10 changed files with 113 additions and 25 deletions
|
|
@ -2210,9 +2210,6 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
* The application kindly asks for a differently sized receive buffer.
|
||||
* If it seems reasonable, we'll use it.
|
||||
*/
|
||||
if(data->state.buffer)
|
||||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
|
||||
arg = va_arg(param, long);
|
||||
|
||||
if(arg > READBUFFER_MAX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue