mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:44:10 +03:00
curl: count uploaded data to stop at the originally given size
Closes #11223 Fixes #11222 Reported-by: JustAnotherArchivist on github
This commit is contained in:
parent
6661bd588d
commit
1f85420a28
7 changed files with 33 additions and 38 deletions
|
|
@ -70,24 +70,6 @@ struct OutStruct {
|
|||
curl_off_t init;
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* InStruct variables keep track of information relative to curl's
|
||||
* input reading, which may take place from stdin or from some file.
|
||||
*
|
||||
* 'fd' member is either 'stdin' file descriptor number STDIN_FILENO
|
||||
* or a file descriptor as returned from an 'open' call for some file.
|
||||
*
|
||||
* 'config' member is a pointer to associated 'OperationConfig' struct.
|
||||
*/
|
||||
|
||||
struct InStruct {
|
||||
int fd;
|
||||
struct OperationConfig *config;
|
||||
struct per_transfer *per;
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* A linked list of these 'getout' nodes contain URL's to fetch,
|
||||
* as well as information relative to where URL contents should
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue