aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2005-05-04prevent memory leak when built SSL disabledDaniel Stenberg
2005-05-02improved failf() error messagesDaniel Stenberg
2005-05-02corrected copyright yearDaniel Stenberg
2005-05-02Now configure checks for struct sockaddr_storage and the ftp code triesDaniel Stenberg
to survive without it if not found. AIX 4.3 targetted adjustment.
2005-04-30there cannot be chunked problem when no_body (HEAD) is true since withoutDaniel Stenberg
body there is nothing chunked-encoded!
2005-04-30singleipconnect() returns a socket descriptor, not a CURLcode (but perhapsDaniel Stenberg
we should make it do that...)
2005-04-26Cory Nelson's work on nuking compiler warnings when building on x64 withDaniel Stenberg
VS2005.
2005-04-26Since Windows doesn't have/use the POSIX prototype for send() and recv(), weDaniel Stenberg
typecast the third argument in the macros to avoid compiler warnings.
2005-04-26adding a bunch of comments for each #endifDaniel Stenberg
2005-04-25Fred New reported a bug where we used Basic auth and user name and password inDaniel Stenberg
.netrc, and when following a Location: the subsequent requests didn't properly use the auth as found in the netrc file. Added test case 257 to verify my fix.
2005-04-24Based on feedback from Cory Nelson, I added some preprocessor magic inDaniel Stenberg
*/setup.h and */config-win32.h to build fine with VS2005 on x64.
2005-04-22Dave Dribin: set CURL_STATICLIB when it builds static library variants.Daniel Stenberg
2005-04-22Fixed the CN extractionDaniel Stenberg
2005-04-22modified this yearDaniel Stenberg