aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2011-04-27checksrc: exit error code if warnings or errorsDaniel Stenberg
2011-04-27SSH: move knownhost logic to separate functionDaniel Stenberg
2011-04-27source cleanup: unify look, style and indent levelsDaniel Stenberg
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
2011-04-27Windows native IDN fixes.Guenter Knauf
For now provide prototypes instead of including the non-standard normalisation.h which is only available in the "Internationalized Domain Names Mitigation APIs" download.
2011-04-25Fixed compiler warning in Windows SSPI caseDan Fandrich
2011-04-25Fixed compilation when the synchronous resolver is usedDan Fandrich
2011-04-25Added new resolver sources to Symbian and VC6 build filesDan Fandrich
2011-04-25hostip: comment fixed to state current situationDaniel Stenberg
2011-04-25async resolvers: further cleanupsDaniel Stenberg
asyn-ares.c and asyn-thread.c are two separate backends that implement the same (internal) async resolver API for libcurl to use. Backend is specified at build time. The internal resolver API is defined in asyn.h for asynch resolvers.
2011-04-25asynch resolvers: cleanupDaniel Stenberg
Fixed indents, coding conventions and white space edits. Modified the c-ares completion callback function to again NOT read the conn data when the ares handle is being taken down as then it may have been freed already.
2011-04-25asynch resolvers: unifiedVsevolod Novikov
Introducing an internal API for handling of different async resolver backends.
2011-04-24Enabled OpenWatcom native Windows IDN build.Guenter Knauf
For now we directly import the Idn* symbols with the linker; an upcoming release of OWC will have these added to the import lib normaliz.lib, and prototypes are added to winnnls.h.
2011-04-22NTLM: work with unicodeDaniel Stenberg
Rewritten code from a patch brought by Matteo Rocco.
2011-04-21Include unistd.h to declare close()Dan Fandrich
2011-04-21In lib/, change 'wanna' to 'want to'.Fabian Keil
Found with codespell.
2011-04-21Fix a couple of spelling errors in lib/Fabian Keil
Found with codespell.
2011-04-21transfer.c: Fixed indentation in readwrite_data.Julien Chaffraix
2011-04-20SFTP: close file before postquoteDaniel Stenberg
Make sure that files are closed before the post quote commands run as if they operate on the just transferred file they could otherwise easily fail. Patch by: Rajesh Naganathan (edited)