summaryrefslogtreecommitdiff
path: root/src/tool_operate.h
Commit message (Collapse)AuthorAgeFilesLines
* tool_writeout: add new writeout variable, %{num_headers}anio2020-09-151-0/+2
| | | | | | This variable gives the number of headers. Closes #5947
* curl: retry delays in parallel mode no longer sleeps blockingDaniel Stenberg2020-09-061-0/+3
| | | | | | | | | The previous sleep for retries would block all other concurrent transfers. Starting now, the retry will instead be properly marked to not get restarted until after the delay time but other transfers can still continue in the mean time. Closes #5917
* source cleanup: remove all custom typedef structsDaniel Stenberg2020-05-151-3/+3
| | | | | | | | | | | - Stick to a single unified way to use structs - Make checksrc complain on 'typedef struct {' - Allow them in tests, public headers and examples - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually typedef different types/structs depending on build conditions. Closes #5338
* curl: two new command line options for etagsMaros Priputen2019-11-281-0/+1
| | | | | | | | --etag-compare and --etag-save Suggested-by: Paul Hoffman Fixes #4277 Closes #4543
* curl: fix --upload-file . hangs if delay in STDINJohn Schroeder2019-11-261-0/+1
| | | | | | | | | | | | | | | Attempt to unpause a busy read in the CURLOPT_XFERINFOFUNCTION. When uploading from stdin in non-blocking mode, a delay in reading the stream (EAGAIN) causes curl to pause sending data (CURL_READFUNC_PAUSE). Prior to this change, a busy read was detected and unpaused only in the CURLOPT_WRITEFUNCTION handler. This change performs the same busy read handling in a CURLOPT_XFERINFOFUNCTION handler. Fixes #2051 Closes #4599 Reported-by: bdry on github
* curl: support parallel transfersDaniel Stenberg2019-07-201-1/+47
| | | | | | | | This is done by making sure each individual transfer is first added to a linked list as then they can be performed serially, or at will, in parallel. Closes #3804
* whitespace fixesViktor Szakats2018-09-231-1/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* tool_main: Moved easy handle into global config structureSteve Holme2014-02-241-1/+1
|
* tool_cfgable: Renamed Configurable structure to OperationConfigSteve Holme2014-02-231-1/+1
| | | | | To allow for the addition of a global config structure and prevent confusion between the two.
* tool_operate: Start to use CURLcode rather than int for return codesSteve Holme2014-02-221-2/+2
| | | | | | To help assist with the detection of incorrect return codes, as per commits ee23d13a79, 33b8960dc8 and aba98991a5, updated the operate based functions to return CURLcode error codes.
* curl tool: use configuration files from lib directoryYang Tse2012-04-061-2/+2
| | | | | | | | | | | Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
* curl tool: code moved to tool_*.[ch] filesYang Tse2011-10-051-0/+29