aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-09-25- Fixed the HTTP Digest auth code to not behave badly when getting a blank realmDaniel Stenberg
with realm="". http://curl.haxx.se/bug/view.cgi?id=2126435
2008-09-24HAVE_INET_PTON will only be defined when an IPv6 capable workingYang Tse
inet_pton function is available.
2008-09-24configure script now checks availability of the inet_ntop() function,Yang Tse
and when not crosscompiling verifies if it is IPv6 capable. HAVE_INET_NTOP will only be defined when an IPv6 capable working inet_ntop function is available.
2008-09-24Official OpenSSL released versions up to and including 0.9.8i as well asYang Tse
2008-09-24 stable snapshot have a buf_mem_st.length structure member with 'int' data type. OpenSSL un-released 0.9.9 CVS version has a buf_mem_st.length structure member with 'size_t' data type since 2007-Oct-09. These 4 typecasts should silence compiler warnings in all cases.
2008-09-24ntoa() and inet_ntoa_r() no longer usedYang Tse
2008-09-24Make sure not to dereference the wrong UrlState proto union member whenDan Fandrich
switching from one protocol to another in a single request (e.g. redirecting from HTTP to FTP as in test 1055) by resetting state.expect100header before every request.
2008-09-23Remove usage of inet_ntoa and inet_ntoa_rYang Tse
2008-09-23Replace inet_ntoa and inet_ntoa_r with Curl_inet_ntopYang Tse
2008-09-23Avoid 'warning: comparison between signed and unsigned'.Gisle Vanem
2008-09-23- Introducing Jamie Lokier's function for date to epoch conversion used in theDaniel Stenberg
date parser function. This makes our function less dependent on system- provided functions and instead we do all the magic ourselves. We also no longer depend on the TZ environment variable.
2008-09-23- Rob Crittenden brought a patch to "add some locking for thread-safety to NSSDaniel Stenberg
implementation".
2008-09-22- Made the SOCKS code use the new Curl_read_plain() function to fix the bugDaniel Stenberg
Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html - recv() errors other than those equal to EAGAIN now cause proper CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now disabled it until we can figure out another way to exercise that logic.
2008-09-22- Michael Goffioul filed bug report #2107377 "Problem with mutli + GnuTLS +Daniel Stenberg
proxy" (http://curl.haxx.se/bug/view.cgi?id=2107377) that showed how a multi interface using program didn't work when built with GnuTLS and a CONNECT request was done over a proxy (basically test 502 over a proxy to a HTTPS site). It turned out the ssl connect function would get called twice which caused the second call to fail.
2008-09-19HAVE_ALARM definition for static config-*.h filesYang Tse
2008-09-19configure script now checks availability of the alarm() functionYang Tse
2008-09-19Only define alarmfunc when signals are usedDan Fandrich
2008-09-19Don't bother to install a SIGALRM handler unless alarm() is available.Dan Fandrich
Also, leave the existing SIGALRM handler alone if the timeout is too small to handle.
2008-09-18fix compiler warning: external definition with no prior declarationYang Tse
2008-09-18fix compiler warning: external declaration in primary source fileYang Tse
2008-09-16NetWare seems to have writev()Yang Tse
2008-09-16NetWare CLIB target has stricmp() and strnicmp()Yang Tse
2008-09-15Note that the long long issue is fixed in Symbian OS 9.4Dan Fandrich
2008-09-15HAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32Yang Tse
2008-09-15improve detection of:Yang Tse
strcasecmp() strcasestr() strcmpi() stricmp() strlcat() strncasecmp() strncmpi() strnicmp()
2008-09-13fix compiler warning: external declaration in primary source fileYang Tse
2008-09-13fix compiler warning: defined but not usedYang Tse
2008-09-13fix compiler warning: external declaration in primary source fileYang Tse
2008-09-13Disable tracking of fdopen() calls in the low-level memory leak trackingYang Tse
code when fdopen() is not available, to avoid compiler error.
2008-09-13remove dead code portion inoperative long time agoYang Tse
2008-09-13fix compiler warning: enumerated type mixed with another typeYang Tse
2008-09-12ANSI C compatibility adjustmentYang Tse
2008-09-12ensure that errno is not modified inside Curl_strerror()Yang Tse
2008-09-12ANSI C compatibility fixYang Tse
2008-09-10Checked in some code improvements and minor fixes that I discovered in theDan Fandrich
FreeBSD ports system.
2008-09-10fix compiler warningYang Tse
2008-09-10Checked in some grammatical and minor other fixes in the documentation andDan Fandrich
examples that I found in the FreeBSD ports system.
2008-09-09Factored out Curl_isalnumDan Fandrich
2008-09-08fix compiler warningYang Tse
2008-09-08Dmitry Kurochkin fixed pipelining over proxy using the multi interfaceDaniel Stenberg
2008-09-08- Stefan Krause pointed out that libcurl would wrongly send away cookies toDaniel Stenberg
sites in cases where the cookie clearly has a very old expiry date. The condition was simply that libcurl's date parser would fail to convert the date and it would then count as a (timed-based) match. Starting now, a missed date due to an unsupported date format or date range will now cause the cookie to not match.
2008-09-08comment < 80 columnsDaniel Stenberg
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-09-06remove unnecessary typecasting of calloc()Yang Tse
2008-09-06remove unnecessary typecasting of realloc()Yang Tse
2008-09-05Only compile Curl_ssl_free_certinfo when SSL is enabledDan Fandrich
2008-09-05Improved the logic the decides whether to use HTTP 1.1 features or not in aDan Fandrich
request. Detect cases where an upload must be sent chunked and the server supports only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
2008-09-05Use realloc when paused in Curl_client_writeDan Fandrich
2008-09-05- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renamesDaniel Stenberg
CURLOPT_POST301 (but adds a define for backwards compatibility for you who don't define CURL_NO_OLDIES). This option allows you to now also change the libcurl behavior for a HTTP response 302 after a POST to not use GET in the subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the patch somewhat before commit. The curl tool got a matching --post302 option. Test case 1076 was added to verify this.
2008-09-05- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. ByDaniel Stenberg
enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS or FTPS), libcurl will gather lots of server certificate info and that info can then get extracted by a client after the request has completed with curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing helped me test and smoothen out this feature. Unfortunately, this feature currently only works with libcurl built to use OpenSSL. This feature was sponsored by networking4all.com - thanks!
2008-09-05- Dmitriy Sergeyev pointed out that curl_easy_pause() didn't unpause properlyDaniel Stenberg
during certain conditions. I also changed this code to use realloc() based on Daniel Fandrich's suggestion.