mirror of
https://github.com/curl/curl.git
synced 2026-07-23 22:47:23 +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
|
|
@ -42,6 +42,11 @@ transfer as that may lead to unintended consequences.
|
|||
|
||||
The maximum size was 512kB until 7.88.0.
|
||||
|
||||
Starting in libcurl 8.7.0, there is just a single transfer buffer allocated
|
||||
per multi handle. This buffer is used by all easy handles added to a multi
|
||||
handle no matter how many parallel transfers there are. The buffer remains
|
||||
allocated as long as there are active transfers.
|
||||
|
||||
# DEFAULT
|
||||
|
||||
CURL_MAX_WRITE_SIZE (16kB)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue