aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-05-24build: inclusion guardYang Tse
Enclose header file in an inclusion guard
2011-05-24compiler warning: fixYang Tse
Fix compiler warning: expression has no effect
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: `keycheck' might be used uninitialized in this function. Fix compiler warning: `keybit' might be used uninitialized in this function.
2011-05-23compiler warning: fixYang Tse
Fix variable declaration placement
2011-05-23compiler warning: fixYang Tse
Fix missing semicolon
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: expression has no effect Fix OOM handling
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: expression has no effect
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: unused variable 'data'
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: enumerated type mixed with another type
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: enumerated type mixed with another type
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: enumerated type mixed with another type
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: enumerated type mixed with another type
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: empty body in an if-statement
2011-05-20cyassl: build without filesystemOla Mork
Get cyassl's NO_FILESYSTEM to work with libcurl. Otherwise I'd get linker errors for the missing "SSL_CTX_load_verify_locations" functions.
2011-05-19version: linkage fixYang Tse
Fix linkage on c-ares enabled Windows static builds
2011-05-18CLOSESOCKETFUNCTION: use the callbackDaniel Stenberg
Fix the return type of the callback to match close() and make use of it.
2011-05-18CLOSESOCKETFUNCTION: addedDaniel Stenberg
Introduced the initial setup to allow closesocket callbacks by making sure sclose() is only ever called from one place in the libcurl source and still run all test cases fine.
2011-05-18GnuTLS handshake: fix timeoutDaniel Stenberg
Commit cbf4961bf3e garbled the timeout handling while doing SSL handshaking (in an attempt at fixing another bug). This puts sanity back. Bug: http://curl.haxx.se/mail/lib-2011-05/0167.html Reported by: Ethan Glasser Camp
2011-05-16checksrc: trailing whitespace detection fixDaniel Stenberg
2011-05-16negotiate sspi: fix sequential requestsMarcel Roelofs
2011-05-06Fixed compilation when RTSP is disabledDan Fandrich
2011-05-06Fixed LDAP after RTSP readwrite changeDan Fandrich
2011-05-05set_userpass: convert from protocol-specific to genericDaniel Stenberg
The protocol handler's flags field now can set that the protocol requires a password, so that the set_userpass function doesn't have to have the specific knowledge of which protocols that do.
2011-05-05RTSP: cleanupsDaniel Stenberg
Made several functions static Made one function defined to nothing when RTSP is disabled to avoid the #ifdefs in code. Removed explicit rtsp.h includes
2011-05-05RTSP: convert protocol-specific checks to genericDaniel Stenberg
Add a 'readwrite' function to the protocol handler struct and use that for the extra readwrite functionality RTSP needs.
2011-05-05SSL: check for SSL, not specific protocolsDaniel Stenberg
Code cleanup to check less for protocols and more for the specific relevant feature. Like if SSL is required.
2011-05-05http_perhapsrewind: remove HTTP checkDaniel Stenberg
No need to check for HTTP as this is now a HTTP-specific function
2011-05-05http_perhapsrewind:Daniel Stenberg
make it static, remove Curl_ prefix
2011-05-05remove FILE protocol-specific checksDaniel Stenberg
Also, convert the BANPROXY flag into NONETWORK for the protocols (file:// only atm) that don't work over networks.
2011-05-05socks proxy: allow socks5h:// prefix tooDaniel Stenberg
Using 'socks5h' as proxy protocol will make it a CURLPROXY_SOCKS5_HOSTNAME proxy which is SOCKS5 and asking the proxy to resolve host names. I found no "standard" protocol name for this.
2011-05-05Corrected commentsDaniel Stenberg
closepolicy has been deprecated and unused for years
2011-05-04ConnectionStore: remove unused return codeDaniel Stenberg
2011-05-04indent correctlyDaniel Stenberg
2011-05-01SSH: set non-blocking earlierDaniel Stenberg
Introduce an INIT state for the SSH state machine and set libssh2 non-blocking in that so that it is set properly before libssh2_session_startup() is called. Bug: http://curl.haxx.se/mail/archive-2011-05/0001.html
2011-04-29ConnectionExists: avoid NULL dereferenceDaniel Stenberg
When checking for connections that are bound to a particular device we must make sure we don't compare with a NULL pointer.
2011-04-29resolver_error: remove bad semicolonDaniel Stenberg
2011-04-28gai_strerror: provide private implementationDaniel Stenberg
There are systems (like NetWare) without its own gai_strerror() function.
2011-04-28treaded-resolver: better error messagesDaniel Stenberg
Now use gai_strerror() to get proper error messages when getaddrinfo() has failed. Detect the function in configure. Code based on work and suggestions by Jeff Pohlmeyer and Guenter Knauf
2011-04-28proxy: allow socks:// prefix in proxy stringDaniel Stenberg
Inspired by a patch from OB.Conseil. Added test case 708 to verify.
2011-04-28CMake: improve library search, implement install.Zmey Petroff
Improved library search by check_function_exists_concat() macro: it does not revert the list of libraries any more. Improved OpenSSL library search: first find zlib, then search for openssl libraries that may depend on zlib. For Unix: openssl libraries can now be detected in nonstandard locations. Supply CMAKE_LIBRARY_PATH to CMake on command line. Added installation capability (very basic one yet).
2011-04-28multi-socks: fix connect to proxyDaniel Stenberg
When connecting to a socks or similar proxy we do the proxy handshake at once when we know the TCP connect is completed and we only consider the "connection" complete after the proxy handshake. This fixes test 564 which is now no longer considered disabled. Reported by: Dmitri Shubin Bug: http://curl.haxx.se/mail/lib-2011-04/0127.html
2011-04-28cleanup: remove old unused debug codeDaniel Stenberg
2011-04-27Make checksrc.pl work on out-of-tree buildsDan Fandrich
Source files given with absolute paths do not have the -D directory specifier prepended.
2011-04-27make: add checksrc.pl to distDaniel Stenberg
2011-04-27make: add 'checksrc' as target to check code styleDaniel Stenberg
The make target checksrc now works in the root makefile and in both the src and lib directories. It is also run automatically on "all" if configure --enable-debug was used.
2011-04-27checksrc: add -W to allow a file to be whitelistedDaniel Stenberg
Useful when a known file just doesn't comply and there's no intention to make it do so.
2011-04-27whitespace cleanup: no space first in conditionalsDaniel Stenberg
"if(a)" is our style, not "if( a )"
2011-04-27lib/make: run checksrc.pl once for all filesDaniel Stenberg
Since it now supports multiple files this will be faster and will show problems for more file than one at a time - more convenient.
2011-04-27checksrc: scan many files, more checksDaniel Stenberg
It now scans multiple files and outputs an error+warning count summary at the end in case at least one was detected. -D can be used to specify in which dir the files are located The script now scans for conditions that starts with a space for if/while/for lines.
2011-04-27Makefile: run checksrc if debug enabledDaniel Stenberg
And make the build fail if a warning or error was detected