aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-15Syncroniszed vclean target; fixed some comments.Guenter Knauf
2010-08-15THANKS: added contributors from 7.21.1Daniel Stenberg
2010-08-15multi: two fixes doneDaniel Stenberg
2010-08-15multi: use timeouts properly for MAX_RECV/SEND_SPEEDDaniel Stenberg
When detecting that the send or recv speed, the multi interface changes state to TOOFAST and previously there was no timeout set that would force a recheck but it would rely on the application to somehow call libcurl anyway. This now sets a timeout for a suitable future time to check again if the average transfer speed is then below the threshold again.
2010-08-15multi: support timeoutsDaniel Stenberg
Curl_expire() is now expanded to hold a list of timeouts for each easy handle. Only the closest in time will be the one used as the primary timeout for the handle and will be used for the splay tree (which sorts and lists all handles within the multi handle). When the main timeout has triggered/expired, the next timeout in time that is kept in the list will be moved to the main timeout position and used as the key to splay with. This way, all timeouts that are set with Curl_expire() internally will end up as a proper timeout. Previously any Curl_expire() that set a _later_ timeout than what was already set was just silently ignored and thus missed. Setting Curl_expire() with timeout 0 (zero) will cancel all previously added timeouts. Corrects known bug #62.
2010-08-15Curl_llist_insert_next: allow insertion first in the listDaniel Stenberg
When we specify the "insert after" entry as NULL, this function now inserts the new entry first in the list.
2010-08-15multi: make curl_multi_info_read perform O(1)Daniel Stenberg
Instead of looping over all attached easy handles, this now keeps a list of messages in the multi handle. It allows curl_multi_info_read() to perform O(1) no matter how many easy handles that are handled. This is of importance since this function may be polled very frequently by apps using the multi interface.
2010-08-15curl -T: ignore file size of special filesKamil Dudka
original bug report at https://bugzilla.redhat.com/622520
2010-08-13Reset environment variables before starting serversDan Fandrich
Otherwise, variables from tests could affect the servers themselves.
2010-08-12typecheck-gcc: work around gcc upstream bug #32061Kamil Dudka
original bug report at https://bugzilla.redhat.com/617757
2010-08-11release cycle loop: start over toward 7.21.2Daniel Stenberg
2010-08-11RELEASE-NOTES: mention the runtests fix as wellDaniel Stenberg
2010-08-11runtests: clear old setenv remainders before testDaniel Stenberg
Due to the layout of the singletest function there are situations where it returns before it clears the environment variables that were especially set for the single specific test case. That could lead to subsequent tests getting executed with environment variables sticking around from a previous test which could lead to badness. This change makes sure to clear all custom variables that may be laying around from a previous round, before running a test case. Reported by: Kamil Dudka Bug: http://curl.haxx.se/mail/lib-2010-08/0141.html
2010-08-11Added OpenSSL builds to Watcom makefiles.Guenter Knauf
2010-08-11configure: werror related adjustmentsYang Tse
2010-08-11FAQ: s/libcurl.so.3/libcurl.so.XDaniel Stenberg
2010-08-10KNOWN_BUG #59 is fixed. Clarify support of IPv6 zone IDs.Dan Fandrich
2010-08-10Fixed typo in Android configure commandDan Fandrich
2010-08-11HISTORY: added stuff from recent yearsDaniel Stenberg
2010-08-11warning: silence the compilerDaniel Stenberg
warning: conversion to 'long int' from 'time_t' may alter its value ... on win64 when time_t is 64bit and long is 32bit.
2010-08-10RELEASE-NOTES: synced, 3 additional bugfixesDaniel Stenberg
2010-08-10multi_socket_action: clarify how to kickstart itDaniel Stenberg
The callbacks are called when curl_multi_socket_action() is called, not when handles are added. This is now mentioned in the "TYPICAL USAGE" section.
2010-08-10callbacks: acknowledge progress callback error returnsDaniel Stenberg
When the progress callback is called during the TCP connection, an error return would accidentally not abort the operation as intended but would instead be counted as a failure to connect to that particular IP and libcurl would just continue to try the next. I made singleipconnect() and trynextip() return CURLcode properly. Added bonus: it corrected the error code for bad --interface usages, like tested in test 1084 and test 1085. Reported by: Adam Light Bug: http://curl.haxx.se/mail/lib-2010-08/0105.html
2010-08-10More Watcom makefile fixes ...Guenter Knauf
Final fix (hopefully!) for dll wlink loader; prefer faster internal rm if available.
2010-08-10Fixed my wrong edit.Guenter Knauf
2010-08-10More Watcom makefile fixes.Guenter Knauf
Added the -br switch to dynamic builds which fixes the issue I saw with curl's --version output. Added debug info and symfile for debug builds to linker opts. Added DLL loader for wlink back, but this time dependend on wlink version. Patch posted to the list by malak.jiri AT gmail.com.
2010-08-10Changed test for -u switch in order to enable other wmake switches.Guenter Knauf
The var %MAKEFLAGS is only set in 3 cases: if set as environment var or as macro definition from commandline, and either with the -u or -ms switch. Since all these cases are unlikely for the average user it should be safe to only test if %MAKEFLAGS is defined; this has the benefit that now all other switches can be used again in addition to the -u which was formerly not possible.
2010-08-10llist: hide Curl_llist_initDaniel Stenberg
Curl_llist_init is never used outside of llist.c and thus it should be static. I also removed the protos for Curl_llist_insert_prev and Curl_llist_remove_next which are functions we removed from llist.c ages ago.
2010-08-10Added msys Perl since git for Win32 comes with own Perl which identifies as ↵Guenter Knauf
msys.
2010-08-10Updated lib dependency versions.Guenter Knauf
2010-08-10Make testcurl.pl Watcom-aware.Guenter Knauf
2010-08-10parse_remote_port: fix ;type= URL suffix over HTTP proxyDaniel Stenberg
Test 563 is enabled now and verifies that the combo FTP type=A URL, CURLOPT_PORT set and proxy work fine. As a bonus I managed to remove the somewhat odd FTP check in parse_remote_port() and instead converted it to a better and more generic 'slash_removed' struct field. Checking the ->protocol field isn't right since when an FTP:// URL is sent over a HTTP proxy, the protocol is HTTP but the URL was handled by the FTP code and thus slash_removed is set TRUE for this case.
2010-08-10indent: white space fixes onlyDaniel Stenberg
2010-08-09build: fix previous pushYang Tse
2010-08-09build: don't build libhostname unless shared libcurl is builtYang Tse
2010-08-09build: libhostname and chkhostname linkage adjustments followupYang Tse
2010-08-08typo: remove duplicate semicolonDaniel Stenberg
2010-08-08multi: avoid a malloc() when a transfer is completeDaniel Stenberg
The struct used for storing the message for a completed transfer is now no longer allocated separatly but is kept within the main struct kept for each easy handle so that we avoid one malloc (and the subsequent free).
2010-08-08build: libhostname linkage adjustments followupYang Tse
2010-08-07Fix to overwrite libcurl name.Guenter Knauf
2010-08-07build: chkhostname build adjustments followupYang Tse
2010-08-07build: allow NTLM tests to run on more build configurationsU-D5B1PQ1J\Administrador
2010-08-07curl_easy_setopt.3: rename stream to userdataDaniel Stenberg
In some places where the name 'stream' has been used for naming a function argument that is in fact settable with a setopt() option we now call that argument 'userdata' to make it more obvious that it is in fact possible to set by the application. Suggested by: Jeff Pohlmeyer
2010-08-07Block created curlbuild.h for NetWare to avoid usage from other platforms.Guenter Knauf
2010-08-07RELEASE-NOTES: synced with recent changesDaniel Stenberg
2010-08-06build: ensure that libhostname doesn't get installedYang Tse
2010-08-06multi_socket: set timeout for 100-continueDaniel Stenberg
When libcurl internally decided to wait for a 100-continue header, there was no call to the timeout function so there was no timeout callback called when the multi_socket API was used and thus applications became either completely wrong or at least ineffecient depending on how they handled the situation. We now set a timeout to get triggered. Reported by: Ben Darnell Bug: http://curl.haxx.se/bug/view.cgi?id=3039744
2010-08-06Some more Watcom makefile massage ...Guenter Knauf
For now removed the .autodepend directive until I've figured out which of my changes broke it again.
2010-08-05build: fix libssh2_scp_send64() availabilityYang Tse
2010-08-04build: remove unneeded cast to (void *)Yang Tse