summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test1556: verify >16KB headers to the header callbackbagder/http-headers-cut-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
* 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
* tlsauthtype.d: works only if libcurl is built with TLS-SRP supportKamil Dudka2018-02-121-1/+3
| | | | | | Bug: https://bugzilla.redhat.com/1542256 Closes #2306
* smtp: fix processing of initial dot in dataPatrick Monnerat2018-02-126-4/+98
| | | | | | | | | | | RFC 5321 4.1.1.4 specifies the CRLF terminating the DATA command should be taken into account when chasing the <CRLF>.<CRLF> end marker. Thus a leading dot character in data is also subject to escaping. Tests 911 and test server are adapted to this situation. New tests 951 and 952 check proper handling of initial dot in data. Closes #2304
* sha256: avoid redefineDaniel Stenberg2018-02-121-6/+2
|
* sha256: build with OpenSSL < 0.9.8 tooDouglas Mencken2018-02-121-0/+12
| | | | | | support for SHA-2 was introduced in OpenSSL 0.9.8 Closes #2305
* README: language fixBruno Grasselli2018-02-121-1/+1
| | | | | | s/off/from Closes #2300
* http_chunks: don't write chunks twice with CURLOPT_HTTP_TRANSFER_DECODING onPatrick Monnerat2018-02-121-7/+7
| | | | | Bug: #2303 Reported-By: Henry Roeland
* get_posix_time: only check for overflows if they can happen!Daniel Stenberg2018-02-091-0/+2
|
* schannel: fix "no previous prototype" compiler warningMichael Kaufmann2018-02-091-8/+8
|
* content_encoding: Add "none" alias to "identity"Mohammad AlSaleh2018-02-091-1/+1
| | | | | | | | | | | | Some servers return a "content-encoding" header with a non-standard "none" value. Add "none" as an alias to "identity" as a work-around, to avoid unrecognised content encoding type errors. Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com> Closes https://github.com/curl/curl/pull/2298
* build-openssl.bat: Follow up to 648679ab8e to suppress copy/move outputSteve Holme2018-02-081-24/+24
|
* build-openssl.bat: Fixed incorrect move if destination build folder existsSteve Holme2018-02-081-10/+50
|
* schannel: fix compiler warningsMichael Kaufmann2018-02-081-10/+13
| | | | Closes #2296
* curl_addrinfo.c: Allow Unix Domain Sockets to compile under WindowsSteve Holme2018-02-072-2/+11
| | | | | | | | | Windows 10.0.17061 SDK introduces support for Unix Domain Sockets. Added the necessary include file to curl_addrinfo.c. Note: The SDK (which is considered beta) has to be installed, VS 2017 project file has to be re-targeted for Windows 10.0.17061 and #define enabled in config-win32.h.
* fnmatch: optimize processing of consecutive *s and ?s pattern charactersPatrick Monnerat2018-02-071-13/+18
| | | | | | Reported-By: Daniel Stenberg Fixes #2291 Closes #2293
* build-openssl.bat/build-wolfssl.bat: Build platform is optionalSteve Holme2018-02-062-6/+4
| | | | | | | Whilst the compiler parameter is mandatory, platform is optional as it is automatically calculated by the :configure section. This partially reverts commit 6d62d2c55d.
* openssl: Don't add verify locations when verifypeer==0Patrick Schlangen2018-02-061-16/+15
| | | | | | | | When peer verification is disabled, calling SSL_CTX_load_verify_locations is not necessary. Only call it when verification is enabled to save resources and increase performance. Closes #2290
* build-wolfssl.bat: Extend VC15 support to include Enterprise and ProfessionalSteve Holme2018-02-051-12/+21
| | | | ...and not just the Community Edition.
* build-openssl.bat: Extend VC15 support to include Enterprise and ProfessionalSteve Holme2018-02-051-12/+21
| | | | ...and not just the Community Edition.
* time-cond: fix reading the file modification time on WindowsMichael Kaufmann2018-02-056-98/+210
| | | | | | | | On Windows, stat() may adjust the unix file time by a daylight saving time offset. Avoid this by calling GetFileTime() instead. Fixes #2164 Closes #2204
* formdata: use the mime-content type functionDaniel Stenberg2018-02-053-65/+17
| | | | | | | | | | Reduce code duplication by making Curl_mime_contenttype available and used by the formdata function. This also makes the formdata function recognize a set of more file extensions by default. PR #2280 brought this to my attention. Closes #2282
* getdate: return -1 for out of rangeDaniel Stenberg2018-02-021-5/+1
| | | | | | | | | ...as that's how the function is documented to work. Reported-by: Michael Kaufmann Bug found in an autobuild with 32 bit time_t Closes #2278
* build: fix termios issue on android cross-compileBen Greear2018-02-011-0/+6
| | | | | Bug: https://curl.haxx.se/mail/lib-2018-01/0122.html Signed-off-by: Ben Greear <greearb@candelatech.com>
* time_t-fixes: remove typecasts to 'long' for info.filetimeDaniel Stenberg2018-02-015-11/+11
| | | | | | | | They're now wrong. Reported-by: Michael Kaufmann Closes #2277
* curl_setup: move the precautionary define of SIZEOF_TIME_TDaniel Stenberg2018-01-311-5/+5
| | | | | | ... up to before it may be used for the TIME_T_MAX/MIN logic. Reported-by: Michael Kaufmann
* parsedate: s/#if/#ifdefDaniel Stenberg2018-01-311-1/+1
| | | | | Reported-by: Michael Kaufmann Bug: https://github.com/curl/curl/commit/1c39128d974666107fc6d9ea15f294036851f224#commitcomment-27246479
* fnmatch: pattern syntax can no longer failPatrick Monnerat2018-01-312-115/+83
| | | | | | | | | | | | Whenever an expected pattern syntax rule cannot be matched, the character starting the rule loses its special meaning and the parsing is resumed: - backslash at the end of pattern string matches itself. - Error in [:keyword:] results in set containing :\[dekorwy. Unit test 1307 updated for this new situation. Closes #2273
* fnmatch: accept an alphanum to be followed by a non-alphanum in char setPatrick Monnerat2018-01-312-93/+61
| | | | | | | Also be more tolerant about set pattern syntax. Update unit test 1307 accordingly. Bug: https://curl.haxx.se/mail/lib-2018-01/0114.html
* fnmatch: do not match the empty string with a character setPatrick Monnerat2018-01-312-5/+5
|
* build: fix windows build methods for curl_ctype.cJay Satiro2018-01-302-1/+6
| | | | | | | - Fix winbuild and the VS project generator to treat curl_ctype.{c,h} as curlx files since they are required by both src and lib. Follow-up to 4272a0b which added curl_ctype.
* progress-bar.d: update to match implementationDaniel Stenberg2018-01-301-2/+3
| | | | | | | | | ... since commit 993dd5651a6 Reported-by: Martin Dreher Bug: https://github.com/curl/curl/pull/2242#issuecomment-361059228 Closes #2271