Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-04 | tool: add --unix-socket option | Peter Wu | |
Signed-off-by: Peter Wu <peter@lekensteyn.nl> | |||
2014-10-08 | operate: avoid NULL dereference | Daniel Stenberg | |
Coverity CID 1241948. dumpeasysrc() would get called with config->current set to NULL which could be dereferenced by a warnf() call. | |||
2014-10-08 | operate_do: skip superfluous check for NULL pointer | Daniel Stenberg | |
Coverity CID 1243583. get_url_file_name() cannot fail and return a NULL file name pointer so skip the check for that - it tricks coverity into believing it can happen and it then warns later on when we use 'outfile' without checking for NULL. | |||
2014-10-07 | SSL: implement public key pinning | moparisthebest | |
Option --pinnedpubkey takes a path to a public key in DER format and only connect if it matches (currently only implemented with OpenSSL). Provides CURLOPT_PINNEDPUBLICKEY for curl_easy_setopt(). Extract a public RSA key from a website like so: openssl s_client -connect google.com:443 2>&1 < /dev/null | \ sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -noout -pubkey \ | openssl rsa -pubin -outform DER > google.com.der | |||
2014-05-10 | tool_operate.c: Fixed compilation warning | Steve Holme | |
An enumerated type is mixed with another type. | |||
2014-05-09 | tool_operate.c: Fixed TAB is white space from commit 5b8ae0a985 | Steve Holme | |
2014-05-09 | tool_operate.c: Fixed compilation warnings | Steve Holme | |
An enumerated type is mixed with another type. | |||
2014-05-06 | curl: bail on cookie use when built with disabled cookies | Daniel Stenberg | |
2014-04-04 | curl: add --proxy-header | Maciej Puzio | |
2014-03-23 | tool_operate: Fixed uninitialised variable under some error situations | Steve Holme | |
For example when a URL is not specified or the headers file fails to open. | |||
2014-03-02 | tool: Do not output libcurl source for the information only parameters | Steve Holme | |
Ensure a source file isn't generated for the following informational command line parameters when --libcurl is specified: --help, --manual, --version and --engine list As the output would only include a fairly empty looking main() function and a call to curl_easy_init() and curl_easy_cleanup() when performed with --engine list. | |||
2014-03-02 | tool: Fixed libcurl source output for multiple operations | Steve Holme | |
Correctly output libcurl source code that includes multiply operations as specified by --next. Note that each operation evaluates to a single curl_easy_perform() in source code form. Also note that the output could be optimised a little so global config options are only output once rather than per operation as is presently the case. | |||
2014-03-01 | tool: Moved internal variable isatty to the global config | Steve Holme | |
2014-03-01 | tool_operate.c: Fixed compilation error | Steve Holme | |
incompatible types - from 'OperationConfig *' to 'GlobalConfig *' | |||
2014-03-01 | tool: Moved --progress-bar to the global config | Steve Holme | |
2014-03-01 | tool: Moved --stderr to the global config | Steve Holme | |
2014-02-27 | tool: Moved --trace and --verbose to the global config | Steve Holme | |
2014-02-27 | tool: Moved --silient to the global config | Steve Holme | |
Other global options such as --libcurl, --trace and --verbose to follow. | |||
2014-02-25 | tool: Moved --showerror to the global config | Steve Holme | |
Other global options such as --libcurl, --trace and --verbose to follow. | |||
2014-02-25 | tool_getparam: Added global config to getparameter() | Steve Holme | |
In preparation for parsing global options added the GlobalConfig structure to the getparameter() function. | |||
2014-02-24 | tool_cfgable: Added support for knowing the current operation | Steve Holme | |
2014-02-24 | tool_operate: Moved easy handle cleanup into tool_main | Steve Holme | |
2014-02-24 | tool_main: Moved easy handle into global config structure | Steve Holme | |
2014-02-23 | tool_cfgable: Renamed Configurable structure to OperationConfig | Steve Holme | |
To allow for the addition of a global config structure and prevent confusion between the two. | |||
2014-02-23 | tool: Fixed incorrect return code with --version from commit c10bf9bb36 | Steve Holme | |
2014-02-23 | tool_getparam: Moved tool_help() call into operate() | Steve Holme | |
2014-02-23 | tool_getparam: Moved hugehelp() call into operate() | Steve Holme | |
2014-02-23 | tool_getparam: Moved tool_version_info() call into operate() | Steve Holme | |
2014-02-22 | tool_cfgable: Removed list_engine flag from config structure | Steve Holme | |
In preparation for separating the global config options from the per operation config options, reworked the list engines code to not use a member variable in the Configurable structure. | |||
2014-02-22 | tool_operate: Start to use CURLcode rather than int for return codes | Steve Holme | |
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. | |||
2014-02-22 | tool: Fixed incorrect return code when setting HTTP request fails | Steve Holme | |
During initialisation SetHTTPrequest() may fail and cURL would return PARAM_BAD_USE, which is equivalent to CURLE_NOT_BUILT_IN in cURL error terms. Instead, return CURLE_FAILED_INIT as we do for other functions that may fail during initialisation. | |||
2014-02-22 | tool_operate: Moved list engines into separate function in tool_help | Steve Holme | |
2014-02-16 | tool_paramhlp: Added URL index to password prompt for multiple operations | Steve Holme | |
2014-02-15 | tool_operate: Changed the required argument check/get to be upfront | Steve Holme | |
Rather than check for required arguments, and prompt for any host and proxy passwords, as each operation is performed, changed the code so all configurations are checked before any operations are performed. This allows the user to input all the required passwords, for example, upfront rather than wait for each operation. | |||
2014-02-15 | tool_operate: Moved required argument getting into separate function | Steve Holme | |
2014-02-14 | curl: output protocol headers using binary mode | Marc Hoersken | |
Since protocol headers contain explicit line-endings there should be no automatic conversion to ASCII text or CRLF line-endings. This might break third party tools that already depend on this behaviour. We might need to introduce an option to make this optional. | |||
2014-02-10 | tool_cfgable: Moved easy handle cleanup to fix pingpong logout issues | Steve Holme | |
Commmit c5f8e2f5f4 removed the easy handle clean-up from tool_operate, letting the code that was already present in free_config_fields() perform the task. Unfortunately, this wasn't the correct place to do this as it broke protocols, that would perform a logout, as the main clean-up in tool_main had already been called. | |||
2014-02-10 | NPN/ALPN: allow disabling via command line | Fabian Frank | |
when using --http2 one can now selectively disable NPN or ALPN with --no-alpn and --no-npn. for now honored with NSS only. TODO: honor this option with GnuTLS and OpenSSL | |||
2014-02-09 | tool_operate: Move the trace and error file closure to tool_cfgable | Steve Holme | |
2014-02-09 | tool_operate: Added support for performing URL specific operations | Steve Holme | |
2014-02-09 | tool_operate: Let curl handle cleanup take place in config_free() | Steve Holme | |
2014-02-06 | tool_operate: Removed unused argument parameters from operate_do() | Steve Holme | |
2014-02-06 | tool_operate: Moved list SSL engines code into operate() | Steve Holme | |
2014-02-06 | tool_operate: Moved argument parsing into operate() | Steve Holme | |
2014-02-05 | tool_operate: Moved .curlrc parsing code into operate() | Steve Holme | |
2014-02-05 | tool_operate: Moved locale setup code into operate_init() | Steve Holme | |
2014-02-04 | tool_operate: shortened too-long source line | Dan Fandrich | |
2014-02-04 | tool_operate: Introduced operate_free() function | Steve Holme | |
2014-02-04 | tool_operate: Introduced operate_init() function | Steve Holme | |
2014-02-04 | tool_operate: Introduced new operate() function | Steve Holme | |