aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-08-10some minor Makefile fixes for SSL.Gunter Knauf
2005-08-09Christopher R. Palmer fixed the offsets used for date parsings when the timeDaniel Stenberg
zone name of a daylight savings time was used. For example, PDT vs PDS. This flaw was introduced with the new date parser (11 sep 2004 - 7.12.2). Fortunately, no web server or cookie string etc should be using such time zone names thus limiting the effect of this bug.
2005-08-07Jon Grubbs filed bug report #1249962 which identified a problem with NTLM on aDaniel Stenberg
HTTP proxy if an FTP URL was given. libcurl now properly switches to pure HTTP internally when an HTTP proxy is used, even for FTP URLs. The problem would also occur with other multi-pass auth methods.
2005-08-07Don't prevent FTPS:// through a http proxy, as we cannot know if it works orDaniel Stenberg
not!
2005-07-28reset the numcookies counter too (I missed it in the previous commit)Daniel Stenberg
2005-07-28now strdups the cookielist inpointer before passed on, as the cookie functionDaniel Stenberg
modifies it
2005-07-28curl standard indent/formatDaniel Stenberg
2005-07-27If any of the options CURLOPT_HTTPGET, CURLOPT_POST and CURLOPT_HTTPPOST isDaniel Stenberg
set to 1, CURLOPT_NOBODY will now automatically be set to 0.
2005-07-27Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is aDaniel Stenberg
simple interface to extracting and setting cookies in libcurl's internal "cookie jar". See the new cookie_interface.c example code.
2005-07-27disabling HTTP should also nullify this function callDaniel Stenberg
2005-07-21Fixed some typos in output messages.Dan Fandrich
2005-07-17Simplified the code within curl_easy_perform() that calls Curl_perform().Daniel Stenberg
Pointed out by Bjorn Reese.
2005-07-13Diego Casorran patches to make (lib)curl build fine on Amiga againDaniel Stenberg
2005-07-12Adrian Schuur added trailer support in the chunked encoding stream. TheDaniel Stenberg
trailer is then sent to the normal header callback/stream.
2005-07-05correction for the 407 with response-body caseDaniel Stenberg
2005-07-05Update copyright.Gisle Vanem
2005-07-05Gisle Vanem came up with a nice little work-around for bug #1230118. ItDaniel Stenberg
seems the Windows (MSVC) libc time functions may return data one hour off if TZ is not set and automatic DST adjustment is enabled. This made curl_getdate() return wrong value, and it also concerned internal cookie expirations etc.
2005-07-03Andrew Bushnell provided enough info for me to tell that we badly needed toDaniel Stenberg
fix the CONNECT authentication code with multi-pass auth methods (such as NTLM) as it didn't previously properly ignore response-bodies - in fact it stopped reading after all response headers had been received. This could lead to libcurl sending the next request and reading the body from the first request as response to the second request. (I also renamed the function, which wasn't strictly necessary but...) The best fix would to once and for all make the CONNECT code use the ordinary request sending/receiving code, treating it as any ordinary request instead of the special-purpose function we have now. It should make it better for multi-interface too. And possibly lead to less code... Added test case 265 for this. It doesn't work as a _really_ good test case since the test proxy is too stupid, but the test case helps when running the debugger to verify.
2005-06-30use %p to printf pointers since %x doesn't work properly on tru64 for thisDaniel Stenberg
(and besides, we should be using the same %-code for all pointers)
2005-06-30enable memory debugging on tru64 with ipv6 support by doing a little differentDaniel Stenberg
defining, since the system headers themselves redefine getaddrinfo
2005-06-22David Shaw's fix that unifies proxy string treatment so that a proxy givenDaniel Stenberg
with CURLOPT_PROXY can use a http:// prefix and user + password. The user and password fields are now also URL decoded properly. Test case 264 added to verify.
2005-06-14Ensure thread handle is closed too.Gisle Vanem
2005-05-31Todd Kulesza reported a flaw in the proxy option, since a numerical IPv6Daniel Stenberg
address was not possible to use. It is now, but requires it written RFC2732-style, within brackets - which incidently is how you enter numerical IPv6 addresses in URLs. Test case 263 added to verify.
2005-05-29Eric Cooper reported about a problem with HTTP servers that responds withDaniel Stenberg
binary zeroes within the headers. They confused libcurl to do wrong so the downloaded headers become incomplete. The fix is now verified with test case 262.
2005-05-27avoid the sensitive word as it looks bad in some people's eyesDaniel Stenberg
2005-05-26provide the proper copyright texts for theseDaniel Stenberg
2005-05-24Now allow TYPE responses to be any 2xx code, and log if it isn't 200.Daniel Stenberg
2005-05-19additional fix for the malformed URL fix of ydayDaniel Stenberg
2005-05-18Bug report #1204435 identified a problem with malformed URLs likeDaniel Stenberg
"http://somehost?data" as it added a slash too much in the request ("GET /?data/"...). Added test case 260 to verify.
2005-05-18The configure check for strerror_r() failed to detect the proper API atDaniel Stenberg
times, like on my HP-UX 10.20 tests. And then lib/strerror.c badly assumed the glibc version if the posix define wasn't set (since it _had_ found a strerror_r).
2005-05-17check if getsockname() returns failure before using the address it providesDaniel Stenberg
2005-05-17reduced typecasts, from two to oneDaniel Stenberg
2005-05-14fix warning about redefined symbolDaniel Stenberg
2005-05-14Updated generated dependencies.Gisle Vanem
2005-05-14Some patches for (a stricter/smarter) gcc 4.0 andGisle Vanem
warnings like: 'x' may be used uninitialized in this function.
2005-05-14'ssize_t' seems to be a gcc 4.x built-in.Gisle Vanem
2005-05-14Change for systems with >1 ways of setting (non-)blockingGisle Vanem
mode. (djgpp/Watt-32 has 3 ways). Should rewrite this using "#elif ..", but maybe there is still broken cpp around?
2005-05-12oops, found by bug reported in bug report #1200661Daniel Stenberg
2005-05-12spellDaniel Stenberg
2005-05-12typecast to fix warning on 64bit systemsDaniel Stenberg
2005-05-11Modified the default HTTP headers used by libcurl:Daniel Stenberg
A) Normal non-proxy HTTP: - no more "Pragma: no-cache" (this only makes sense to proxies) B) Non-CONNECT HTTP request over proxy: - "Pragma: no-cache" is used (like before) - "Proxy-Connection: Keep-alive" (for older style 1.0-proxies) C) CONNECT HTTP request over proxy: - "Host: [name]:[port]" - "Proxy-Connection: Keep-alive"
2005-05-10Hm, this doesn't feel right. The error bits returned from Curl_select() canDaniel Stenberg
be returned at times when we want to ignore them. Test case 160 fails on Linux, so I modify the comparison to check for _only_ the error bit set...
2005-05-10me stupid, errno is not set for mere select()-exceptionsDaniel Stenberg
2005-05-10include protos to fix warningsDaniel Stenberg
2005-05-10If Curl_select() returns with the error bit set, bail out.Daniel Stenberg
2005-05-08silence compiler warningsDaniel Stenberg
2005-05-07fix warnings about unused variables for non-debug buildsDaniel Stenberg
2005-05-07fixDaniel Stenberg
2005-05-07DEBUGF() is a new conveniant macro to add infof() calls (or similar) forDaniel Stenberg
debug builds only. Made the ftp code use it on several places.
2005-05-05use calloc instead of malloc to save a call to memset()Daniel Stenberg