mirror of
https://github.com/curl/curl.git
synced 2026-07-25 02:47:17 +03:00
upload: allocate upload buffer on-demand
Saves 16KB on the easy handle for operations that don't need that buffer. Part 1 of #2888
This commit is contained in:
parent
4939f36524
commit
e6e9b006f7
7 changed files with 59 additions and 24 deletions
|
|
@ -54,6 +54,7 @@ CURLcode Curl_readrewind(struct connectdata *conn);
|
|||
CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp);
|
||||
CURLcode Curl_retry_request(struct connectdata *conn, char **url);
|
||||
bool Curl_meets_timecondition(struct Curl_easy *data, time_t timeofdoc);
|
||||
CURLcode Curl_get_upload_buffer(struct Curl_easy *data);
|
||||
|
||||
/* This sets up a forthcoming transfer */
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue