summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* vauth: Moved the NTLM authentication code to the new vauth directorySteve Holme2016-03-2510-86/+71
|
* vauth: Moved the Kerberos V5 authentication code to the new vauth directorySteve Holme2016-03-257-477/+518
|
* digest.c: Fixed checksrc warningsSteve Holme2016-03-251-2/+4
|
* vauth: Moved the DIGEST authentication code to the new vauth directorySteve Holme2016-03-2510-1365/+1485
|
* vauth: Moved the CRAM-MD5 authentication code to the new vauth directorySteve Holme2016-03-255-101/+154
|
* vauth: Moved the ClearText authentication code to the new vauth directorySteve Holme2016-03-255-114/+177
|
* vauth: Moved Curl_sasl_build_spn() to create the initial vauth source filesSteve Holme2016-03-2510-98/+156
|
* build: Updated all makefiles and project files for the new vauth directorySteve Holme2016-03-254-9/+14
| | | | | | Updated the makefiles and Visual Studio project files to support moving the authentication code to the new lib/vauth directory that was started in commit 0d04e859e1.
* schannel: Add ALPN supportJDepooter2016-03-241-1/+105
| | | | | | | Add ALPN support for schannel. This allows cURL to negotiate HTTP/2.0 connections when built with schannel. Closes #724
* http: Minor update based on CODE_STYLE guidelinesSteve Holme2016-03-241-27/+25
|
* multi: fix "Operation timed out after" timerDaniel Stenberg2016-03-231-1/+1
| | | | | | | Use the local, reasonably updated, 'now' value when creating the message string to output for the timeout condition. Fixes #619
* openssl: boringssl provides the same numbering as opensslDaniel Stenberg2016-03-231-2/+1
| | | | | | | ... so we don't need extra boringssl precautions for for HAVE_ERR_REMOVE_THREAD_STATE_NOARG. Pointed-out-by: David Benjamin
* openssl: fix ERR_remove_thread_state() for boringssl/libresslDaniel Stenberg2016-03-231-1/+3
| | | | | | The removed arg is only done in OpenSSL Bug: https://twitter.com/xtraemeat/status/712564874098917376
* hostip6: Fixed compilation warnings when verbose strings disabledSteve Holme2016-03-221-6/+8
| | | | | | warning C4189: 'data': local variable is initialized but not referenced ...and some minor formatting/spacing changes.
* connect/ntlm/http: Fixed compilation warnings when verbose strings disabledSteve Holme2016-03-203-5/+17
| | | | warning C4189: 'data': local variable is initialized but not referenced
* openssl: Fixed compilation warning when /Wall enabledSteve Holme2016-03-201-1/+2
| | | | warning C4706: assignment within conditional expression
* inet_pton.c: Fixed compilation warningsSteve Holme2016-03-201-2/+2
| | | | warning: conversion to 'unsigned char' from 'int' may alter its value
* mbedtls: fix compiler warningDaniel Stenberg2016-03-191-0/+1
| | | | | vtls/mbedtls.h:67:36: warning: implicit declaration of function ‘mbedtls_sha256’ [-Wimplicit-function-declaration]
* easy: Minor coding standard and style updatesSteve Holme2016-03-191-11/+11
| | | | | Following commit c5744340db. Additionally removes the need for a second 'result code' variable as well.
* easy: Remove poll failure check in easy_transferJay Satiro2016-03-191-6/+1
| | | | | | | | .. because curl_multi_wait can no longer signal poll failure. follow-up to 77e1726 Bug: https://github.com/curl/curl/issues/707
* ftp/imap/pop3/smtp: Fixed compilation warning when /Wall enabledSteve Holme2016-03-195-14/+18
| | | | warning C4706: assignment within conditional expression
* config-w32.h: Fixed compilation warning when /Wall enabledSteve Holme2016-03-191-2/+2
| | | | | warning C4668: 'USE_IPV6' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
* imap.c: Fixed compilation warning with /Wall enabledSteve Holme2016-03-191-1/+1
| | | | | | | | | warning C4701: potentially uninitialized local variable 'size' used Technically this can't happen, as the usage of 'size' is protected by 'if(parsed)' and 'parsed' is only set after 'size' has been parsed. Anyway, lets keep the compiler happy.
* formdata.c: Fixed compilation warningSteve Holme2016-03-181-1/+1
| | | | | | | | | | | | | | | formdata.c:390: warning: cast from pointer to integer of different size Introduced in commit ca5f9341ef this happens because a char*, which is 32-bits wide in 32-bit land, is being cast to a curl_off_t which is 64-bits wide where 64-bit integers are supported by the compiler. This doesn't happen in 64-bit land as a pointer is the same size as a curl_off_t. This fix doesn't address the fact that a 64-bit value cannot be used for CURLFORM_CONTENTLEN when set in a form array and compiled on a 32-bit platforms, it does at least suppress the compilation warning.
* openssl: adapt to API breakage in ERR_remove_thread_state()Gisle Vanem2016-03-171-1/+7
| | | | | | | The OpenSSL API change that broke this is "Convert ERR_STATE to new multi-threading API": openssl commit 8509dcc. Closes #713
* version: init moved to private name space, added protosDaniel Stenberg2016-03-172-4/+6
| | | | follow-up to 80015cdd52145
* openssl: verbose: show matching SAN patternDaniel Stenberg2016-03-171-27/+30
| | | | | | | | ... to allow users to see which specfic wildcard that matched when such is used. Also minor logic cleanup to simplify the code, and I removed all tabs from verbose strings.
* version: thread safetyJay Satiro2016-03-162-2/+26
|
* transfer: Removed redundant HTTP authentication include filesSteve Holme2016-03-161-5/+1
| | | | | It would also seem that share.h is not required here either as there are no references to the Curl_share structure or functions.
* easy: Removed redundant HTTP authentication include filesSteve Holme2016-03-161-1/+0
|
* curl_sasl: Minor code indent fixesSteve Holme2016-03-151-58/+58
|
* easy: add check to malloc() when running event-basedDaniel Stenberg2016-03-141-9/+13
| | | | ... to allow torture tests then too.
* memdebug: skip logging the limit countdown, fflush when reachedDaniel Stenberg2016-03-141-5/+2
|
* curl_sasl.c: minor code indent fixesDaniel Stenberg2016-03-141-29/+29
|
* multi: simplified singlesocketDaniel Stenberg2016-03-141-49/+40
| | | | | Since sh_getentry() now checks for invalid sockets itself and by narrowing the scope of the remove_sock_from_hash variable.
* multi: introduce sh_getentry() for looking up sockets in the sockhashDaniel Stenberg2016-03-141-22/+20
| | | | | | | Simplify the code by using a single entry that looks for a socket in the socket hash. As indicated in #712, the code looked for CURL_SOCKET_BAD at some point and that is ineffective/wrong and this makes it easier to avoid that.
* multi hash: ensure modulo performed on curl_socket_tJaime Fullaondo2016-03-141-3/+3
| | | | Closes #712
* base64: Minor coding standard and style updatesSteve Holme2016-03-131-6/+12
|
* base64: Use 'CURLcode result' for curl result codesSteve Holme2016-03-131-5/+5
|
* negotiate: Use 'CURLcode result' for curl result codesSteve Holme2016-03-131-7/+9
|
* multi_runsingle: avoid loop in CURLM_STATE_WAITPROXYCONNECTMaksim Kuzevanov2016-03-131-2/+4
| | | | Closes #703
* digest: Use boolean based success code for Curl_sasl_digest_get_pair()Steve Holme2016-03-123-15/+14
| | | | | Rather than use a 0 and 1 integer base result code use a TRUE / FALSE based success code.
* digest: Corrected some typos in commentsSteve Holme2016-03-121-9/+9
|
* krb5: Corrected some typos in function descriptionsSteve Holme2016-03-122-10/+10
|
* ntlm: Corrected some typos in function descriptionsSteve Holme2016-03-123-16/+16
|
* url: Corrected indentation when calling idna_to_ascii_lz()Steve Holme2016-03-111-23/+19
|
* idn_win32: Use boolean based success codesSteve Holme2016-03-112-16/+19
| | | | | Rather than use 0 and 1 integer base result codes use a FALSE / TRUE based success code.
* idn_win32.c: warning: Trailing whitespaceDaniel Stenberg2016-03-101-1/+1
|
* idn_win32.c: Fixed compilation warning from commit 9e7fcd4291Steve Holme2016-03-101-4/+7
| | | | | warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
* ftp: remove a check for NULL(!)Daniel Stenberg2016-03-101-6/+7
| | | | | | ... as it implies we need to check for that on all the other variable references as well (as Coverity otherwise warns us for missing NULL checks), and we're alredy making sure that the pointer is never NULL.