aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-04-23Replaced Curl_FormReadOneLine with Curl_formpostheader as that is the only useDaniel Stenberg
for it. It saves one extra copy of the header. I also added comments for several functions in formdata.c
2004-04-22missing braceDaniel Stenberg
2004-04-22- David Byron found and fixed a small bug with the --fail and authenticationDaniel Stenberg
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and communicate with a proxy that requires basic authentication, the proxy properly returns a 407, but the failure detection code doesn't realize it should give up, so curl returns with exit code 0. Test case 162 verifies this.
2004-04-22removed Curl_ftp_quit() as it was turned into a static in ftp.cDaniel Stenberg
2004-04-22If only a partial file was transfered, we consider that a fatal problem soDaniel Stenberg
we won't try to QUIT the control connection and risk "hanging" waiting for a response. Test case 161 verifies this. The quit-sending function was also made static.
2004-04-22Added commentsDaniel Stenberg
2004-04-21include unistd.h as well for the close() proto on some platforms (like Tru64)Daniel Stenberg
2004-04-21typecast the tolower() argument to an int to prevent compiler warningDaniel Stenberg
2004-04-21typecast tolower/toupper arguments to int to make picky compilers complainDaniel Stenberg
less
2004-04-21Fix the "lingering close" problem when re-using a connection, as test caseDaniel Stenberg
160 shows. We got no data and we attempted to re-use a connection. This might happen if the connection was left alive when we were done using it before, but that was closed when we wanted to read from it again. Bad luck. Retry the same request on a fresh connect! Deleted the sockerror variable again, it serves no purpose anymore.
2004-04-21increase the headerbytecount for incoming "headers"Daniel Stenberg
2004-04-20cleanup leftoversDaniel Stenberg
2004-04-20Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-Daniel Stenberg
length limit of the hostname part of the URL.
2004-04-19Gisle Vanem corrected a mistake in a recent progress fixDaniel Stenberg
2004-04-17Gisle made a failed connect output the reason for itDaniel Stenberg
2004-04-17NDEBUG should not be defined when CURLDEBUG isDaniel Stenberg
2004-04-15ftp->dirs[] is no longer terminated with a zero entry but ftp->dirdepthDaniel Stenberg
should be used
2004-04-15removed the fixed dir depth limit in the FTP codeDaniel Stenberg
2004-04-14asking for CURL_IPRESOLVE_V6 when ipv6 addresses can't be resolved willDaniel Stenberg
now cause the resolve function to return NULL immediately
2004-04-14Curl_wait_for_resolv() could hang due to the bad timeout timer resolution andDaniel Stenberg
some bad thinking on my part.
2004-04-13Gisle Vanem's fix that makes the multi interface work on Windows again evenDaniel Stenberg
when not using ares.
2004-04-13proper typecast to prevent compiler warningDaniel Stenberg
2004-04-13remove an long time #defined struct member and use the actual "real" nameDaniel Stenberg
instead to make it easier to find/read
2004-04-13Moved the 'tcp_nodelay' member to the proper 'UserDefined' struct within theDaniel Stenberg
sessionhandle to make the duphandle() function work as supposed. Also tried to start document functions the doxygen way (in the headers of the functions). Can't make it work though...
2004-04-12somewhat safer typecasting in case sizeof(long) != sizeof(void *) (is thereDaniel Stenberg
even such platforms?)
2004-04-11David Byron's patch for MSVC builds with zlibDaniel Stenberg
2004-04-09Dirk Manske increased the resolution for what the CURLINFO_*_TIME return.Daniel Stenberg
2004-04-07getting only a 100 Continue response and nothing else, when talking HTTP,Daniel Stenberg
is now treated as an error by libcurl
2004-04-07renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*Daniel Stenberg
concept, and added lib/README.curlx to explain details about it
2004-04-06New authentication code added, particularly noticable when doing POST or PUTDaniel Stenberg
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST.
2004-04-06the pack_hostent() proto isn't used/needed with ipv6 is enabled.Daniel Stenberg
time to restructure this source file!
2004-04-06Gisle Vanem's fix for bug item #927979 reported by Nathan O'Sullivan.Daniel Stenberg
Good enough?
2004-04-06Added the curl source header and changed some commentsDaniel Stenberg
2004-04-06Gisle Vanem caught me breaking the windows version of Curl_strerror()Daniel Stenberg
2004-04-06provide these functions as curlx_* ones as this enables the curl app toDaniel Stenberg
re-use these sources and functions for subsecond resolution timing
2004-04-06up-to-date with realityDaniel Stenberg
2004-04-06remove the general use of sys_nerrDaniel Stenberg
2004-04-02Dirk Manske's feedback:Daniel Stenberg
* bring back subsecond resolution to CURLINFO_TOTAL_TIME * Fix the Curl_pgrsDone() so that the final progress update is shown properly
2004-04-02Andrés García's updated mingw makefilesDaniel Stenberg
2004-04-01Dirk Manske's fix that makes sure we cancel the ares resolve when we time outDaniel Stenberg
from a name resolve. Without this, we leak memory!
2004-04-01removed my previously attempted fix for ares timeouts, not neededDaniel Stenberg
2004-03-31Use the new HAVE_NI_WITHSCOPEID define instead of merely checking for theDaniel Stenberg
existance of NI_WITHSCOPEID since some platforms have that define but still can't function with it set.
2004-03-31Roy Shan fixed a case that prevented ares name resolve timeouts to occur.Daniel Stenberg
2004-03-31Remove the elapsed time from the most recent select() only.Daniel Stenberg
2004-03-31The asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE forDaniel Stenberg
the specific time to wait for a resolve. The definition is at the top of this source file.
2004-03-31Dirk Manske found out the Curl_wait_for_resolv() timed out too early.Daniel Stenberg
2004-03-31added include to fix warningDaniel Stenberg
2004-03-31* Fixed a memory leak when doing repeated re-negotiations.Daniel Stenberg
* Made the incoming line parser more forgiving to allow "name=contents" pairs where the contents isn't within double quotes. * Made the digest code return CURLDIGEST_BADALGO if a requested algorithm isn't supported by the code.
2004-03-31Moved the NI_WITHSCOPEID magic #ifdef to the top of the file and made sureDaniel Stenberg
we use the NIFLAGS properly on both places in the code that use getnameinfo().
2004-03-31Fixed how the user name is extracted from http_proxy environment variableDaniel Stenberg
when set.