aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-27tiny indent fixDaniel Stenberg
2009-09-27- I introduced a maximum limit for received HTTP headers. It is controlled byDaniel Stenberg
the define CURL_MAX_HTTP_HEADER which is even exposed in the public header file to allow for users to fairly easy rebuild libcurl with a modified limit. The rationale for a fixed limit is that libcurl is realloc()ing a buffer to be able to put a full header into it, so that it can call the header callback with the entire header, but that also risk getting it into trouble if a server by mistake or willingly sends a header that is more or less without an end. The limit is set to 100K.
2009-09-27unify two very similar code sections into one single function, header_append()Daniel Stenberg
2009-09-26- John P. McCaskey posted a bug report that showed how libcurl did wrong whenDaniel Stenberg
saving received cookies with no given path, if the path in the request had a query part. That is means a question mark (?) and characters on the right side of that. I wrote test case 1105 and fixed this problem.
2009-09-26added test 1105 (disabled) - it repeats a cookie path bug we need to fixDaniel Stenberg
2009-09-26- Implemented a protocol independent way to specify blocking direction, used byKamil Dudka
transfer.c for blocking. It is currently used only by SCP and SFTP protocols. This enhancement resolves an issue with 100% CPU usage during SFTP upload, reported by Vourhey.
2009-09-25minor whitespace editDaniel Stenberg
2009-09-25- Chris Mumford filed bug report #2861587Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used the OpenSSL function X509_load_crl_file() wrongly and failed if it would load a CRL file with more than one certificate within. This is now fixed.
2009-09-25Changed the default OpenSSL include pathDan Fandrich
2009-09-25fix compiler warning: end-of-loop code not reachedYang Tse
2009-09-24fix compiler warning: variable "sni" was set but never usedYang Tse
2009-09-24revert HPUX change since it already works fineDaniel Stenberg
2009-09-23builds thread-safer on HPUXDaniel Stenberg
2009-09-23- HPUX does need _REENTRANT too to build really thread-safe.Daniel Stenberg
2009-09-21added section for libcurl builds with NSS SSL support.Gunter Knauf
2009-09-21added support for new SQLite cert database format: added a runtime check for ↵Gunter Knauf
version 3.12.0, and depending on the result add 'sql:' prefix to cert database directory so that newer SQLIte database format works.
2009-09-21added aditional check for the directory specified with SSL_DIR, and fall ↵Gunter Knauf
back to hardcoded directory if not a valid directory.
2009-09-18fix compiler warning: comparison between signed and unsignedYang Tse
2009-09-17added three missing files to the dist archiveDaniel Stenberg
2009-09-17fix compiler warning: enumerated type mixed with another typeYang Tse
2009-09-17Attempt to silence bogus compiler warning: "Potential null pointer dereference"Yang Tse
2009-09-17fix compiler warning: conversion to 'size_t' from 'curl_off_t' may alter its ↵Yang Tse
value
2009-09-17Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.hYang Tse
into curl_rand.c and curl_rand.h
2009-09-17remove line obsoleted with previous commitYang Tse
2009-09-17Attempt to silence bogus compiler warning: "Potential null pointer dereference"Yang Tse
2009-09-16- Sven Anders reported that we introduced a cert verfication flaw for OpenSSL-Daniel Stenberg
powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name field in the certficate it had to match and so even if non-DNS and non-IP entry was present it caused the verification to fail.
2009-09-16Attempt to silence bogus compiler warning: "Potential null pointer ↵Yang Tse
dereference through ptr is detected"
2009-09-16Attempt to silence bogus compiler warning: "Potential null pointer ↵Yang Tse
dereference through ptr is detected"
2009-09-16Moved the libssh2 checks after the SSL library checks. This helps whenDan Fandrich
statically linking since libssh2 needs the SSL library link flags to be set up already to satisfy its dependencies. This wouldn't be necessary if the libssh2 configure check was changed to use pkg-config since the --static flag would add the dependencies automatically.
2009-09-15Provide instructions on creating curl_config.hDan Fandrich
2009-09-15mention last changesYang Tse
2009-09-15Some systems poll function sets POLLHUP in revents without settingYang Tse
POLLIN, and sets POLLERR without setting POLLIN and POLLOUT. In some libcurl code execution paths this could trigger busy wait loops with high CPU usage until a timeout condition aborted the loop. This fix for Curl_poll adresses the above in a libcurl-wide mode.
2009-09-15Revert Joshua Kwan's patch committed 11 Sep 2009.Yang Tse
Some systems poll function sets POLLHUP in revents without setting POLLIN, and sets POLLERR without setting POLLIN and POLLOUT. In some libcurl code execution paths this could trigger busy wait loops with high CPU usage until a timeout condition aborted the loop. The reverted patch addressed the above issue for a very specific case, when awaiting c-ares to resolve. A libcurl-wide fix superceeds this one. http://cool.haxx.se/cvs.cgi/curl/lib/select.c.diff?r1=1.52&r2=1.53
2009-09-14Added HTTP proxy keywordDan Fandrich
2009-09-14ignore more filesYang Tse
2009-09-11Renumbered test565 to test1104 to move it out of the range reserved forDan Fandrich
libcurl tests.
2009-09-11point to the current functions, not the deprecated onesDaniel Stenberg
2009-09-11 Joshua Kwan provided a patch to pass POLLERR / POLLHUP back to c-ares.Gunter Knauf
This fixes a loop problem with high CPU usage.
2009-09-10- Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epochDaniel Stenberg
start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0 which internally then is treated as a session cookie. That particular date is now made to get the value of 1.
2009-09-10use stderr for error output.Gunter Knauf
2009-09-10fixed spelling.Gunter Knauf
2009-09-08added debug output for NSS certpath.Gunter Knauf
2009-09-07changed NetWare makefiles to rely on SHELL rather than OSTYPE since we can ↵Gunter Knauf
have a sh-like shell also on Windows (MSYS, Cygwin).
2009-09-07Suppress warnings about unused prototypes in Watt32 and Win32 programs.Gisle Vanem
2009-09-07Update email address.Gisle Vanem
2009-09-07Update my email address. Add ares_config.h as dependency for 'make depend'.Gisle Vanem
2009-09-06T_SRV portability checkYang Tse
2009-09-06added casts to silent compiler warning on 64bit systems.Gunter Knauf
2009-09-06use our define struct_stat to be compatible with largefile support.Gunter Knauf
2009-09-06added base64.h include to silent warnings about missing prototype for ↵Gunter Knauf
ATOB_ConvertAsciiToItem.