summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fread_func: move callback pointer from set to state structissue-346Daniel Stenberg2015-10-159-35/+64
| | | | | | | | | | | | | | ... and assign it from the set.fread_func_set pointer in the Curl_init_CONNECT function. This A) avoids that we have code that assigns fields in the 'set' struct (which we always knew was bad) and more importantly B) it makes it impossibly to accidentally leave the wrong value for when the handle is re-used etc. Introducing a state-init functionality in multi.c, so that we can set a specific function to get called when we enter a state. The Curl_init_CONNECT is thus called when switching to the CONNECT state. Bug: https://github.com/bagder/curl/issues/346
* test1531: case the size to fix the test on non-largefile buildsDan Fandrich2015-10-141-1/+1
|
* acinclude: remove PKGCONFIG overrideDaniel Stenberg2015-10-131-4/+1
| | | | | | | ... and allow it to get set by a caller easier. Reported-by: Rainer Jung Bug: http://curl.haxx.se/mail/lib-2015-10/0035.html
* docs/INSTALL: Updated example minimal binary sizesDan Fandrich2015-10-121-6/+9
|
* openssl: Fix set up of pkcs12 certificate verification chainErik Johansson2015-10-111-3/+3
| | | | | | | | sk_X509_pop will decrease the size of the stack which means that the loop would end after having added only half of the certificates. Also make sure that the X509 certificate is freed in case SSL_CTX_add_extra_chain_cert fails.
* ntlm: error out without 64bit support as the code needs itDaniel Stenberg2015-10-091-0/+4
| | | | | | | | | It makes it a clearer message for developers reaching that point without the necessary support. Thanks-by: Jay Satiro Closes #78
* curl_global_init: set the memory function pointers correctDaniel Stenberg2015-10-091-10/+22
| | | | follow-up from 6f8ecea0
* curl_global_init_mem: set function pointers before doing initDaniel Stenberg2015-10-091-12/+9
| | | | ... as in the polarssl TLS backend for example it uses memory functions.
* http2: Fix http2_recv to return -1 if recv returned -1Jay Satiro2015-10-091-7/+3
| | | | | If the underlying recv called by http2_recv returns -1 then that is the value http2_recv returns to the caller.
* curl_easy_recv.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKETSvyatoslav Mishyn2015-10-081-1/+1
| | | | Closes #479
* curl_easy_send.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKETSvyatoslav Mishyn2015-10-081-1/+1
|
* CURLOPT_CONNECT_ONLY.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKETSvyatoslav Mishyn2015-10-081-1/+1
|
* CURLOPT_CERTINFO.3: fix reference to CURLINFO_CERTINFODaniel Stenberg2015-10-081-3/+3
|
* ntlm: get rid of unconditional use of long longDaniel Stenberg2015-10-081-7/+4
| | | | | | | | ... since some compilers don't have it and instead use other types, such as __int64. Reported by: gkinseyhpw Closes #478
* des: Fix header conditional for Curl_des_set_odd_parityAnders Bakken2015-10-081-1/+1
| | | | Follow up to 613e502.
* configure: build silently by defaultDaniel Stenberg2015-10-071-0/+1
| | | | 'make V=1' will make the build verbose like before
* bump: start climbing toward 7.46.0Daniel Stenberg2015-10-072-127/+10
|
* RELEASE-PROCEDURE: add the github HTTPS download stepDaniel Stenberg2015-10-071-3/+3
|
* THANKS: 19 new contributors from the 7.45.0 announcementcurl-7_45_0Daniel Stenberg2015-10-071-0/+19
|
* RELEASE-NOTES: synced with 69ea57970080Daniel Stenberg2015-10-051-6/+17
|
* getinfo: Fix return code for unknown CURLINFO optionsJay Satiro2015-10-041-7/+6
| | | | | | | | | - If a CURLINFO option is unknown return CURLE_UNKNOWN_OPTION. Prior to this change CURLE_BAD_FUNCTION_ARGUMENT was returned on unknown. That return value is contradicted by the CURLINFO option documentation which specifies a return of CURLE_UNKNOWN_OPTION on unknown.
* hiperfifo: fix the pointer passed to WRITEDATArouzier2015-10-041-1/+1
| | | | Closes https://github.com/bagder/curl/pull/471
* tool_setopt: fix c_escape truncated octalMaksim Stsepanenka2015-10-021-1/+1
| | | | Closes https://github.com/bagder/curl/pull/469
* gopher: don't send NUL byteOrange Tsai2015-10-011-3/+5
| | | | Closes #466
* runtests: Fix pid check in checkdiedJay Satiro2015-09-291-1/+1
| | | | | Because the 'not' operator has a very low precedence and as a result the entire statement was erroneously negated and could never be true.
* win32: make recent Borland compilers use long longThorsten Schöning2015-09-301-2/+3
|
* RELEASE-NOTES: synced with 69b89050d4Daniel Stenberg2015-09-291-7/+24
|
* openssl: Fix algorithm initMichael Kalinin2015-09-281-10/+9
| | | | | | | | | | - Change algorithm init to happen after OpenSSL config load. Additional algorithms may be available due to the user's config so we initialize the algorithms after the user's config is loaded. Bug: https://github.com/bagder/curl/issues/447 Reported-by: Denis Feklushkin
* docs: fix unescaped '\n' in man pagesSvyatoslav Mishyn2015-09-274-6/+6
| | | | Closes https://github.com/bagder/curl/pull/459
* http2: set TCP_NODELAY unconditionallyDaniel Stenberg2015-09-273-5/+11
| | | | | | For a single-stream download from localhost, we managed to increase transfer speed from 1.6MB/sec to around 400MB/sec, mostly because of this single fix.
* http2: avoid superfluous Curl_expire() callsDaniel Stenberg2015-09-271-8/+21
| | | | | | | | | | ... only call it when there is data arriving for another handle than the one that is currently driving it. Improves single-stream download performance quite a lot. Thanks-to: Tatsuhiro Tsujikawa Bug: http://curl.haxx.se/mail/lib-2015-09/0097.html
* readwrite_data: set a max number of loopsDaniel Stenberg2015-09-271-1/+2
| | | | | ... as otherwise a really fast pipe can "lock" one transfer for some protocols, like with HTTP/2.
* CI: Added AppVeyor-CI for curlSergei Nikulov2015-09-261-0/+19
| | | | Closes #439
* FTP: fix uploading ASCII with unknown sizeDaniel Stenberg2015-09-261-1/+2
| | | | | | | ... don't try to increase the supposed file size on newlines if we don't know what file size it is! Patch-by: lzsiga
* build: fix failures with -Wcast-align and -WerrorTatsuhiro Tsujikawa2015-09-264-10/+12
| | | | Closes #457
* curl-confopts.m4: Add missing ')'Tatsuhiro Tsujikawa2015-09-261-1/+1
| | | | | | ... for CURL_CHECK_OPTION_RT Closes #456
* curl_easy_getinfo.3: Add brief description for each CURLINFOJay Satiro2015-09-251-0/+89
|
* CMake: Ensure discovered include dirs are consideredJakub Zakrzewski2015-09-231-4/+9
| | | | | | | ...during header checks. Otherwise some following header tests (incorrectly) fail. Closes #436
* CMake: Put "winsock2.h" before "windows.h" during configure checksJakub Zakrzewski2015-09-231-1/+1
| | | | | "windows.h" includes "winsock.h" what causes many redefinition errors if "winsock2.h" is included afterwards and can cause build to fail.
* tests: disable 1510 due to CI-problems on githubDaniel Stenberg2015-09-231-0/+3
|
* gnutls: Report actual GnuTLS error message for certificate errorsMike Crowe2015-09-231-8/+10
| | | | | | | If GnuTLS fails to read the certificate then include whatever reason it provides in the failure message reported to the client. Signed-off-by: Mike Crowe <mac@mcrowe.com>
* RELEASE-NOTES: synced with 6b56901b56eDaniel Stenberg2015-09-221-6/+10
|
* gnutls: Support CURLOPT_KEYPASSWDMike Crowe2015-09-222-9/+37
| | | | | | | | | | | | | | | The gnutls vtls back-end was previously ignoring any password set via CURLOPT_KEYPASSWD. Presumably this was because gnutls_certificate_set_x509_key_file did not support encrypted keys. gnutls now has a gnutls_certificate_set_x509_key_file2 function that does support encrypted keys. Let's determine at compile time whether the available gnutls supports this new function. If it does then use it to pass the password. If it does not then emit a helpful diagnostic if a password is set. This is preferable to the previous behaviour of just failing to read the certificate without giving a reason in that case. Signed-off-by: Mike Crowe <mac@mcrowe.com>
* CURLINFO_TLS_SESSION: always return backend infoDaniel Stenberg2015-09-222-7/+13
| | | | | | ... even for those that don't support providing anything in the 'internals' struct member since it offers a convenient way for applications to figure this out.
* tool: remove redundant libcurl checkDaniel Hwang2015-09-221-41/+39
| | | | | | | | The easysrc generation is run only when --libcurl is initialized. Ref: https://github.com/bagder/curl/issues/429 Closes #448
* CURLOPT_PROXY.3: A proxy given as env variable gets no special treatmentRichard van den Berg2015-09-221-2/+2
| | | | Closes #449
* TODO: 5.7 More compressionsDaniel Stenberg2015-09-221-0/+9
| | | | Like for example brotli, as being implemented in Firefox now.
* tool_operate: Don't call easysrc cleanup unless --libcurlJay Satiro2015-09-211-6/+9
| | | | | | | | | - Review of 4d95491. The author changed it so easysrc only initializes when --libcurl but did not do the same for the call to easysrc cleanup. Ref: https://github.com/bagder/curl/issues/429
* CURLOPT_PINNEDPUBLICKEY.3: replace test.com with example.comViktor Szakats2015-09-201-4/+4
| | | | closes #443
* KNOWN_BUGS: 91 "curl_easy_perform hangs with imap and PolarSSL"Daniel Stenberg2015-09-201-0/+3
| | | | Closes #334