aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-12setup_once.h: HP-UX specific TRUE and FALSE definitionsYang Tse
Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
2012-12-12gopher: #include cleanupDaniel Stenberg
Remove all system file includes from this file as they're not needed Reported by: Dan Fandrich
2012-12-11examples/simplessl.c: fix compiler warningYang Tse
2012-12-10examples/externalsocket.c: fix SunPro compilation issueYang Tse
2012-12-10examples/simplessl.c: fix compiler warningYang Tse
2012-12-10build: add bundles and conncache files to other build systemsYang Tse
2012-12-10conncache: fix enumerated type mixed with another typeYang Tse
2012-12-10examples/anyauthput.c: fix Tru64 compilation issueYang Tse
2012-12-08configure: fix cross pkg-config detectionColin Watson
When cross-compiling, CURL_CHECK_PKGCONFIG was checking for the cross pkg-config using ${host}-pkg-config. The gold standard for doing this correctly is pkg-config's own macro, PKG_PROG_PKG_CONFIG. However, on the assumption that you have a good reason not to use that directly (reduced dependencies for maintainer builds?), the behaviour of cURL's version should at least match. PKG_PROG_PKG_CONFIG uses AC_PATH_TOOL, which ultimately ends up trying ${host_alias}-pkg-config; this is not quite the same as what cURL does, and may differ because ${host} has been run through config.sub. For instance, when cross-building to the armhf architecture on Ubuntu, ${host_alias} is arm-linux-gnueabihf while ${host} is arm-unknown-linux-gnueabihf. This may also have been the cause of the problem reported at http://curl.haxx.se/mail/lib-2012-04/0224.html. AC_PATH_TOOL is significantly simpler than cURL's current code, and dates back to well before the current minimum of Autoconf 2.57, so let's use it instead.
2012-12-07Introducing a new persistent connection caching system using "bundles".Linus Nielsen Feltzing
A bundle is a list of all persistent connections to the same host. The connection cache consists of a hash of bundles, with the hostname as the key. The benefits may not be obvious, but they are two: 1) Faster search for connections to reuse, since the hash lookup only finds connections to the host in question. 2) It lays out the groundworks for an upcoming patch, which will introduce multiple HTTP pipelines. This patch also removes the awkward list of "closure handles", which were needed to send QUIT commands to the FTP server when closing a connection. Now we allocate a separate closure handle and use that one to close all connections. This has been tested in a live system for a few weeks, and of course passes the test suite.
2012-12-06runtests and friends: Do not add undefined values to @INCFabian Keil
On FreeBSD this fixes the warning: Use of uninitialized value $p in string eq at /usr/local/lib/perl5/5.14.2/BSDPAN/BSDPAN.pm line 36.
2012-12-05Merge pull request #52 from isn-/masterSteve Holme
small compilation fix
2012-12-05build: fix compilation with CURL_DISABLE_CRYPTO_AUTH flagStanislav Ivochkin
2012-12-05libtest: fix some compiler warningsYang Tse
2012-12-05examples: fix compilation issues - commit 7332a7cafb follow-upYang Tse
2012-12-05examples: fix compilation issues - commit 23f8dca6fb follow-upYang Tse
2012-12-05examples: fix compilation issuesYang Tse
2012-12-04build: explain current role of LIBS in our Makefile.am filesYang Tse
BLANK_AT_MAKETIME may be used in our Makefile.am files to blank LIBS variable used in generated makefile at makefile processing time. Doing this functionally prevents LIBS from being used for all link targets in given makefile.
2012-12-04multi: fix re-sending request on early connection closeDaniel Stenberg
This handling already works with the easy-interface code. When a request is sent on a re-used connection that gets closed by the server at the same time as the request is sent, the situation may occur so that we can send the request and we discover the broken connection as a RECV_ERROR in the PERFORM state and then the request needs to be retried on a fresh connection. Test 64 broke with 'multi-always-internally'.
2012-12-04configure: add minimal sanity check on user provided LIBS and LDFLAGSYang Tse
2012-12-03build: prevent global LIBS from influencing src and lib build targetsYang Tse
Currently, LIBS is already used through other macros.
2012-12-03nss: prevent NSS from crashing on client auth hook failureKamil Dudka
Although it is not explicitly stated in the documentation, NSS uses *pRetCert and *pRetKey even if the client authentication hook returns a failure. Namely, if we destroy *pRetCert without clearing *pRetCert afterwards, NSS destroys the certificate once again, which causes a double free. Reported by: Bob Relyea
2012-11-30testcurl.pl: build example programs for several autobuildsYang Tse
Affected autobuilds: IRIX, AIX, Tru64 and AIX.
2012-11-30build: prevent global LIBS from influencing examples build targetsYang Tse
2012-11-30build: prevent global LIBS from influencing libtest build targetsYang Tse
2012-11-29build: prevent global LIBS from influencing test server build targetsYang Tse
2012-11-28build: fix Windows build targets damaged since commit 550e403f00Yang Tse
2012-11-28build: avoid linkage of directly unused librariesYang Tse
2012-11-27dd missing NTLM feature for tests 2025, and 2028 to 2032Yang Tse
2012-11-26avoid mixing of enumerated type with another typeYang Tse
2012-11-26multi.c: disambiguate precedence of bitwise and relational operationYang Tse
2012-11-26Remove stray CRLF in chunk-encoded content-free request bodiesFabian Keil
.. that are sent when auth-negotiating before a chunked upload or when setting the 'Transfer-Encoding: chunked' header and intentionally sending no content. Adjust test565 and test1333 accordingly.
2012-11-25FAQ: clarify the 3.4 sectionDaniel Stenberg
You can do custom commands to FTP without sending anything by using the CURLOPT_NOBODY, which -I sets.
2012-11-25examples: Updated asiohiper.cpp to remove connect from opensocketLijo Antony
Blocking connect on the socket has been removed from opensocket callback. opensocket just opens a new socket and gives it back to libcurl and libcurl will take care of the connect. sockopt_callback has also been removed, as it is no longer required.
2012-11-23build: fix AIX compilation and usageYang Tse
AIX sys/poll.h header file defines 'events' and 'revents' as C preprocessor macros. Usage of these literals in libcurl's external API was introduced in commit de24d7bd4c causing AIX build failures. Appropriate inclusion of sys/poll.h by libcurl's external interface fixes AIX build and usage issues while avoiding a SONAME bump.
2012-11-23DOCS: Updated CURLOPT_CONNECT_ONLY to reflect usage in other protocolsSteve Holme
2012-11-23test: offer "automake" output and check for perl betterDaniel Stenberg
runtests.pl -am now uses the "PASS/FAIL: [desc]" output for each executed test. You can run 'make test-am' in the root build directory to invoke that. The reason for this output style is to better allow generic test suite parsers to also grok our test output. The test Makefile now also tests that perl was indeed found and that the PERL variable points to an executable before it tries to run the main test perl script runtests.pl,
2012-11-21Test 206: Use a Content-Length header for the 407 responseFabian Keil
Otherwise curl would have to guess where the body ends.
2012-11-21Test 206: Don't respond to a succesful CONNECT request with a bodyFabian Keil
It's against the spec and caused test failures when header and response were read from the network separately in which case bug #39 wasn't triggered.
2012-11-21htmltitle: use .cpp extension for C++ examplesDaniel Stenberg
2012-11-21examples: Added a c++ example of using multi with boost::asioLijo Antony
Added an example for demonstrating the usage of curl multi interface with boost::asio in c++
2012-11-21VC Makefiles: add missing hostcheckDaniel Stenberg
the newly introduced hostcheck.h/c is missing in the Visual Studio Makefiles as obj file. Bug: http://curl.haxx.se/mail/lib-2012-11/0176.html
2012-11-20compiler warning fixesDaniel Stenberg
The conversions from ssize_t to int need to be typecasted.
2012-11-20bump: start working on 7.28.2Daniel Stenberg
2012-11-20THANKS: added 14 contributors from the 7.28.1 releaseDaniel Stenberg
2012-11-20RELEASE-NOTES: synced with 52af6e69f079 / 7.28.1Daniel Stenberg
2012-11-20RELEASE-NOTES: NSS can be used for metalink hashingAnthony Bryan
2012-11-19Get test 2032 working when using valgrindFabian Keil
If curl_multi_fdset() sets maxfd to -1, the socket detection loop is skipped and thus !found_new_socket is no cause for alarm.
2012-11-19test2032: spurious failure caused by premature terminationKamil Dudka
Bug: http://curl.haxx.se/mail/lib-2012-11/0095.html
2012-11-19Fix comment typos in test 517Fabian Keil