summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* krb5: use nondeprecated functionskrb5_deprecation_warningsMarcel Raad2018-03-031-3/+3
| | | | | | | | | | | | | gss_seal/gss_unseal have been deprecated in favor of gss_wrap/gss_unwrap with GSS-API v2 from January 1997 [1]. The first version of "The Kerberos Version 5 GSS-API Mechanism" [2] from June 1996 already says "GSS_Wrap() (formerly GSS_Seal())" and "GSS_Unwrap() (formerly GSS_Unseal())". Use the nondeprecated functions to avoid deprecation warnings. [1] https://tools.ietf.org/html/rfc2078 [2] https://tools.ietf.org/html/rfc1964
* unit1309: fix warning on Windows x64Marcel Raad2018-02-283-17/+17
| | | | | | | | | | When targeting x64, MinGW-w64 complains about conversions between 32-bit long and 64-bit pointers. Fix this by reusing the GNUTLS_POINTER_TO_SOCKET_CAST / GNUTLS_SOCKET_TO_POINTER_CAST logic from gtls.c, moving it to warnless.h as CURLX_POINTER_TO_INTEGER_CAST / CURLX_INTEGER_TO_POINTER_CAST. Closes https://github.com/curl/curl/pull/2341
* travis: update compiler versionsMarcel Raad2018-02-281-9/+9
| | | | | | Update clang to version 3.9 and GCC to version 6. Closes https://github.com/curl/curl/pull/2345
* docs/MANUAL: formfind.pl is not accessible on the site anymoreDaniel Stenberg2018-02-261-2/+1
| | | | Fixes #2342
* curl-openssl.m4: Fix version check for OpenSSL 1.1.1Jay Satiro2018-02-241-1/+10
| | | | | | | | | | - Add OpenSSL 1.1.1 to the header/library version lists. - Detect OpenSSL 1.1.1 library using its function ERR_clear_last_mark, which was added in that version. Prior to this change an erroneous header/library mismatch was caused by lack of OpenSSL 1.1.1 detection. I tested using openssl-1.1.1-pre1.
* lib655: silence compiler warningViktor Szakats2018-02-231-1/+1
| | | | Closes https://github.com/curl/curl/pull/2335
* spelling fixesViktor Szakats2018-02-2332-48/+49
| | | | | | | | Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
* projects/README: remove reference to dead IDN link/packageDaniel Stenberg2018-02-241-7/+4
| | | | | | Reported-by: Stefan Kanthak and Rod Widdowson Fixes #2325
* winbuild: Use macros for the names of some build utilitiesRod Widdowson2018-02-231-2/+7
| | | | | | | | | | - Add macros to the top of the makefile for rc and mt utilities so that it is easier to change their locations. Bug: https://curl.haxx.se/mail/lib-2018-02/0075.html Reported-by: Stefan Kanthak Closes https://github.com/curl/curl/issues/2329
* TODO: remove "sha-256 digest", added in 2b5b37cb9109e7c2Daniel Stenberg2018-02-231-10/+0
|
* curl_share_setopt.3: connection cache is shared within multi handlesDaniel Stenberg2018-02-231-3/+6
|
* winbuild: Use CALL to run batch scriptsRod Widdowson2018-02-221-2/+2
| | | | | | | Co-authored-by: Stefan Kanthak Closes https://github.com/curl/curl/issues/2330 Closes https://github.com/curl/curl/pull/2331
* os400: add curl_resolver_start_callback type to ILE/RPG bindingPatrick Monnerat2018-02-221-0/+3
|
* form.d: rephrased somewhat, added two example command linesDaniel Stenberg2018-02-221-16/+26
|
* url: Add option CURLOPT_RESOLVER_START_FUNCTIONFrancisco Sedano2018-02-2116-3/+379
| | | | | | | | | | | | - Add new option CURLOPT_RESOLVER_START_FUNCTION to set a callback that will be called every time before a new resolve request is started (ie before a host is resolved) with a pointer to backend-specific resolver data. Currently this is only useful for ares. - Add new option CURLOPT_RESOLVER_START_DATA to set a user pointer to pass to the resolver start callback. Closes https://github.com/curl/curl/pull/2311
* lib: CURLOPT_HAPPY_EYEBALLS_TIMEOUT => CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MSJay Satiro2018-02-219-14/+14
| | | | | | | | | | | | | | | | - In keeping with the naming of our other connect timeout options rename CURLOPT_HAPPY_EYEBALLS_TIMEOUT to CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS. This change adds the _MS suffix since the option expects milliseconds. This is more intuitive for our users since other connect timeout options that expect milliseconds use _MS such as CURLOPT_TIMEOUT_MS, CURLOPT_CONNECTTIMEOUT_MS, CURLOPT_ACCEPTTIMEOUT_MS. The tool option already uses an -ms suffix, --happy-eyeballs-timeout-ms. Follow-up to 2427d94 which added the lib and tool option yesterday. Ref: https://github.com/curl/curl/pull/2260
* sasl: prefer PLAIN mechanism over LOGINPatrick Monnerat2018-02-211-10/+10
| | | | | SASL PLAIN is a standard, LOGIN only a draft. The LOGIN draft says PLAIN should be used instead if available.
* RELEASE-NOTES: synced with 2427d94c6Daniel Stenberg2018-02-212-9/+37
|
* url: Add option CURLOPT_HAPPY_EYEBALLS_TIMEOUTAnders Bakken2018-02-2018-5/+125
| | | | | | | | | | | | | | - Add new option CURLOPT_HAPPY_EYEBALLS_TIMEOUT to set libcurl's happy eyeball timeout value. - Add new optval macro CURL_HET_DEFAULT to represent the default happy eyeballs timeout value (currently 200 ms). - Add new tool option --happy-eyeballs-timeout-ms to expose CURLOPT_HAPPY_EYEBALLS_TIMEOUT. The -ms suffix is used because the other -timeout options in the tool expect seconds not milliseconds. Closes https://github.com/curl/curl/pull/2260
* hostip: fix 'potentially uninitialized variable' warningJay Satiro2018-02-201-2/+2
| | | | | | Follow-up to 50d1b33. Caught by AppVeyor.
* TODO: warning if curl version is not in sync with libcurl versionDaniel Stenberg2018-02-201-0/+8
|
* CURLOPT_RESOLVE: Add support for multiple IP addresses per entryAnders Bakken2018-02-209-42/+347
| | | | | | | This enables users to preresolve but still take advantage of happy eyeballs and trying multiple addresses if some are not connecting. Ref: https://github.com/curl/curl/pull/2260
* examples/sftpuploadresume: resume upload via CURLOPT_APPENDSergio Borghese2018-02-202-2/+132
| | | | URL: https://curl.haxx.se/mail/lib-2018-02/0072.html
* curl --version: show PSL if the run-time lib has it enabledDaniel Stenberg2018-02-181-4/+2
| | | | ... not of the #define was set at build-time!
* TODO: "Support in-memory certs/ca certs/keys"Daniel Stenberg2018-02-181-15/+7
| | | | | | | | removed SSLKEYLOGFILE support (fixed) removed "consider SSL patches" (outdated) Closes #2310
* CURLOPT_HEADER.3: clarify problems with different data sizesDaniel Stenberg2018-02-161-6/+12
|
* test1556: verify >16KB headers to the header callbackDaniel Stenberg2018-02-164-2/+147
|
* header callback: don't chop headers into smaller piecesDaniel Stenberg2018-02-163-33/+33
| | | | | | Reported-by: Guido Berhoerster Fixes #2314 Closes #2316
* test1154: verify that long HTTP headers get rejectedDaniel Stenberg2018-02-162-1/+58
|
* http: fix the max header length detection logicDaniel Stenberg2018-02-161-11/+10
| | | | | | | | | | | Previously, it would only check for max length if the existing alloc buffer was to small to fit it, which often would make the header still get used. Reported-by: Guido Berhoerster Bug: https://curl.haxx.se/mail/lib-2018-02/0056.html Closes #2315
* CURLOPT_HEADERFUNCTION.3: fix typo from d939226813Daniel Stenberg2018-02-161-1/+1
| | | | | Reported-by: Erik Johansson Bug: https://github.com/curl/curl/commit/d9392268131c1b8d18dec3fa30e0bded833a5db7#commitcomment-27607495
* CURLOPT_HEADERFUNCTION.3: mention folded headersDaniel Stenberg2018-02-161-1/+6
|
* TODO: 1.1 Option to refuse usernames in URLsDaniel Stenberg2018-02-161-0/+17
| | | | Also expanded the CURL_REFUSE_CLEARTEXT section with more ideas.
* TODO: 1.7 Support HTTP/2 for HTTP(S) proxiesDaniel Stenberg2018-02-161-0/+5
|
* ssh: add two missing state namesDaniel Stenberg2018-02-161-0/+5
| | | | | | | | | | | | | | | The list of state names (used in debug builds) was out of sync in relation to the list of states (used in all builds). I now added an assert to make sure the sizes of the two lists match, to aid in detecting this mistake better in the future. Regression since c92d2e14cf, shipped in 7.58.0. Reported-by: Somnath Kundu Fixes #2312 Closes #2313
* Revert "KNOWN_BUGS: 2.5 curl should not offer "ALPN: h2" when using https-proxy"Daniel Stenberg2018-02-151-8/+0
| | | | | | This reverts commit de9fac00c40db321d44fa6fbab6eb62ec4c83998. Reported-by: Jay Satiro
* non-ascii: fix implicit declaration warningJay Satiro2018-02-151-0/+1
| | | | | | Follow-up to b46cfbc. Caught by Travis CI.
* travis: add build with iconv enabledDaniel Stenberg2018-02-152-0/+13
| | | | | | | | ... to verify it builds and works fine. Ref: https://curl.haxx.se/mail/lib-2017-09/0031.html Closes #1872
* TODO: 18.18 retry on network is unreachableDaniel Stenberg2018-02-151-0/+13
| | | | Closes #1603
* KNOWN_BUGS: 2.5 curl should not offer "ALPN: h2" when using https-proxyDaniel Stenberg2018-02-151-0/+8
| | | | Closes #1254
* nss: use PK11_CreateManagedGenericObject() if availableKamil Dudka2018-02-152-1/+20
| | | | | | | | | ... so that the memory allocated by applications using libcurl does not grow per each TLS connection. Bug: https://bugzilla.redhat.com/1510247 Closes #2297
* TODO fixed: Detect when called from within callbacksBjörn Stenberg2018-02-1528-29/+312
| | | | Closes #2302
* BINDINGS: fix curb link (and remove ruby-curl-multi)Daniel Stenberg2018-02-141-1/+1
| | | | Reported-by: Klaus Stein
* curl_gssapi: make sure this file too uses our *printf()Daniel Stenberg2018-02-131-1/+6
|
* libcurl-security.3: separate file:// sectionDaniel Stenberg2018-02-131-0/+7
| | | | | ... just to make it more apparent. Even if it repeats some pieces of information.
* libcurl-security.3: the http://192.168.0.1/my_router_config caseDaniel Stenberg2018-02-131-1/+6
| | | | Mentioned-By: Rich Moore
* libcurl-security.3: mention the URL standards problems tooDaniel Stenberg2018-02-131-0/+10
|
* libcurl-security.3: split out from libcurl-tutorial.3Daniel Stenberg2018-02-133-230/+320
| | | | | | | | | To make more accessible. Merged in some new language from "URLs are dangerous things" as discussed on the mailing list a few days ago: Bug: https://curl.haxx.se/mail/lib-2018-02/0013.html
* RELEASE-NOTES: synced with e551910f8Daniel Stenberg2018-02-131-5/+43
|
* tests: new tests for http raw modePatrick Monnerat2018-02-133-2/+125
| | | | | | | | | Test 319 checks proper raw mode data with non-chunked gzip transfer-encoded server data. Test 326 checks raw mode with chunked server data. Bug: #2303 Closes #2308