aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
AgeCommit message (Collapse)Author
2002-06-14- Yarram Sunil found out that the SocketIsDead() function performed a lotDaniel Stenberg
faster on Windows when removing the 1 microsecond timeout.
2002-06-11put #ifdefs around the sigjmp_buf declaration too, as it should beDaniel Stenberg
2002-06-11corrected the signal handlerDaniel Stenberg
2002-06-11Now uses sigsetjmp() and siglongjmp() to bail out from slow name lookups inDaniel Stenberg
case a timeout is set. This seems to work. God knows if it is good enough or what kind of side-effects we introduce here and now. I'll close my eyes and cross my fingers. Hard.
2002-06-11removed accidentally added debug-code!Daniel Stenberg
2002-06-11added disable-[protocol] support, largely provided by Miklos NemethDaniel Stenberg
2002-05-28Cris Bailiff's CAPATH support addedDaniel Stenberg
2002-05-21When re-using a connection, make sure that we use the current host name asDaniel Stenberg
we might actually re-use a connection to a different host, when using proxies! This was what bug report #558888 was all about.
2002-05-21James Cone's efforts to add another netrc parsing "mode"Daniel Stenberg
2002-05-07support for ingoring session cookies addedDaniel Stenberg
2002-05-06the code for case CURLOPT_DEBUGDATA code broke the CURLOPT_STDERR one!Daniel Stenberg
2002-04-25prevent persistant connections to do name resolvesDaniel Stenberg
2002-04-25In order to not get problems with DNS cache pruning, we no longer storeDaniel Stenberg
any name resolved data in any curl handle struct. That way, we won't mind if the cache entries are pruned for the next time we need them. We'll just resolve them again instead. This changes the Curl_resolv() proto. It modifies the SessionHandle struct but perhaps most importantly, it'll make the internals somewhat dependent on the DNS cache not being disabled as that will cripple operations somewhat. Especially for persistant connections.
2002-04-23removed warning about signed/unsigned comparisonDaniel Stenberg
2002-04-23fixes bug report #547484, no_proxy doesn't properly strip off port numbersDaniel Stenberg
from the host names before comparing
2002-04-12store TIMER_CONNECT even if the connect failedDaniel Stenberg
2002-04-12corrected the verbose output for connects and fixed the connect time stampDaniel Stenberg
better for FTP (any protocol with protocol-specific connect actions)
2002-04-12Jean-Philippe Barrette-LaPierre provided his patch that introducesDaniel Stenberg
CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA.
2002-04-10default proxy port set, as reported by Sebastien WillemijnsDaniel Stenberg
2002-04-10error code cleanup, use the new SEND/RECV errorsDaniel Stenberg
2002-04-04T. Bharath pointed out the flaw in ConnectionExists() for how we didn'tDaniel Stenberg
check proxy connections for "deadness" before they were re-used
2002-03-19copyright string (year) updateDaniel Stenberg
2002-03-14CURLOPT_POST deserved a new comment with the new POST-by-callback supportDaniel Stenberg
2002-03-13Setting CURLOPT_PASSWDFUNCTION to NULL now restores the internal function.Daniel Stenberg
2002-03-08Jean-Philippe Barrette-LaPierre fixed the CURLOPT_PASSWDFUNCTION to makeDaniel Stenberg
NULL set back the internal default function
2002-02-28Wesley Laxton's CURLOPT_PREQUOTE workDaniel Stenberg
2002-02-17Giaslas Georgios's Host: over proxy fixDaniel Stenberg
2002-01-29conn->upload_bufsize exists no moreDaniel Stenberg
2002-01-29Giaslas Georgios introduced CURLINFO_CONTENT_TYPEDaniel Stenberg
2002-01-28Steve Marx helped us realize that we shouldn't treat customrequest as aDaniel Stenberg
request of its own, it just changes the keyword of a request.
2002-01-08Add support for DNS cache timeouts via the CURLOPT_DNS_CACHE_TIMEOUT option.Sterling Hughes
The default cache timeout for this is 60 seconds, which is arbitrary and completely subject to change :)
2002-01-07Make cach'ing work with threads now, there are now three cases:Sterling Hughes
- Use a global dns cache (via setting the tentatively named, CURLOPT_DNS_USE_GLOBAL_CACHE option to true) - Use a per-handle dns cache, by default - Use a pooled dns cache when in the "multi" interface
2002-01-04an unconditional occurance of inet_ntoa() now uses inet_ntoa_r() on allDaniel Stenberg
platforms that have such a function. This affects multi-thread running libcurls on IPv4 systems that have VERBOSE switched on. The previous version was risking that another thread overwrote the data before it was read out in this thread. There could possibly also be a slight risk that the data isn't zero terminated for a short while and thus could cause the thread to crash...
2002-01-03merged the multi-dev branch back into MAIN againDaniel Stenberg
2002-01-03Sterling Hughes' provided initial DNS cache source code.Daniel Stenberg
2001-12-20*cool* fix by Björn Stenberg, makes proxy transfers work better...! :-)Daniel Stenberg
2001-12-17Götz Babin-Ebell's OpenSSL ENGINE patchDaniel Stenberg
2001-12-05Jon Travis suggested fix. when CURLOPT_HTTPGET is used we must assignDaniel Stenberg
set.upload to FALSE or else we might still get an upload if the previous operation was an upload!
2001-12-02more careful re-use of connections when SSL is used over proxiesDaniel Stenberg
2001-11-29disabling EPSV is now possibleDaniel Stenberg
2001-11-28CURLOPT_FTP_USE_EPSV can now be set to FALSE to prevent libcurl fromDaniel Stenberg
attempting to use EPSV before the standard PASV.
2001-11-12made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as wellDaniel Stenberg
2001-11-07we use signal() to ignore signals only as long as we have to, and we nowDaniel Stenberg
restore the previous (if any) signal handler properly on return.
2001-11-07get the previous struct keep_sigactDaniel Stenberg
2001-11-06myalarm() is history, we now use HAVE_ALARM and we now do our very best toDaniel Stenberg
1 - restore the previous sigaction struct as soon as we are about to shut off our timeout 2 - restore the previous alarm() timeout, in case an application or similar had it running before we "borrowed" it for a while. No, this does not fix the multi-thread problem you get with alarm(). This patch should correct bug report #478780: //sourceforge.net/tracker/?func=detail&atid=100976&aid=478780&group_id=976 If not, please post details!
2001-11-01ConnectionExists() now returns FALSE immediately if it finds a connectionDaniel Stenberg
that is dead, because it can only find one entry anyway and if that is dead there won't be any other entry that matches
2001-10-31Removed the SocketIsDead() stuff for SSL again as it doesn't work. We mustDaniel Stenberg
rely on the new go-ahead-and-try mechanism that I just added to Transfer()
2001-10-31nonblock => Curl_nonblock, remade the check for a live SSL connection (again)Daniel Stenberg
2001-10-30Added an additional SSL check for a dead socket before we re-use an SSLDaniel Stenberg
connection. The simple socket-check is not enough in these cases.
2001-10-29fixed conn->name error on connection re-use and enlarged the 'gname' arrayDaniel Stenberg
to hold 512 bytes (for user+password+hostname)