summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixup symbols-in-versionsbagder/urlapi-errorsDaniel Stenberg2018-09-191-2/+0
|
* fixup spell fixesDaniel Stenberg2018-09-191-2/+2
| | | | Spell-fixes-by: Daniel Gustafsson
* urlapi: document the error codes, remove two unused onesDaniel Stenberg2018-09-193-26/+59
|
* RELEASE-NOTES: syncedDaniel Stenberg2018-09-181-9/+58
|
* cmake: don't require OpenSSL if USE_OPENSSL=OFFslodki2018-09-181-2/+2
| | | | | | | | | User must have OpenSSL installed even if not used by libcurl at all since 7.61.1 release. Broken at 7867aaa9a01decf93711428462335be8cef70212 Reviewed-by: Sergei Nikulov Closes #3001
* curl_multi_wait: call getsock before figuring out timeoutDaniel Stenberg2018-09-181-7/+7
| | | | | | | .... since getsock may update the expiry timer. Fixes #2996 Closes #3000
* examples/http2-pushinmemory: receive HTTP/2 pushed files in memoryDaniel Stenberg2018-09-182-1/+189
| | | | Closes #3004
* darwinssl: Fix realloc memleakDaniel Gustafsson2018-09-181-1/+2
| | | | | | | | | | The reallocation was using the input pointer for the return value, which leads to a memory leak on reallication failure. Fix by instead use the safe internal API call Curl_saferealloc(). Closes #3005 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Nick Zitzmann <nickzman@gmail.com>
* examples: Fix memory leaks from realloc errorsKruzya2018-09-175-12/+29
| | | | | Make sure to not overwrite the reallocated pointer in realloc() calls to avoid a memleak on memory errors.
* memory: add missing curl_printf headerDaniel Gustafsson2018-09-171-1/+3
| | | | | | | | | ftp_send_command() was using vsnprintf() without including the libcurl *rintf() replacement header. Fix by including curl_printf.h and also add curl_memory.h while at it since memdebug.h depends on it. Closes #2999 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* curl: update --tlsv* descriptions in --help outputSi2018-09-165-8/+8
| | | | Closes #2994
* http: made Curl_add_buffer functions take a pointer-pointerDaniel Stenberg2018-09-165-105/+141
| | | | | | | ... so that they can clear the original pointer on failure, which makes the error-paths and their cleanups easier. Closes #2992
* http2: fix memory leaks on error-pathDaniel Stenberg2018-09-161-2/+8
|
* libtest: Add chkdecimalpoint to .gitignoreRikard Falkeborn2018-09-151-0/+1
| | | | Closes #2998
* secure Openwall URLsViktor Szakats2018-09-143-3/+3
|
* openssl: show "proper" version number for libressl buildsDaniel Stenberg2018-09-141-6/+5
| | | | Closes #2989
* openssl: assume engine support in 0.9.8 or laterRainer Jung2018-09-141-1/+1
| | | | | Fixes #2983 Closes #2988
* sendf: use failf() rather than Curl_failf()Daniel Gustafsson2018-09-131-3/+2
| | | | | | | | The failf() macro is the name used for invoking Curl_failf(). While there isn't a way to turn off failf like there is for infof, but it's still a good idea to use the macro. Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* sendf: Fix whitespace in infof/failf concatenationDaniel Gustafsson2018-09-132-2/+2
| | | | | | | | | | Strings broken on multiple rows in the .c file need to have appropriate whitespace padding on either side of the concatenation point to render a correct amalgamated string. Fix by adding a space at the occurrences found. Closes #2986 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* krb5: fix memory leak in krb_authDaniel Gustafsson2018-09-131-0/+1
| | | | | | The FTP command allocated by aprintf() must be freed after usage. Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* ftp: include command in Curl_ftpsend sendbufferDaniel Gustafsson2018-09-131-1/+5
| | | | | | | | | | Commit 8238ba9c5f10414a88f502bf3f5d5a42d632984c inadvertently removed the actual command to be sent from the send buffer in a refactoring. Add back copying the command into the buffer. Also add more guards against malformed input while at it. Closes #2985 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* ntlm_wb: Fix memory leaks in ntlm_wb_responseDaniel Gustafsson2018-09-131-0/+1
| | | | | | | | When erroring out on a request being too large, the existing buffer was leaked. Fix by explicitly freeing on the way out. Closes #2966 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* travis: build the MesaLink vtls backend with MesaLink 0.7.1Yiming Jing2018-09-131-0/+27
|
* runtests.pl: run tests against the MesaLink vtls backendYiming Jing2018-09-131-0/+5
|
* vtls: add a MesaLink vtls backendYiming Jing2018-09-135-1/+666
| | | | Closes #2984
* configure.ac: add a MesaLink vtls backendYiming Jing2018-09-132-5/+97
|
* curl_url_set.3: properly escape \n in example codeDave Reisner2018-09-131-1/+1
| | | | | | | | | | | | This yields "the scheme is %s\n" instead of "the scheme is %s0 Closes #2970
* curl_url_set.3: fix typo in reference to CURLU_APPENDQUERYDave Reisner2018-09-131-1/+1
|
* urlglob: improve error messageDaniel Stenberg2018-09-132-6/+9
| | | | | | | | | to help user understand what the problem is Reported-by: Daniel Shahaf Fixes #2763 Closes #2977
* tests/certs: rebuild certs with 2048-bit RSA keysYiming Jing2018-09-1243-787/+1065
| | | | | | | | | | | The previous test certificates contained RSA keys of only 1024 bits. However, RSA claims that 1024-bit RSA keys are likely to become crackable some time before 2010. The NIST recommends at least 2048-bit keys for RSA for now. Better use full 2048 also for testing. Closes #2973
* TODO: fix typo in itemDaniel Gustafsson2018-09-121-1/+1
| | | | | Closes #2968 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* anyauthput: fix compiler warning on 64-bit WindowsMarcel Raad2018-09-121-5/+8
| | | | | | | On Windows, the read function from <io.h> is used, which has its byte count parameter as unsigned int instead of size_t. Closes https://github.com/curl/curl/pull/2972
* lib: fix gcc8 warning on WindowsViktor Szakats2018-09-121-2/+3
| | | | Closes https://github.com/curl/curl/pull/2979
* openssl: fix gcc8 warningJay Satiro2018-09-121-1/+1
| | | | | | | | | | - Use memcpy instead of strncpy to copy a string without termination, since gcc8 warns about using strncpy to copy as many bytes from a string as its length. Suggested-by: Viktor Szakats Closes https://github.com/curl/curl/issues/2980
* libcurl-url.3: overview man page for the URL APIDaniel Stenberg2018-09-102-0/+138
| | | | Closes #2967
* example/asiohiper: insert warning comment about its statusDaniel Stenberg2018-09-101-1/+11
| | | | | | | This example is simply not working correctly but there's nobody around with the skills and energy to fix it. Closes #2407
* docs/cmdline-opts: update the documentation of --tlsv1.0Kamil Dudka2018-09-101-1/+1
| | | | | | ... to reflect the changes in 6015cefb1b2cfde4b4850121c42405275e5e77d9 Closes #2955
* docs/examples: do not wait when no transfers are runningKamil Dudka2018-09-108-24/+24
| | | | Closes #2948
* cookies: Move failure case label to end of functionDaniel Gustafsson2018-09-101-6/+7
| | | | | | | | Rather than jumping backwards to where failure cleanup happens to be performed, move the failure case to end of the function where it is expected per existing coding convention. Closes #2965
* misc: fix typos in commentsDaniel Gustafsson2018-09-104-4/+4
| | | | Closes #2963
* cookies: fix leak when writing cookies to fileDaniel Gustafsson2018-09-101-3/+2
| | | | | | | | | If the formatting fails, we error out on a fatal error and clean up on the way out. The array was however freed within the wrong scope and was thus never freed in case the cookies were written to a file instead of STDOUT. Closes #2957
* cookies: Remove redundant expired checkDaniel Gustafsson2018-09-101-6/+2
| | | | | | | Expired cookies have already been purged at a later expiration time before this check, so remove the redundant check. closes #2962
* ntlm_wb: bail out if the response gets overly largeDaniel Stenberg2018-09-091-1/+10
| | | | | | | | Exit the realloc() loop if the response turns out ridiculously large to avoid worse problems. Reported-by: Harry Sintonen Closes #2959
* url.c: fix comment typo and indentationDaniel Gustafsson2018-09-081-2/+2
| | | | Closes #2960
* urlapi: avoid derefencing a possible NULL pointerDaniel Stenberg2018-09-081-2/+2
| | | | Coverity CID 1439134
* RELEASE-NOTES: syncedDaniel Stenberg2018-09-081-6/+37
|
* test324: fix after 3f3b26d6feb0667714902e836af608094235fca2Marcel Raad2018-09-081-1/+1
| | | | The expected error code is now 60. 51 is dead.
* curl_url_set.3: correct descriptionDaniel Stenberg2018-09-081-1/+1
|
* curl_url-docs: fix AVAILABILITY as Added in curl 7.62.0Daniel Stenberg2018-09-085-5/+5
|
* URL-APIDaniel Stenberg2018-09-0824-365/+2814
| | | | | | | See header file and man pages for API. All documented API details work and are tested in the 1560 test case. Closes #2842