aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-09-20Armel Asselin fixed problems when you gave a proxy URL with user name andDaniel Stenberg
empty password or no password at all. Test case 278 and 279 were added to verify.
2006-09-20Michael Wallner's test program again help me track down a problem. This timeDaniel Stenberg
it basically was that we didn't remove the current connection from the pipe list when following a redirect. Also in this commit: several cases of additional debug code for debug builds helping to check and track down some signs of run-time trouble.
2006-09-16Resize the connection cache upwards when adding more handles than whatDaniel Stenberg
currently fits in the cache, to make the cache work better especially for pipelining cases but also for "mere" (persistent) connection re-use.
2006-09-16Armel Asselin - When the easy handle is removed from the multi while libcurlDaniel Stenberg
is still trying to resolve the host name, it seems that the ftp struct is not yet initialized, but the removal action calls Curl_done() which calls Curl_ftp_done. So we simply return success from there if no ftp pointer is set.
2006-09-15file-local function should be static and not use Curl_ prefix!Daniel Stenberg
Curl_signalPipeClose is now signalPipeClose().
2006-09-13Compiler warning fixYang Tse
2006-09-12Compiler warning fixYang Tse
2006-09-11If the current connection doesn't fit to get added to the connection cache,Daniel Stenberg
we certainly MUST NOT kill an active connection... Problem tracked down thanks to Michael Wallner's excellent test program.
2006-09-11- Fixed my breakage from earlier today so that doing curl_easy_cleanup() on aDaniel Stenberg
handle that is part of a multi handle first removes the handle from the stack. - Added CURLOPT_SSL_SESSIONID_CACHE and --no-sessionid to disable SSL session-ID re-use on demand since there obviously are broken servers out there that misbehave with session-IDs used.
2006-09-11stupid mistake rectified by Jeff PohlmeyerDaniel Stenberg
2006-09-10Compiler warning fixYang Tse
2006-09-10Compiler warning fixYang Tse
2006-09-10 Jeff Pohlmeyer presented a *multi_socket()-using program that exposed aDaniel Stenberg
problem with it (SIGSEGV-style). It clearly showed that the existing socket-state and state-difference function wasn't good enough so I rewrote it and could then re-run Jeff's program without any crash. The previous version clearly could miss to tell the application when a handle changed from using one socket to using another. While I was at it (as I could use this as a means to track this problem down), I've now added a 'magic' number to the easy handle struct that is inited at curl_easy_init() time and cleared at curl_easy_cleanup() time that we can use internally to detect that an easy handle seems to be fine, or at least not closed or freed (freeing in debug builds fill the area with 0x13 bytes but in normal builds we can of course not assume any particular data in the freed areas).
2006-09-10Added a useful debug function within #if 0. The function makes it easy toDaniel Stenberg
"dump" a hash table which is useful when tracking problems with data stored in one of our hashes.
2006-09-09SIGALARM -> SIGALRM.Gisle Vanem
2006-09-09#ifdef around alarmfunc() to supress warning.Gisle Vanem
2006-09-09iconv-data needs to be fully reallocated (to prevent a double-free).Gisle Vanem
2006-09-09Duplicate iconv-data too in curl_easy_duphandle().Gisle Vanem
2006-09-09Compiler warning fixYang Tse
2006-09-09Michele Bini fixed how the hostname is put in NTLM packages. As serversDaniel Stenberg
don't expect fully qualified names we need to cut them off at the first dot.
2006-09-09tab => spaceDaniel Stenberg
2006-09-08Peter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. SomeDaniel Stenberg
of them can be completetly removed though...
2006-09-08signal() returns 'void (*)(int)'.Gisle Vanem
2006-09-08Update comment reflecting structure change.Gisle Vanem
2006-09-08Compilation fix; 'reqdata' is not a pointer. 'path' is part of SessionHandle.Gisle Vanem
2006-09-08Compilation fixYang Tse
2006-09-07Major overhaul introducing http pipelining support and shared connectionDaniel Stenberg
cache within the multi handle.
2006-09-07Fix compiler warningYang Tse
2006-09-04Jari Sundell's minor cleanup, added comments and some extra error-checkingsDaniel Stenberg
for easier future error-tracking.
2006-09-03- "Dortik" (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a patch thatDaniel Stenberg
while not fixing things very nicely, it does make the SOCKS5 proxy connection slightly better as it now acknowledges the timeout for connection and it no longer segfaults in the case when SOCKS requires authentication and you did not specify username:password.
2006-09-03Simplified #ifdef on WIN32; the statementGisle Vanem
" !defined(__GNUC__) || defined(__MINGW32__)" implies CygWin.
2006-08-31Dmitriy Sergeyev found and fixed a multi interface flaw when using asynchDaniel Stenberg
name resolves. It could get stuck in the wrong state.
2006-08-30Added HAVE_SYS_TIME_H for djgpp and HighC.Gisle Vanem
2006-08-30Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.Gisle Vanem
2006-08-29Avoid Metaware's High-C warning "'=' encountered where '==' may have been ↵Gisle Vanem
intended."
2006-08-29Watcom lacks <sys/time.h>.Gisle Vanem
2006-08-29Added support for Watcom/DOS.Gisle Vanem
2006-08-29Updated dependency section.Gisle Vanem
2006-08-29Don't include zlib headers in dependency output.Gisle Vanem
2006-08-29Renamed config.dj -> config.dos.Gisle Vanem
2006-08-29Use config.dos instead. Updated generated dependencies.Gisle Vanem
2006-08-29Removed. New file is config.dos.Gisle Vanem
2006-08-29Renamed config.dj -> config.dos. Added #ifdef-section for djgpp.Gisle Vanem
2006-08-29BUFSIZE defined in Metaware's <stdio.h>. Undefine to avoid warning.Gisle Vanem
2006-08-29Support other MS-DOS compilers (MSDOS is a djgpp built-in define).Gisle Vanem
2006-08-29David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA toDaniel Stenberg
allow applications to set their own socket options.
2006-08-25Armel Asselin reported that the 'running_handles' counter wasn't updatedDaniel Stenberg
properly if you removed a "live" handle from a multi handle with curl_multi_remove_handle().
2006-08-22David McCreedy fixed a remaining mistake from the August 19 TYPE change.Daniel Stenberg
2006-08-22Peter Sylvester pointed out a flaw in the AllowServerConnect() in the FTPDaniel Stenberg
code when doing pure ipv6 EPRT connections.
2006-08-21Workaround for Cray UNICOS 9.0 to fix ftp.Dan Fandrich