| |
|
|
|
Log of /lib/url.c
Revision 1.840 - (view) (download) (annotate) - [select for diffs] Fri Mar 5 03:15:19 2010 UTC (2 weeks, 2 days ago) by yangtse Branch: MAIN CVS Tags: HEAD Changes since 1.839: +4 -5 lines Diff to previous 1.839 Constantine Sapuntzakis detected and fixed a double free in builds done with threaded resolver enabled (Windows default configuration) that would get triggered when a curl handle is closed while doing DNS resolution. Revision 1.839 - (view) (download) (annotate) - [select for diffs] Wed Feb 24 00:03:06 2010 UTC (3 weeks, 4 days ago) by yangtse Branch: MAIN Changes since 1.838: +3 -2 lines Diff to previous 1.838 fix compiler warning Revision 1.838 - (view) (download) (annotate) - [select for diffs] Tue Feb 23 16:07:54 2010 UTC (3 weeks, 4 days ago) by yangtse Branch: MAIN Changes since 1.837: +2 -2 lines Diff to previous 1.837 fix compiler warning Revision 1.837 - (view) (download) (annotate) - [select for diffs] Sat Feb 6 17:30:06 2010 UTC (6 weeks ago) by yangtse Branch: MAIN CVS Tags: curl-7_20_0 Changes since 1.836: +9 -3 lines Diff to previous 1.836 OOM handling fix Revision 1.836 - (view) (download) (annotate) - [select for diffs] Thu Feb 4 19:44:31 2010 UTC (6 weeks, 2 days ago) by yangtse Branch: MAIN Changes since 1.835: +2 -2 lines Diff to previous 1.835 fix printf-style format strings Revision 1.835 - (view) (download) (annotate) - [select for diffs] Thu Jan 28 15:34:18 2010 UTC (7 weeks, 2 days ago) by yangtse Branch: MAIN Changes since 1.834: +5 -5 lines Diff to previous 1.834 fix printf-style format strings Revision 1.834 - (view) (download) (annotate) - [select for diffs] Wed Jan 27 03:43:34 2010 UTC (7 weeks, 4 days ago) by yangtse Branch: MAIN Changes since 1.833: +4 -4 lines Diff to previous 1.833 fix compiler warning Revision 1.833 - (view) (download) (annotate) - [select for diffs] Sat Jan 23 13:53:33 2010 UTC (8 weeks ago) by yangtse Branch: MAIN Changes since 1.832: +4 -3 lines Diff to previous 1.832 adjust preprocessor symbol definition check relative to resolver specialty Revision 1.832 - (view) (download) (annotate) - [select for diffs] Fri Jan 22 23:21:40 2010 UTC (8 weeks, 1 day ago) by bagder Branch: MAIN Changes since 1.831: +21 -15 lines Diff to previous 1.831 wrap long lines and do some indent policing Revision 1.831 - (view) (download) (annotate) - [select for diffs] Fri Jan 22 20:27:48 2010 UTC (8 weeks, 1 day ago) by yangtse Branch: MAIN Changes since 1.830: +2 -3 lines Diff to previous 1.830 Definitions of resolver specialty compile-time defines CURLRES_* moved from hostip.h to setup.h in order to allow proper inclusion in any file. This represents no functional change at all in which resolver is used, everything still works as usual, internally and externally there is no difference in behavior. Revision 1.830 - (view) (download) (annotate) - [select for diffs] Fri Jan 22 12:17:03 2010 UTC (8 weeks, 1 day ago) by bagder Branch: MAIN Changes since 1.829: +3 -3 lines Diff to previous 1.829 s/RTPFUNCTION/INTERLEAVEFUNCTION/ s/RTPDATA/INTERLEAVEDATA/ Revision 1.829 - (view) (download) (annotate) - [select for diffs] Thu Jan 21 19:27:32 2010 UTC (8 weeks, 2 days ago) by yangtse Branch: MAIN Changes since 1.828: +7 -4 lines Diff to previous 1.828 fix compiler warning Revision 1.828 - (view) (download) (annotate) - [select for diffs] Thu Jan 21 13:58:31 2010 UTC (8 weeks, 2 days ago) by bagder Branch: MAIN Changes since 1.827: +161 -2 lines Diff to previous 1.827 Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new libcurl options for controlling what to get and how to receive posssibly interleaved RTP data. Initial commit. Revision 1.827 - (view) (download) (annotate) - [select for diffs] Wed Jan 6 16:01:48 2010 UTC (2 months, 1 week ago) by claesjac Branch: MAIN Changes since 1.826: +18 -10 lines Diff to previous 1.826 Julien Chaffraix fixed so that the fragment part in an URL is not sent to the server anymore Revision 1.826 - (view) (download) (annotate) - [select for diffs] Fri Jan 1 14:52:52 2010 UTC (2 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.825: +2 -2 lines Diff to previous 1.825 update copyright year since we are in 2010 now Revision 1.825 - (view) (download) (annotate) - [select for diffs] Fri Jan 1 14:44:45 2010 UTC (2 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.824: +6 -1 lines Diff to previous 1.824 - Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. This command is a special "hack" used by the drftpd server, but even though it is a custom extension I've deemed it fine to add to libcurl since this server seems to survive and people keep using it and want libcurl to support it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also usable from the curl tool with --ftp-pret. Using this option on a server that doesn't support this command will make libcurl fail. Revision 1.824 - (view) (download) (annotate) - [select for diffs] Thu Dec 31 21:52:01 2009 UTC (2 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.823: +3 -3 lines Diff to previous 1.823 turned CURLOPT_MAIL_RCPT into a curl_slist list instead to support multiple receivers, and made the command line tool thus support the option specified many times Revision 1.823 - (view) (download) (annotate) - [select for diffs] Wed Dec 30 17:59:56 2009 UTC (2 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.822: +2 -2 lines Diff to previous 1.822 VMS specific preprocessor symbol checking adjustments Revision 1.822 - (view) (download) (annotate) - [select for diffs] Thu Dec 17 16:07:02 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.821: +2 -2 lines Diff to previous 1.821 uh, assign the bool it points to properly Revision 1.821 - (view) (download) (annotate) - [select for diffs] Thu Dec 17 16:03:39 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.820: +10 -7 lines Diff to previous 1.820 Stop overloading the conn->protocol field with the PROT_MISSING bit. It really didn't belong there and had no real point. Revision 1.820 - (view) (download) (annotate) - [select for diffs] Thu Dec 17 15:45:05 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.819: +29 -24 lines Diff to previous 1.819 Remove pointless storing of the protocol as a string within the connectdata struct, and instead use the already stored string in the handler struct. Revision 1.819 - (view) (download) (annotate) - [select for diffs] Wed Dec 16 23:11:47 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.818: +80 -61 lines Diff to previous 1.818 Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I was a bit too quick and broke test case 1101 with that change. The order of some of the setups is sensitive. I now changed it slightly again. Revision 1.818 - (view) (download) (annotate) - [select for diffs] Mon Dec 14 23:16:09 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.817: +34 -31 lines Diff to previous 1.817 - Jon Nelson found a regression that turned out to be a flaw in how libcurl detects and uses proxies based on the environment variables. If the proxy was given as an explicit option it worked, but due to the setup order mistake proxies would not be used fine for a few protocols when picked up from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added test case 1106 that verifies this functionality. (http://curl.haxx.se/bug/view.cgi?id=2913886) Revision 1.817 - (view) (download) (annotate) - [select for diffs] Sat Dec 12 21:54:02 2009 UTC (3 months, 1 week ago) by bagder Branch: MAIN Changes since 1.816: +40 -6 lines Diff to previous 1.816 introducing IMAP, POP3 and SMTP support (still lots of polish left to do) Revision 1.816 - (view) (download) (annotate) - [select for diffs] Fri Nov 20 19:32:50 2009 UTC (3 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.815: +6 -4 lines Diff to previous 1.815 - Constantine Sapuntzakis identified a write after close, as the sockets were closed by libcurl before the SSL lib were shutdown and they may write to its socket. Detected to at least happen with OpenSSL builds. Revision 1.815 - (view) (download) (annotate) - [select for diffs] Fri Nov 20 13:27:21 2009 UTC (3 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.814: +2 -1 lines Diff to previous 1.814 - Jad Chamcham pointed out a bug with connection re-use. If a connection had CURLOPT_HTTPPROXYTUNNEL enabled over a proxy, a subsequent request using the same proxy with the tunnel option disabled would still wrongly re-use that previous connection and the outcome would only be badness. Revision 1.814 - (view) (download) (annotate) - [select for diffs] Tue Nov 17 22:53:55 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.813: +32 -46 lines Diff to previous 1.813 - Constantine Sapuntzakis provided another fix for the DNS cache that could end up with entries that wouldn't time-out: 1. Set up a first web server that redirects (307) to a http://server:port that's down 2. Have curl connect to the first web server using curl multi After the curl_easy_cleanup call, there will be curl dns entries hanging around with in_use != 0. (http://curl.haxx.se/bug/view.cgi?id=2891591) Revision 1.813 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 02:30:31 2009 UTC (4 months ago) by yangtse Branch: MAIN Changes since 1.812: +10 -1 lines Diff to previous 1.812 - Constantine Sapuntzakis provided the fix that ensures that an SSL connection won't be reused unless protection level for peer and host verification match. Revision 1.812 - (view) (download) (annotate) - [select for diffs] Thu Oct 8 12:44:25 2009 UTC (5 months, 1 week ago) by yangtse Branch: MAIN CVS Tags: curl-7_19_7 Changes since 1.811: +5 -3 lines Diff to previous 1.811 Attempt to silence bogus compiler warning: "Potential null pointer dereference" Revision 1.811 - (view) (download) (annotate) - [select for diffs] Thu Sep 17 11:45:27 2009 UTC (6 months ago) by yangtse Branch: MAIN Changes since 1.810: +6 -4 lines Diff to previous 1.810 Attempt to silence bogus compiler warning: "Potential null pointer dereference" Revision 1.810 - (view) (download) (annotate) - [select for diffs] Fri Aug 21 07:11:20 2009 UTC (6 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.809: +38 -52 lines Diff to previous 1.809 - Lots of good work by Krister Johansen, mostly related to pipelining: Fix SIGSEGV on free'd easy_conn when pipe unexpectedly breaks Fix data corruption issue with re-connected transfers Fix use after free if we're completed but easy_conn not NULL Revision 1.809 - (view) (download) (annotate) - [select for diffs] Tue Aug 11 20:43:12 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN CVS Tags: curl-7_19_6 Changes since 1.808: +3 -3 lines Diff to previous 1.808 - Benbuck Nason posted the bug report #2835196 (http://curl.haxx.se/bug/view.cgi?id=2835196), fixing a few compiler warnings when mixing ints and bools. Revision 1.808 - (view) (download) (annotate) - [select for diffs] Sat Aug 1 11:02:11 2009 UTC (7 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.807: +8 -5 lines Diff to previous 1.807 - Alexander Beedie provided the patch for a noproxy problem: If I have set CURLOPT_NOPROXY to "*", or to a host that should not use a proxy, I actually could still end up using a proxy if a proxy environment variable was set. Revision 1.807 - (view) (download) (annotate) - [select for diffs] Wed Jul 22 22:49:02 2009 UTC (7 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.806: +28 -1 lines Diff to previous 1.806 - Added CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION, CURLOPT_SSH_KEYDATA. They introduce known_host support for SSH keys to libcurl. See docs for details. Revision 1.806 - (view) (download) (annotate) - [select for diffs] Tue Jun 16 13:16:28 2009 UTC (9 months ago) by mmarek Branch: MAIN Changes since 1.805: +2 -1 lines Diff to previous 1.805 - When doing non-anonymous ftp via http proxies and the password is not provided in the url, add it there (squid needs this). Revision 1.805 - (view) (download) (annotate) - [select for diffs] Fri Jun 12 02:47:35 2009 UTC (9 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.804: +5 -1 lines Diff to previous 1.804 include <limits.h> for INT_MAX definition Revision 1.804 - (view) (download) (annotate) - [select for diffs] Fri Jun 12 02:41:16 2009 UTC (9 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.803: +12 -8 lines Diff to previous 1.803 fix compiler warning Revision 1.803 - (view) (download) (annotate) - [select for diffs] Wed Jun 10 21:26:11 2009 UTC (9 months, 1 week ago) by bagder Branch: MAIN Changes since 1.802: +1 -2 lines Diff to previous 1.802 - Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and contributed a range of patches to fix them. Revision 1.802 - (view) (download) (annotate) - [select for diffs] Wed Jun 10 02:49:43 2009 UTC (9 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.801: +7 -7 lines Diff to previous 1.801 Adjusted to take in account that... With the curl memory tracking feature decoupled from the debug build feature, CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows: CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug) DEBUGBUILD used for debug enabled specific code (--enable-debug) Revision 1.801 - (view) (download) (annotate) - [select for diffs] Fri May 29 07:43:43 2009 UTC (9 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.800: +3 -3 lines Diff to previous 1.800 corrected comments Revision 1.800 - (view) (download) (annotate) - [select for diffs] Thu May 28 16:18:25 2009 UTC (9 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.799: +3 -1 lines Diff to previous 1.799 fix compiler warning: unused parameter Revision 1.799 - (view) (download) (annotate) - [select for diffs] Wed May 27 21:45:12 2009 UTC (9 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.798: +9 -3 lines Diff to previous 1.798 - Mike Crowe pointed out that setting CURLOPT_USERPWD to NULL used to clear the auth credentials back in 7.19.0 and earlier while now you have to set "" to get the same effect. His patch brings back the ability to use NULL. Revision 1.798 - (view) (download) (annotate) - [select for diffs] Sun May 17 14:47:50 2009 UTC (10 months ago) by bagder Branch: MAIN CVS Tags: curl-7_19_5 Changes since 1.797: +39 -40 lines Diff to previous 1.797 - James Bursa posted a patch to the mailing list that fixed a problem with no_proxy which made it not skip the proxy if the URL entered contained a user name. I added test case 1101 to verify. Revision 1.797 - (view) (download) (annotate) - [select for diffs] Tue May 12 07:38:31 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.796: +2 -4 lines Diff to previous 1.796 make no proxy set return OK from Curl_connected_proxy() since it will be called unconditionally Revision 1.796 - (view) (download) (annotate) - [select for diffs] Mon May 11 11:45:56 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.795: +7 -1 lines Diff to previous 1.795 fix the Curl_connected_proxy function for when libcurl actually connects fine to it in the actual connect call and not asynchronously. Revision 1.795 - (view) (download) (annotate) - [select for diffs] Sat May 9 21:34:48 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.794: +12 -8 lines Diff to previous 1.794 ConnectPlease() fixed for the new proxy connect functionality to make sure 'connected' truly is false when the socks connect fails. Curl_done() fixed for the check-conn->bits.done-before-Curl_getoff_all_pipelines case Revision 1.794 - (view) (download) (annotate) - [select for diffs] Fri May 8 10:59:40 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.793: +49 -33 lines Diff to previous 1.793 - Constantine Sapuntzakis fixed bug report #2784055 (http://curl.haxx.se/bug/view.cgi?id=2784055) identifying a problem to connect to SOCKS proxies when using the multi interface. It turned out to almost not work at all previously. We need to wait for the TCP connect to be properly verified before doing the SOCKS magic. There's still a flaw in the FTP code for this. Revision 1.793 - (view) (download) (annotate) - [select for diffs] Tue Apr 21 11:46:17 2009 UTC (10 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.792: +2 -2 lines Diff to previous 1.792 libcurl's memory.h renamed to curl_memory.h Revision 1.792 - (view) (download) (annotate) - [select for diffs] Mon Apr 13 18:01:02 2009 UTC (11 months ago) by bagder Branch: MAIN Changes since 1.791: +18 -11 lines Diff to previous 1.791 - bug report #2727981 (http://curl.haxx.se/bug/view.cgi?id=2727981) by Martin Storsjo pointed out how setting CURLOPT_NOBODY to 0 could be downright confusing as it set the method to either GET or HEAD. The example he showed looked like: curl_easy_setopt(curl, CURLOPT_PUT, 1); curl_easy_setopt(curl, CURLOPT_NOBODY, 0); The new way doesn't alter the method until the request is about to start. If CURLOPT_NOBODY is then 1 the HTTP request will be HEAD. If CURLOPT_NOBODY is 0 and the request happens to have been set to HEAD, it will then instead be set to GET. I believe this will be less surprising to users, and hopefully not hit any existing users badly. Revision 1.791 - (view) (download) (annotate) - [select for diffs] Tue Mar 3 11:01:24 2009 UTC (12 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.790: +17 -17 lines Diff to previous 1.790 - David James brought a patch that make libcurl close (all) dead connections whenever you attempt to open a new connection. Revision 1.790 - (view) (download) (annotate) - [select for diffs] Mon Mar 2 23:05:31 2009 UTC (12 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_4 Changes since 1.789: +36 -2 lines Diff to previous 1.789 - David Kierznowski notified us about a security flaw (http://curl.haxx.se/docs/adv_20090303.html also known as CVE-2009-0037) in which previous libcurl versions (by design) can be tricked to access an arbitrary local/different file instead of a remote one when CURLOPT_FOLLOWLOCATION is enabled. This flaw is now fixed in this release together this the addition of two new setopt options for controlling this new behavior: o CURLOPT_REDIR_PROTOCOLS controls what protocols libcurl is allowed to follow to when CURLOPT_FOLLOWLOCATION is enabled. By default, this option excludes the FILE and SCP protocols and thus you nee to explicitly allow them in your app if you really want that behavior. o CURLOPT_PROTOCOLS controls what protocol(s) libcurl is allowed to fetch using the primary URL option. This is useful if you want to allow a user or other outsiders control what URL to pass to libcurl and yet not allow all protocols libcurl may have been built to support. Revision 1.789 - (view) (download) (annotate) - [select for diffs] Sat Feb 28 01:11:57 2009 UTC (12 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.788: +7 -7 lines Diff to previous 1.788 fix compiler warning Revision 1.788 - (view) (download) (annotate) - [select for diffs] Tue Feb 17 09:09:08 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.787: +2 -2 lines Diff to previous 1.787 - CURLOPT_FTP_CREATE_MISSING_DIRS can now be set to 2 in addition to 1 for plain FTP connections, and it will then allow MKD to fail once and retry the CWD afterwards. This is especially useful if you're doing many simultanoes connections against the same server and they all have this option enabled, as then CWD may first fail but then another connection does MKD before this connection and thus MKD fails but trying CWD works! The numbers can (should?) now be set with the convenience enums now called CURLFTP_CREATE_DIR and CURLFTP_CREATE_DIR_RETRY. Tests has proven that if you're making an application that uploads a set of files to an ftp server, you will get a noticable gain in speed if you're using multiple connections and this option will be then be very useful. Revision 1.787 - (view) (download) (annotate) - [select for diffs] Sat Feb 7 22:53:37 2009 UTC (13 months, 1 week ago) by bagder Branch: MAIN Changes since 1.786: +1 -16 lines Diff to previous 1.786 Moved Curl_strntoupper() to the rawstr.c file where the other raw string functions are. Revision 1.786 - (view) (download) (annotate) - [select for diffs] Mon Feb 2 21:36:47 2009 UTC (13 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.785: +6 -2 lines Diff to previous 1.785 - Patrick Scott found a rather large memory leak when using the multi interface and setting CURLMOPT_MAXCONNECTS to something less than the number of handles you add to the multi handle. All the connections that didn't fit in the cache would not be properly disconnected nor freed! Revision 1.785 - (view) (download) (annotate) - [select for diffs] Mon Feb 2 16:19:23 2009 UTC (13 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.784: +10 -6 lines Diff to previous 1.784 - Craig A West brought us: libcurl now defaults to do CONNECT with HTTP version 1.1 instead of 1.0 like before. This change also introduces the new proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0 option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0. I updated all test cases cases that use CONNECT and I tried to do some using --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run. Revision 1.784 - (view) (download) (annotate) - [select for diffs] Wed Jan 28 21:34:16 2009 UTC (13 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.783: +32 -1 lines Diff to previous 1.783 - Markus Moeller introduced two new options to libcurl: CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl to do GSS-style authentication with SOCKS5 proxies. The curl tool got the options called --socks5-gssapi-service and --socks5-gssapi-nec to enable these. Revision 1.783 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 22:43:08 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.782: +7 -1 lines Diff to previous 1.782 - Chad Monroe provided the new CURLOPT_TFTP_BLKSIZE option that allows an app to set desired block size to use for TFTP transfers instead of the default 512 bytes. Revision 1.782 - (view) (download) (annotate) - [select for diffs] Sun Jan 25 23:26:31 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.781: +160 -78 lines Diff to previous 1.781 - Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option. They basically offer the same thing the NO_PROXY environment variable only offered previously: list a set of host names that shall not use the proxy even if one is specified. Revision 1.781 - (view) (download) (annotate) - [select for diffs] Wed Jan 21 04:42:47 2009 UTC (13 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.780: +17 -3 lines Diff to previous 1.780 Fixed a couple more locale-dependent toupper conversions, mainly for clarity. This does fix one problem that causes ;type=i FTP URLs to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is used (test case 561) Added tests 561 and 1092 through 1094 to test various combinations of ;type= and ;mode= URLs that could potentially fail in the Turkish locale. Revision 1.780 - (view) (download) (annotate) - [select for diffs] Thu Jan 8 00:31:49 2009 UTC (14 months, 1 week ago) by danf Branch: MAIN CVS Tags: curl-7_19_3 Changes since 1.779: +78 -65 lines Diff to previous 1.779 Unified much of the SessionHandle initialization done in Curl_open() and curl_easy_reset() by creating Curl_init_userdefined(). This had the side effect of fixing curl_easy_reset() so it now also resets CURLOPT_FTP_FILEMETHOD and CURLOPT_SSL_SESSIONID_CACHE Revision 1.779 - (view) (download) (annotate) - [select for diffs] Mon Dec 29 22:25:50 2008 UTC (14 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.778: +12 -6 lines Diff to previous 1.778 - Phil Lisiecki filed bug report #2413067 (http://curl.haxx.se/bug/view.cgi?id=2413067) that identified a problem that would cause libcurl to mark a DNS cache entry "in use" eternally if the subsequence TCP connect failed. It would thus never get pruned and refreshed as it should've been. Revision 1.778 - (view) (download) (annotate) - [select for diffs] Fri Dec 19 21:14:52 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.777: +2 -1 lines Diff to previous 1.777 - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl now has an improved ability to do right when the multi interface (both "regular" and multi_socket) is used for SCP and SFTP transfers. This should result in (much) less busy-loop situations and thus less CPU usage with no speed loss. Revision 1.777 - (view) (download) (annotate) - [select for diffs] Fri Dec 12 12:04:10 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.776: +19 -15 lines Diff to previous 1.776 Make the getoff all pipelines function only set _inuse to FALSE if the specified data pointer was head. Revision 1.776 - (view) (download) (annotate) - [select for diffs] Thu Dec 11 23:27:22 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.775: +5 -2 lines Diff to previous 1.775 Dan F pointed out that we don't need to scan IPv6 addresses for '%'-letters in the parse_remote_port() function as the scope id has already been stripped from the string. Revision 1.775 - (view) (download) (annotate) - [select for diffs] Thu Dec 11 22:22:47 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.774: +3 -2 lines Diff to previous 1.774 - Keshav Krity found out that libcurl failed to deal with dotted IPv6 addresses if they were very long (>39 letters) due to a too strict address validity parser. It now accepts addresses up to 45 bytes long. Revision 1.774 - (view) (download) (annotate) - [select for diffs] Wed Dec 10 23:13:31 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.773: +20 -1 lines Diff to previous 1.773 - Internet Explorer had a broken HTTP digest authentication before v7 and there are servers "out there" that relies on the client doing this broken Digest authentication. Apache even comes with an option to work with such broken clients. The difference is only for URLs that contain a query-part (a '?'-letter and text to the right of it). libcurl now supports this quirk, and you enable it by setting the CURLAUTH_DIGEST_IE bit in the bitmask you pass to the CURLOPT_HTTPAUTH or CURLOPT_PROXYAUTH options. They are thus individually controlled to server and proxy. Revision 1.773 - (view) (download) (annotate) - [select for diffs] Wed Dec 3 15:20:27 2008 UTC (15 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.772: +16 -8 lines Diff to previous 1.772 - Igor Novoseltsev filed bug #2351645 (http://curl.haxx.se/bug/view.cgi?id=2351645) that identified a problem with the multi interface that occured if you removed an easy handle while in progress and the handle was used in a HTTP pipeline. Revision 1.772 - (view) (download) (annotate) - [select for diffs] Wed Nov 19 10:15:19 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.771: +6 -1 lines Diff to previous 1.771 - Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got when uploading files to a single FTP server using multiple easy handle handles with the multi interface. Occasionally a handle would stall in mysterious ways. The problem turned out to be a side-effect of the ConnectionExists() function's eagerness to re-use a handle for HTTP pipelining so it would select it even if already being in use, due to an inadequate check for its chances of being used for pipelnining. Revision 1.771 - (view) (download) (annotate) - [select for diffs] Wed Nov 5 21:46:40 2008 UTC (16 months, 1 week ago) by bagder Branch: MAIN CVS Tags: curl-7_19_2 Changes since 1.770: +5 -7 lines Diff to previous 1.770 corrected and clarified the *_SPEED_LARGE comments Revision 1.770 - (view) (download) (annotate) - [select for diffs] Mon Nov 3 16:24:56 2008 UTC (16 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_1 Changes since 1.769: +29 -33 lines Diff to previous 1.769 - Bug #2218480 (http://curl.haxx.se/bug/view.cgi?id=2218480) pointed out a problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL pointer read. I also took the opportunity to clean up this logic (storing of the connection's IP address) somewhat as we had it stored in two different places and ways previously and they are now unified. Revision 1.769 - (view) (download) (annotate) - [select for diffs] Thu Oct 23 11:49:19 2008 UTC (16 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.768: +2 -1 lines Diff to previous 1.768 moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_ inclusion by the curl tool without colliding with the curl_strequal functions. Revision 1.768 - (view) (download) (annotate) - [select for diffs] Thu Oct 23 01:20:57 2008 UTC (16 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.767: +2 -2 lines Diff to previous 1.767 Created Curl_raw_nequal() which does a C-locale string case comparison. Changed checkprefix() to use it and those instances of strnequal() that compare host names or other protocol strings that are defined to be independent of case in the C locale. This should fix a few more Turkish locale problems. Revision 1.767 - (view) (download) (annotate) - [select for diffs] Sun Oct 19 20:17:16 2008 UTC (17 months ago) by yangtse Branch: MAIN Changes since 1.766: +5 -2 lines Diff to previous 1.766 attempt to fix or allow further detection of an elusive icc SIGSEGV Revision 1.766 - (view) (download) (annotate) - [select for diffs] Sun Oct 19 18:20:47 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.765: +9 -4 lines Diff to previous 1.765 clarified an argument's situation due to a false positive alert pointed out by coverity.com Revision 1.765 - (view) (download) (annotate) - [select for diffs] Fri Oct 17 13:55:13 2008 UTC (17 months ago) by yangtse Branch: MAIN Changes since 1.764: +2 -2 lines Diff to previous 1.764 oops ;-) Revision 1.764 - (view) (download) (annotate) - [select for diffs] Fri Oct 17 13:33:13 2008 UTC (17 months ago) by yangtse Branch: MAIN Changes since 1.763: +2 -2 lines Diff to previous 1.763 oops Revision 1.763 - (view) (download) (annotate) - [select for diffs] Fri Oct 17 13:23:21 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.762: +2 -2 lines Diff to previous 1.762 fix syntax error Revision 1.762 - (view) (download) (annotate) - [select for diffs] Fri Oct 17 12:53:53 2008 UTC (17 months ago) by yangtse Branch: MAIN Changes since 1.761: +5 -3 lines Diff to previous 1.761 fix compiler warning Revision 1.761 - (view) (download) (annotate) - [select for diffs] Thu Oct 16 22:56:40 2008 UTC (17 months ago) by danf Branch: MAIN Changes since 1.760: +46 -54 lines Diff to previous 1.760 Return an error when a proxy option is set when configured with --disable-proxy mode. Removed some unnecessary prototypes. Revision 1.760 - (view) (download) (annotate) - [select for diffs] Thu Oct 16 20:43:02 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.759: +4 -1 lines Diff to previous 1.759 don't segfault when NULL is passed in to CURLOPT_USERPWD or CURLOPT_PROXYUSERPWD Revision 1.759 - (view) (download) (annotate) - [select for diffs] Thu Oct 16 20:21:22 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.758: +63 -40 lines Diff to previous 1.758 - Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding these new options is that they have no problems with the colon separator that the CURLOPT_PROXYUSERPWD option does. Revision 1.758 - (view) (download) (annotate) - [select for diffs] Thu Oct 16 08:23:48 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.757: +13 -13 lines Diff to previous 1.757 Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper function used in strequal.c so now all test cases run fine for me again. Revision 1.757 - (view) (download) (annotate) - [select for diffs] Wed Oct 15 21:43:48 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.756: +13 -13 lines Diff to previous 1.756 - Pascal Terjan filed bug #2154627 (http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl uses strcasecmp() in multiple places where it causes failures when the Turkish locale is used. This is because 'i' and 'I' isn't the same letter so strcasecmp() on those letters are different in Turkish than in English (or just about all other languages). I thus introduced a totally new internal function in libcurl (called Curl_ascii_equal) for doing case insentive comparisons for english-(ascii?) style strings that thus will make "file" and "FILE" match even if the Turkish locale is selected. Revision 1.756 - (view) (download) (annotate) - [select for diffs] Tue Oct 14 02:35:40 2008 UTC (17 months ago) by yangtse Branch: MAIN Changes since 1.755: +3 -3 lines Diff to previous 1.755 fix compiler warning Revision 1.755 - (view) (download) (annotate) - [select for diffs] Fri Oct 10 15:54:07 2008 UTC (17 months, 1 week ago) by patrickm Branch: MAIN Changes since 1.754: +3 -3 lines Diff to previous 1.754 _ Adapt OS400 EBCDIC wrappers to new options. _ Update RPG binding accordingly. _ Fix new options comments. Revision 1.754 - (view) (download) (annotate) - [select for diffs] Wed Oct 8 20:14:46 2008 UTC (17 months, 1 week ago) by danf Branch: MAIN Changes since 1.753: +2 -1 lines Diff to previous 1.753 Fixed a memory leak in the new CURLOPT_USERPWD handling Revision 1.753 - (view) (download) (annotate) - [select for diffs] Wed Oct 8 18:32:06 2008 UTC (17 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.752: +9 -3 lines Diff to previous 1.752 fix missing null-pointer check Revision 1.752 - (view) (download) (annotate) - [select for diffs] Wed Oct 8 10:39:44 2008 UTC (17 months, 1 week ago) by bagder Branch: MAIN Changes since 1.751: +48 -9 lines Diff to previous 1.751 - Igor Novoseltsev brought a patch that introduced two new options to curl_easy_setopt: CURLOPT_USERNAME and CURLOPT_PASSWORD that sort of deprecates the good old CURLOPT_USERPWD since they allow applications to set the user name and password independently and perhaps more importantly allow both to contain colon(s) which CURLOPT_USERPWD doesn't fully support. Revision 1.751 - (view) (download) (annotate) - [select for diffs] Tue Oct 7 21:56:56 2008 UTC (17 months, 1 week ago) by bagder Branch: MAIN Changes since 1.750: +7 -1 lines Diff to previous 1.750 - Fixed CURLINFO_PRIMARY_IP: When libcurl created a connection to host A then the app re-used the handle to do a connection to host B and then again re-used the handle to host A, it would not update the info with host A's IP address (due to the connection being re-used) but it would instead report the info from host B. Revision 1.750 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 22:45:25 2008 UTC (17 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.749: +3 -1 lines Diff to previous 1.749 Fixed a compile problem with --disable-proxy Revision 1.749 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 21:46:04 2008 UTC (17 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.748: +10 -5 lines Diff to previous 1.748 - Daniel Egger provided a patch that allows you to disable proxy support in libcurl to somewhat reduce the size of the binary. Run configure --disable-proxy. Revision 1.748 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 21:02:22 2008 UTC (17 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.747: +18 -127 lines Diff to previous 1.747 Moved all signal-based name resolution timeout handling into a single new Curl_resolv_timeout function to reduce coupling. Revision 1.747 - (view) (download) (annotate) - [select for diffs] Wed Sep 24 12:22:17 2008 UTC (17 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.746: +1 -6 lines Diff to previous 1.746 ntoa() and inet_ntoa_r() no longer used Revision 1.746 - (view) (download) (annotate) - [select for diffs] Wed Sep 24 01:08:02 2008 UTC (17 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.745: +2 -1 lines Diff to previous 1.745 Make sure not to dereference the wrong UrlState proto union member when switching from one protocol to another in a single request (e.g. redirecting from HTTP to FTP as in test 1055) by resetting state.expect100header before every request. Revision 1.745 - (view) (download) (annotate) - [select for diffs] Fri Sep 19 17:46:59 2008 UTC (17 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.744: +3 -11 lines Diff to previous 1.744 Only define alarmfunc when signals are used Revision 1.744 - (view) (download) (annotate) - [select for diffs] Fri Sep 19 00:43:52 2008 UTC (18 months ago) by danf Branch: MAIN Changes since 1.743: +33 -38 lines Diff to previous 1.743 Don't bother to install a SIGALRM handler unless alarm() is available. Also, leave the existing SIGALRM handler alone if the timeout is too small to handle. Revision 1.743 - (view) (download) (annotate) - [select for diffs] Thu Sep 18 16:21:09 2008 UTC (18 months ago) by yangtse Branch: MAIN Changes since 1.742: +1 -5 lines Diff to previous 1.742 fix compiler warning: external declaration in primary source file Revision 1.742 - (view) (download) (annotate) - [select for diffs] Mon Sep 8 19:34:58 2008 UTC (18 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.741: +5 -5 lines Diff to previous 1.741 fix compiler warning Revision 1.741 - (view) (download) (annotate) - [select for diffs] Sat Sep 6 05:29:06 2008 UTC (18 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.740: +4 -4 lines Diff to previous 1.740 remove unnecessary typecasting of malloc() Revision 1.740 - (view) (download) (annotate) - [select for diffs] Sat Sep 6 04:47:14 2008 UTC (18 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.739: +3 -3 lines Diff to previous 1.739 remove unnecessary typecasting of calloc() Revision 1.739 - (view) (download) (annotate) - [select for diffs] Sat Sep 6 04:28:46 2008 UTC (18 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.738: +2 -3 lines Diff to previous 1.738 remove unnecessary typecasting of realloc() Revision 1.738 - (view) (download) (annotate) - [select for diffs] Fri Sep 5 17:58:59 2008 UTC (18 months, 1 week ago) by danf Branch: MAIN Changes since 1.737: +3 -3 lines Diff to previous 1.737 Improved the logic the decides whether to use HTTP 1.1 features or not in a request. Detect cases where an upload must be sent chunked and the server supports only HTTP 1.0 and return CURLE_UPLOAD_FAILED. Revision 1.737 - (view) (download) (annotate) - [select for diffs] Fri Sep 5 16:13:21 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.736: +17 -8 lines Diff to previous 1.736 - Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames CURLOPT_POST301 (but adds a define for backwards compatibility for you who don't define CURL_NO_OLDIES). This option allows you to now also change the libcurl behavior for a HTTP response 302 after a POST to not use GET in the subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the patch somewhat before commit. The curl tool got a matching --post302 option. Test case 1076 was added to verify this. Revision 1.736 - (view) (download) (annotate) - [select for diffs] Fri Sep 5 14:29:21 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.735: +5 -1 lines Diff to previous 1.735 - Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS or FTPS), libcurl will gather lots of server certificate info and that info can then get extracted by a client after the request has completed with curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing helped me test and smoothen out this feature. Unfortunately, this feature currently only works with libcurl built to use OpenSSL. This feature was sponsored by networking4all.com - thanks! Revision 1.735 - (view) (download) (annotate) - [select for diffs] Thu Sep 4 18:59:06 2008 UTC (18 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.734: +4 -4 lines Diff to previous 1.734 fix print formatting string directives Revision 1.734 - (view) (download) (annotate) - [select for diffs] Tue Sep 2 17:41:21 2008 UTC (18 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.733: +3 -3 lines Diff to previous 1.733 Made some variables const which eliminated some casts Revision 1.733 - (view) (download) (annotate) - [select for diffs] Thu Aug 28 07:37:29 2008 UTC (18 months, 3 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_0 Changes since 1.732: +6 -3 lines Diff to previous 1.732 - Dengminwen reported that libcurl would lock a (cookie) share twice (without an unlock in between) for a certain case and that in fact works when using regular windows mutexes but not with pthreads'! Locks should of course not get locked again so this is now fixed. http://curl.haxx.se/mail/lib-2008-08/0422.html Revision 1.732 - (view) (download) (annotate) - [select for diffs] Thu Aug 28 06:28:07 2008 UTC (18 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.731: +4 -1 lines Diff to previous 1.731 Fixed test case 1065 by changing the handling of CURLOPT_UPLOAD to set the HTTP method to GET (or HEAD) when given a value of 0. Revision 1.731 - (view) (download) (annotate) - [select for diffs] Tue Aug 26 21:28:57 2008 UTC (18 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.730: +8 -2 lines Diff to previous 1.730 Fixed out of memory problems that caused torture test failures in tests 1021 and 1067. Revision 1.730 - (view) (download) (annotate) - [select for diffs] Thu Aug 21 16:20:38 2008 UTC (18 months, 4 weeks ago) by giva Branch: MAIN Changes since 1.729: +16 -9 lines Diff to previous 1.729 Work around a scanf() bug in djgpp 2.04. The assignments for this format is working okay. But the return value is incorrectly EOF. Revision 1.729 - (view) (download) (annotate) - [select for diffs] Sat Aug 16 01:34:00 2008 UTC (19 months ago) by yangtse Branch: MAIN Changes since 1.728: +2 -2 lines Diff to previous 1.728 Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU remain in use as internal curl_off_t print formatting strings for the internal *printf functions which still cannot handle print formatting string directives such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and other DOS/Windows compilers. This reverts previous commit part which did: FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Revision 1.728 - (view) (download) (annotate) - [select for diffs] Fri Aug 15 02:58:16 2008 UTC (19 months ago) by yangtse Branch: MAIN Changes since 1.727: +2 -2 lines Diff to previous 1.727 For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros, the names of the curl_off_t formatting string directives now become CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU. CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Remove the use of an internal name for the curl_off_t formatting string directives and use the common one available from the inside and outside of the library. FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Revision 1.727 - (view) (download) (annotate) - [select for diffs] Mon Aug 11 19:26:01 2008 UTC (19 months, 1 week ago) by bagder Branch: MAIN Changes since 1.726: +20 -11 lines Diff to previous 1.726 - Constantine Sapuntzakis filed bug report #2042440 (http://curl.haxx.se/bug/view.cgi?id=2042440) with a patch. He identified a problem when using NTLM over a proxy but the end-point does Basic, and then libcurl would do wrong when the host sent "Connection: close" as the proxy's NTLM state was erroneously cleared. Revision 1.726 - (view) (download) (annotate) - [select for diffs] Fri Aug 1 02:09:08 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.725: +2 -2 lines Diff to previous 1.725 User names embedded in proxy URLs without a password were parsed incorrectly--the host name is treated as part of the user name and the port number becomes the password. This can be observed in test 279 (was KNOWN_ISSUE #54). Revision 1.725 - (view) (download) (annotate) - [select for diffs] Fri Aug 1 00:55:43 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.724: +669 -590 lines Diff to previous 1.724 Refactored create_conn by breaking it up into many smaller functions Revision 1.724 - (view) (download) (annotate) - [select for diffs] Thu Jul 31 22:46:29 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.723: +15 -7 lines Diff to previous 1.723 Fixed a problem with any FTP URL or any URLs containing an IPv6 address being mangled when passed to proxies when CURLOPT_PORT is also set (reported by Pramod Sharma). Revision 1.723 - (view) (download) (annotate) - [select for diffs] Thu Jul 31 20:04:00 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.722: +8 -6 lines Diff to previous 1.722 Fixed parsing of an IPv6 proxy address to support a scope identifier, as well as IPv4 addresses in IPv6 format. Also, better handle the case of a malformatted IPv6 address (avoid empty and NULL strings). Revision 1.722 - (view) (download) (annotate) - [select for diffs] Thu Jul 31 02:18:01 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.721: +7 -4 lines Diff to previous 1.721 Fixed a couple of problems in the IPv6 scope code. First, a host name in an URL in a Location: header didn't have the scope ID removed, so an invalid host name was used. Second, when the scope ID was removed, it also removed any port number that may have existed in the URL. Revision 1.721 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 21:55:27 2008 UTC (19 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.720: +28 -1 lines Diff to previous 1.720 - Phil Blundell added the CURLOPT_SCOPE option, as well as adjusted the URL parser to allow numerical IPv6-addresses to be specified with the scope given, as per RFC4007 - with a percent letter that itself needs to be URL escaped. For example, for an address of fe80::1234%1 the HTTP URL is: "http://[fe80::1234%251]/" Revision 1.720 - (view) (download) (annotate) - [select for diffs] Fri Jul 11 09:18:30 2008 UTC (20 months, 1 week ago) by bagder Branch: MAIN Changes since 1.719: +104 -111 lines Diff to previous 1.719 indent and comment cleanup (no code change) Revision 1.719 - (view) (download) (annotate) - [select for diffs] Fri Jul 11 09:08:27 2008 UTC (20 months, 1 week ago) by bagder Branch: MAIN Changes since 1.718: +7 -5 lines Diff to previous 1.718 - Daniel Fandrich found out we didn't pass on the user-agent properly when doing "proxy-tunnels" with non-HTTP prototols and that was simply because the code assumed the user-agent was only needed for HTTP. Revision 1.718 - (view) (download) (annotate) - [select for diffs] Thu Jul 3 06:56:04 2008 UTC (20 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.717: +2 -1 lines Diff to previous 1.717 Introcuding a new timestamp for curl_easy_getinfo(): CURLINFO_APPCONNECT_TIME. This is set with the "application layer" handshake/connection is completed (typically SSL, TLS or SSH). By using this you can figure out the application layer's own connect time. You can extract the time stamp using curl's -w option and the new variable named 'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar. Revision 1.717 - (view) (download) (annotate) - [select for diffs] Tue Jul 1 21:53:18 2008 UTC (20 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.716: +12 -12 lines Diff to previous 1.716 CreateConnection collided with a function using the exact same name in the INTEGRITY RTOS, so I renamed it to create_conn. It then made sense to also rename SetupConnection to setup_conn to match it. Revision 1.716 - (view) (download) (annotate) - [select for diffs] Mon Jun 30 13:07:06 2008 UTC (20 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.715: +2 -2 lines Diff to previous 1.715 - Stephen Collyer and Tor Arntsen helped identify a flaw in the range code which output the range using a signed variable where it should rather use unsigned. Revision 1.715 - (view) (download) (annotate) - [select for diffs] Sun Jun 22 06:57:00 2008 UTC (20 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.714: +2 -2 lines Diff to previous 1.714 Stopped using ranges in scanf character sequences (e.g. %[a-z]) since that is not ANSI C, just a common extension. This caused problems on at least Open Watcom C. Revision 1.714 - (view) (download) (annotate) - [select for diffs] Thu Jun 19 08:31:23 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.713: +5 -4 lines Diff to previous 1.713 - Dengminwen found a bug in the connection re-use function when using the multi interface with pipelining enabled as it would wrongly check for, detect and close "dead connections" even though that connection was already in use! Revision 1.713 - (view) (download) (annotate) - [select for diffs] Fri Jun 6 20:52:32 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.712: +10 -1 lines Diff to previous 1.712 - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_ISSUERCERT, for OpenSSL, NSS and GnuTLS-built libcurls. Revision 1.712 - (view) (download) (annotate) - [select for diffs] Fri Jun 6 18:40:21 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.711: +10 -1 lines Diff to previous 1.711 - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_CRLFILE, for OpenSSL, NSS and GnuTLS-built libcurls. Revision 1.711 - (view) (download) (annotate) - [select for diffs] Wed Apr 30 21:20:09 2008 UTC (22 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_18_2 Changes since 1.710: +6 -1 lines Diff to previous 1.710 - To make it easier for applications that want lots of magic stuff done on redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now introduce the new CURLINFO_REDIRECT_URL option that lets applications extract the URL libcurl would've redirected to if it had been told to. This then enables the application to continue to that URL as it thinks is suitable, without having to re-implement the magic of creating the new URL from the Location: header etc. Test 1029 verifies it. Revision 1.710 - (view) (download) (annotate) - [select for diffs] Tue Apr 22 22:53:54 2008 UTC (22 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.709: +5 -1 lines Diff to previous 1.709 Added support for running on Symbian OS. Revision 1.709 - (view) (download) (annotate) - [select for diffs] Sat Apr 5 21:13:31 2008 UTC (23 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.708: +2 -2 lines Diff to previous 1.708 provide CURL_DEFAULT_PROXY_PORT set to 1080 for the default port libcurl assumes proxies to use Revision 1.708 - (view) (download) (annotate) - [select for diffs] Thu Apr 3 21:44:50 2008 UTC (23 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.707: +8 -4 lines Diff to previous 1.707 - Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method to GET simply because previously when you set CURLOPT_NOBODY to TRUE first and then FALSE you'd end up in a broken state where a HTTP request would do a HEAD by still act a lot like for a GET and hang waiting for the content etc. Revision 1.707 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 12:09:43 2008 UTC (23 months, 2 weeks ago) by mmarek Branch: MAIN Changes since 1.706: +1 -2 lines Diff to previous 1.706 Removed the generated ca-bundle.h file. The verbatim value of $ca and $capath is known to configure, so it can be defined in config.h instead. Revision 1.706 - (view) (download) (annotate) - [select for diffs] Tue Mar 25 19:19:49 2008 UTC (23 months, 3 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_18_1 Changes since 1.705: +7 -1 lines Diff to previous 1.705 - Made setting the CURLOPT_SSL_CTX_FUNCTION option return a failure in case libcurl wasn't built to use OpenSSL as that is a prerequisite for this option to function! Revision 1.705 - (view) (download) (annotate) - [select for diffs] Thu Mar 20 08:09:24 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.704: +5 -3 lines Diff to previous 1.704 - Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by default instead of a ca bundle. The configure script will also look for a ca path if no ca bundle is found and no option given. - Fixed detection of previously installed curl-ca-bundle.crt Revision 1.704 - (view) (download) (annotate) - [select for diffs] Thu Feb 21 12:28:45 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.703: +8 -3 lines Diff to previous 1.703 assert that the *connp is a non-NULL pointer when Curl_done() is called Revision 1.703 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 09:56:26 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.702: +12 -5 lines Diff to previous 1.702 - Based on initial work done by Gautam Kachroo to address a bug, we now keep better control at the exact state of the connection's SSL status so that we know exactly when it has completed the SSL negotiation or not so that there won't be accidental re-uses of connections that are wrongly believed to be in SSL-completed-negotiate state. Revision 1.702 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 08:28:02 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.701: +1 -3 lines Diff to previous 1.701 - We no longer support setting the CURLOPT_URL option from inside a callback such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location: following. The patch that introduced this feature was done for 7.11.0, but this code and functionality has been broken since about 7.15.4 (March 2006) with the introduction of non-blocking OpenSSL "connects". It was a hack to begin with and since it doesn't work and hasn't worked correctly for a long time and nobody has even noticed, I consider it a very suitable subject for plain removal. And so it was done. Revision 1.701 - (view) (download) (annotate) - [select for diffs] Sun Feb 17 13:43:32 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.700: +10 -3 lines Diff to previous 1.700 In Curl_done() if premature is TRUE, it means this connection was said to be DONE before the entire request operation is complete and thus we can't know in what state it is for re-using, so we're forced to close it. In a perfect world we can add code that keep track of if we really must close it here or not, but currently we have no such detail knowledge. Jerome Muffat-Meridol helped us work this out. Revision 1.700 - (view) (download) (annotate) - [select for diffs] Fri Feb 15 21:38:54 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.699: +3 -2 lines Diff to previous 1.699 mention that we explicitly ignore the return code Revision 1.699 - (view) (download) (annotate) - [select for diffs] Sun Feb 3 12:31:35 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.698: +8 -15 lines Diff to previous 1.698 - Dmitry Kurochkin cleaned up the pipelining code and removed the need for and use of the "is_in_pipeline" struct field. Revision 1.698 - (view) (download) (annotate) - [select for diffs] Thu Jan 31 12:04:33 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.697: +3 -19 lines Diff to previous 1.697 - Dmitry Kurochkin moved several struct fields from the connectdata struct to the SingleRequest one to make pipelining better. It is a bit tricky to keep them in the right place, to keep things related to the actual request or to the actual connection in the right place. Revision 1.697 - (view) (download) (annotate) - [select for diffs] Tue Jan 29 12:58:25 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.696: +11 -6 lines Diff to previous 1.696 - Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously crash! Revision 1.696 - (view) (download) (annotate) - [select for diffs] Mon Jan 21 23:48:58 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_18_0 Changes since 1.695: +2 -2 lines Diff to previous 1.695 Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed that it is bad anyway. Starting now, removing a handle that is in used in a pipeline will break the pipeline - it'll be set back up again but still... Revision 1.695 - (view) (download) (annotate) - [select for diffs] Wed Jan 16 12:24:00 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.694: +75 -75 lines Diff to previous 1.694 Dmitry Kurochkin worked a lot on improving the HTTP Pipelining support that previously had a number of flaws, perhaps most notably when an application fired up N transfers at once as then they wouldn't pipeline at all that nicely as anyone would think... Test case 530 was also updated to take the improved functionality into account. Revision 1.694 - (view) (download) (annotate) - [select for diffs] Tue Jan 15 22:44:12 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.693: +3 -8 lines Diff to previous 1.693 Woops, partly revert my previous commit and do it slightly differently instead. The signalling of that a global DNS cache is wanted is done by setting the option but the setting of the internal variable that it is in use must not be done until it finally actually gets used! NOTE and WARNING: I noticed that you can't actually switch off the global dns cache with CURLOPT_DNS_USE_GLOBAL_CACHE but you couldn't do that previously either and the option is very clearly and loudly documented as DO NOTE USE so I won't bother to fix this bug now. Revision 1.693 - (view) (download) (annotate) - [select for diffs] Tue Jan 15 22:15:55 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.692: +9 -9 lines Diff to previous 1.692 I made the torture test on test 530 go through. This was actually due to silly code left from when we switched to let the multi handle "hold" the dns cache when using the multi interface... Of course this only triggered when a certain function call returned error at the correct moment. Revision 1.692 - (view) (download) (annotate) - [select for diffs] Thu Jan 10 10:30:20 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.691: +19 -1 lines Diff to previous 1.691 Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow libcurl to seek in a given input stream. This is particularly important when doing upload resumes when there's already a huge part of the file present remotely. Before, and still if this callback isn't used, libcurl will read and through away the entire file up to the point to where the resuming begins (which of course can be a slow opereration depending on file size, I/O bandwidth and more). This new function will also be preferred to get used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when doing multi-stage HTTP auth with POST/PUT. Revision 1.691 - (view) (download) (annotate) - [select for diffs] Tue Jan 8 14:52:07 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.690: +8 -1 lines Diff to previous 1.690 Introducing curl_easy_pause() and new magic return codes for both the read and the write callbacks that now can make a connection's reading and/or writing get paused. Revision 1.690 - (view) (download) (annotate) - [select for diffs] Sun Jan 6 21:41:38 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.689: +2 -2 lines Diff to previous 1.689 more SOCKS5_HOSTNAME adjustments from Richard Atterer Revision 1.689 - (view) (download) (annotate) - [select for diffs] Sun Jan 6 12:54:16 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.688: +5 -3 lines Diff to previous 1.688 make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well Revision 1.688 - (view) (download) (annotate) - [select for diffs] Sat Jan 5 22:04:18 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.687: +1 -9 lines Diff to previous 1.687 Based on further discussion on curl-library, I reverted yesterday's SOCKS5 code to instead introduce support for a new proxy type called CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy instead of IP address and there's thus no longer any need for a new curl_easy_setopt() option. The default SOCKS5 proxy is again back to sending the IP address to the proxy. The new curl command line option for enabling sending host name to a SOCKS5 proxy is now --socks5-hostname. Revision 1.687 - (view) (download) (annotate) - [select for diffs] Fri Jan 4 23:01:01 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.686: +9 -1 lines Diff to previous 1.686 Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let the proxy do the host name resolving and only if --socks5ip (or CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and pass on the IP address only to the proxy. Revision 1.686 - (view) (download) (annotate) - [select for diffs] Thu Jan 3 15:18:27 2008 UTC (2 years, 2 months ago) by giva Branch: MAIN Changes since 1.685: +3 -3 lines Diff to previous 1.685 'false' and 'true' are not built-ins on most compilers. Use TRUE/FALSE from setup_once.h. Revision 1.685 - (view) (download) (annotate) - [select for diffs] Wed Jan 2 21:40:12 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.684: +9 -5 lines Diff to previous 1.684 Richard Atterer brought a patch that added support for SOCKS4a proxies, which is an inofficial PROXY4 variant that sends the hostname to the proxy instead of the resolved address (which is already supported by SOCKS5). --socks4a is the curl command line option for it and CURLOPT_PROXYTYPE can now be set to CURLPROXY_SOCKS4A as well. Revision 1.684 - (view) (download) (annotate) - [select for diffs] Wed Dec 26 23:29:36 2007 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.683: +2 -2 lines Diff to previous 1.683 Dmitry Kurochkin mentioned a flaw (http://curl.haxx.se/mail/lib-2007-12/0252.html) in detect_proxy() which failed to set the bits.proxy variable properly when an environment variable told libcurl to use a http proxy. Revision 1.683 - (view) (download) (annotate) - [select for diffs] Sat Dec 8 22:50:55 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.682: +39 -39 lines Diff to previous 1.682 All static functions that were previously name Curl_* something no longer use that prefix as we use that prefix only for library-wide internal global symbols. Revision 1.682 - (view) (download) (annotate) - [select for diffs] Sun Dec 2 23:38:24 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.681: +18 -1 lines Diff to previous 1.681 Michal Marek introduced CURLOPT_PROXY_TRANSFER_MODE which is used to control the appending of the "type=" thing on FTP URLs when they are passed to a HTTP proxy. Some proxies just don't like that appending (which is done unconditionally in 7.17.1), and some proxies treat binary/ascii transfers better with the appending done! Revision 1.681 - (view) (download) (annotate) - [select for diffs] Sat Nov 24 23:18:21 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.680: +2 -2 lines Diff to previous 1.680 reqdata doesn't exist anymore and the path moved to the UrlState struct Revision 1.680 - (view) (download) (annotate) - [select for diffs] Sat Nov 24 23:16:55 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.679: +38 -48 lines Diff to previous 1.679 struct HandleData is now called struct SingleRequest, and is only for data that is inited at the start of the DO action. I removed the Curl_transfer_keeper struct completely, and I had to move out a few struct members (that had to be set before DO or used after DONE) to the UrlState struct. The SingleRequest struct is accessed with SessionHandle->req. One of the biggest reasons for doing this was the bunch of duplicate struct members in HandleData and Curl_transfer_keeper since it was really messy to keep track of two variables with the same name and basically the same purpose! Revision 1.679 - (view) (download) (annotate) - [select for diffs] Wed Nov 21 22:37:55 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.678: +7 -3 lines Diff to previous 1.678 Make the do_complete() function not get called until the DO actually is compelete, which bascially means when used with the multi interface Revision 1.678 - (view) (download) (annotate) - [select for diffs] Tue Nov 20 22:59:10 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.677: +4 -8 lines Diff to previous 1.677 remove the unconditional enabling of cookies if you set a share to use! Revision 1.677 - (view) (download) (annotate) - [select for diffs] Thu Nov 15 21:45:45 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.676: +73 -4 lines Diff to previous 1.676 Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into do_init() and do_complete() which now are called first and last in the DO function. It simplified the flow in multi.c and the functions got more sensible names! Revision 1.676 - (view) (download) (annotate) - [select for diffs] Mon Nov 12 21:42:20 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.675: +4 -4 lines Diff to previous 1.675 comment language Revision 1.675 - (view) (download) (annotate) - [select for diffs] Mon Nov 12 21:38:43 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.674: +12 -7 lines Diff to previous 1.674 Bug report #1830637 (http://curl.haxx.se/bug/view.cgi?id=1830637), which was forwarded from the Gentoo bug tracker by Daniel Black and was originally submitted by Robin Johnson, pointed out that libcurl would do bad memory references when it failed and bailed out before the handler thing was setup. My fix is not done like the provided patch does it, but instead I make sure that there's never any chance for a NULL pointer in that struct member. Revision 1.674 - (view) (download) (annotate) - [select for diffs] Thu Nov 8 19:28:25 2007 UTC (2 years, 4 months ago) by yangtse Branch: MAIN Changes since 1.673: +2 -2 lines Diff to previous 1.673 Fix compiler warning: integral size mismatch in argument Revision 1.673 - (view) (download) (annotate) - [select for diffs] Mon Nov 5 09:45:09 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.672: +97 -97 lines Diff to previous 1.672 removed space after if and while before the parenthesis for better source code consistency Revision 1.672 - (view) (download) (annotate) - [select for diffs] Tue Oct 30 23:00:40 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.671: +7 -5 lines Diff to previous 1.671 Fixed an OOM problem with file: URLs Moved Curl_file_connect into the protocol handler struct. Revision 1.671 - (view) (download) (annotate) - [select for diffs] Fri Oct 26 01:12:33 2007 UTC (2 years, 4 months ago) by yangtse Branch: MAIN CVS Tags: curl-7_17_1 Changes since 1.670: +2 -2 lines Diff to previous 1.670 typecast to prevent compiler warning Revision 1.670 - (view) (download) (annotate) - [select for diffs] Thu Oct 25 09:41:35 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.669: +2 -4 lines Diff to previous 1.669 Don't assume there's a sessionhandle around when a connection is disconnected, so do the data->reqdata.current_conn assignment when we know there is an easy handle existing! Fixes the valgrind report on test 509. Revision 1.669 - (view) (download) (annotate) - [select for diffs] Tue Oct 23 21:00:51 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.668: +13 -9 lines Diff to previous 1.668 Bug report #1812190 (http://curl.haxx.se/bug/view.cgi?id=1812190) points out that libcurl tried to re-use connections a bit too much when using non-SSL protocols tunneled over a HTTP proxy. Revision 1.668 - (view) (download) (annotate) - [select for diffs] Mon Oct 22 15:05:35 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.667: +17 -1 lines Diff to previous 1.667 Michal Marek forwarded the bug report https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to FTP that caused memory havoc. His work together with my efforts created two fixes: #1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with at connection cleanup, at which time the struct HandleData could be used by another connection. Also, the unused char *urlpath member is removed from struct FTP. #2 - provide a Curl_reset_reqproto() function that frees data->reqdata.proto.* on connection setup if needed (that is if the SessionHandle was used by a different connection). Revision 1.667 - (view) (download) (annotate) - [select for diffs] Mon Oct 22 09:25:45 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.666: +14 -6 lines Diff to previous 1.666 Bug report #1815530 (http://curl.haxx.se/bug/view.cgi?id=1815530) points out that specifying a proxy with a trailing slash didn't work (unless it also contained a port number). Revision 1.666 - (view) (download) (annotate) - [select for diffs] Sat Oct 20 15:47:16 2007 UTC (2 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.665: +4 -4 lines Diff to previous 1.665 We use this ZERO_NULL to avoid picky compiler warnings, when assigning a NULL pointer to a function pointer var. Revision 1.665 - (view) (download) (annotate) - [select for diffs] Sat Oct 20 15:11:51 2007 UTC (2 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.664: +2 -2 lines Diff to previous 1.664 Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits Revision 1.664 - (view) (download) (annotate) - [select for diffs] Thu Oct 18 10:54:49 2007 UTC (2 years, 5 months ago) by patrickm Branch: MAIN Changes since 1.663: +14 -6 lines Diff to previous 1.663 Allow CURLOPT_COPYPOSTFIELDS with explicit data size = 0 Revision 1.663 - (view) (download) (annotate) - [select for diffs] Thu Oct 18 01:04:57 2007 UTC (2 years, 5 months ago) by danf Branch: MAIN Changes since 1.662: +2 -2 lines Diff to previous 1.662 Avoid a NULL pointer dereference in an OOM condition. Revision 1.662 - (view) (download) (annotate) - [select for diffs] Wed Oct 17 19:29:06 2007 UTC (2 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.661: +3 -3 lines Diff to previous 1.661 Fix overflow detection, take four. Avoiding zero size malloc. Revision 1.661 - (view) (download) (annotate) - [select for diffs] Wed Oct 17 18:06:32 2007 UTC (2 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.660: +4 -3 lines Diff to previous 1.660 Fix overflow detection, thanks to Patrick Monnerat detecting test failure condition: http://curl.haxx.se/mail/lib-2007-10/0152.html Revision 1.660 - (view) (download) (annotate) - [select for diffs] Wed Oct 17 16:58:32 2007 UTC (2 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.659: +11 -19 lines Diff to previous 1.659 We use this ZERO_NULL to avoid picky compiler warnings, when assigning a NULL pointer to a function pointer var. Revision 1.659 - (view) (download) (annotate) - [select for diffs] Tue Oct 16 23:32:02 2007 UTC (2 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.658: +3 -5 lines Diff to previous 1.658 ANSI C compliant overflow check Revision 1.658 - (view) (download) (annotate) - [select for diffs] Tue Oct 16 18:09:57 2007 UTC (2 years, 5 months ago) by danf Branch: MAIN Changes since 1.657: +4 -2 lines Diff to previous 1.657 Fixed compiler warning re: unused variable `bigsize' Revision 1.657 - (view) (download) (annotate) - [select for diffs] Mon Oct 15 18:32:01 2007 UTC (2 years, 5 months ago) by patrickm Branch: MAIN Changes since 1.656: +65 -6 lines Diff to previous 1.656 Fix dynamic CURLOPT_POSTFIELDS bug: back to static. CURLOPT_COPYPOSTFIELDS option added for dynamic. Fix some OS400 features. Revision 1.656 - (view) (download) (annotate) - [select for diffs] Mon Oct 15 16:24:46 2007 UTC (2 years, 5 months ago) by danf Branch: MAIN Changes since 1.655: +2 -2 lines Diff to previous 1.655 Fix LDAP compile error when LDAP is not available. Fixed a typo in the LDAP configure code and made sure NULL is defined in a test programs that need it. Revision 1.655 - (view) (download) (annotate) - [select for diffs] Sat Oct 13 00:47:53 2007 UTC (2 years, 5 months ago) by danf Branch: MAIN Changes since 1.654: +8 -7 lines Diff to previous 1.654 Made a few more functions static with the protocol handler table in place. Revision 1.654 - (view) (download) (annotate) - [select for diffs] Fri Oct 12 20:53:43 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.653: +15 -17 lines Diff to previous 1.653 another Curl_handler fix, the #ifdefs got a bit mixed up... Revision 1.653 - (view) (download) (annotate) - [select for diffs] Fri Oct 12 18:49:14 2007 UTC (2 years, 5 months ago) by danf Branch: MAIN Changes since 1.652: +4 -4 lines Diff to previous 1.652 Fixed a few compile errors and warnings. Revision 1.652 - (view) (download) (annotate) - [select for diffs] Fri Oct 12 13:36:38 2007 UTC (2 years, 5 months ago) by patrickm Branch: MAIN Changes since 1.651: +121 -290 lines Diff to previous 1.651 Added per-protocol callback static tables, replacing callback ptr storage in the connectdata structure by a single handler table ptr. Revision 1.651 - (view) (download) (annotate) - [select for diffs] Fri Oct 5 14:37:33 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.650: +41 -25 lines Diff to previous 1.650 Michael Wallner made the CULROPT_COOKIELIST option support a new magic string: "FLUSH". Using that will cause libcurl to flush its cookies to the CURLOPT_COOKIEJAR file. Revision 1.650 - (view) (download) (annotate) - [select for diffs] Wed Oct 3 08:45:00 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.649: +77 -62 lines Diff to previous 1.649 Alexey Pesternikov introduced CURLOPT_OPENSOCKETFUNCTION and CURLOPT_OPENSOCKETDATA to set a callback that allows an application to replace the socket() call used by libcurl. It basically allows the app to change address, protocol or whatever of the socket. (I also did some whitespace indent/cleanups in lib/url.c which kind of hides some of these changes, sorry for mixing those in.) Revision 1.649 - (view) (download) (annotate) - [select for diffs] Wed Oct 3 08:00:42 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.648: +9 -2 lines Diff to previous 1.648 Based on a patch brought by Johnny Luong, libcurl now offers CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make the SCP or SFTP connection verify the remote host's md5 checksum of the public key before doing a connect, to reduce the risk of a man-in-the-middle attack. Revision 1.648 - (view) (download) (annotate) - [select for diffs] Tue Oct 2 15:26:30 2007 UTC (2 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.647: +2 -2 lines Diff to previous 1.647 Fix compiler warning Revision 1.647 - (view) (download) (annotate) - [select for diffs] Thu Sep 27 01:45:23 2007 UTC (2 years, 5 months ago) by danf Branch: MAIN Changes since 1.646: +26 -26 lines Diff to previous 1.646 Enabled a few more gcc warnings with --enable-debug. Renamed a few variables to avoid shadowing global declarations. Revision 1.646 - (view) (download) (annotate) - [select for diffs] Wed Sep 26 12:44:59 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.645: +8 -1 lines Diff to previous 1.645 Philip Langdale provided the new CURLOPT_POST301 option for curl_easy_setopt() that alters how libcurl functions when following redirects. It makes libcurl obey the RFC2616 when a 301 response is received after a non-GET request is made. Default libcurl behaviour is to change method to GET in the subsequent request (like it does for response code 302 - because that's what many/most browsers do), but with this CURLOPT_POST301 option enabled it will do what the spec says and do the next request using the same method again. I.e keep POST after 301. The curl tool got this option as --post301 Test case 1011 and 1012 were added to verify. Revision 1.645 - (view) (download) (annotate) - [select for diffs] Fri Aug 31 19:36:33 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN CVS Tags: curl-7_17_0 Changes since 1.644: +3 -3 lines Diff to previous 1.644 Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED. Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility. Revision 1.644 - (view) (download) (annotate) - [select for diffs] Thu Aug 30 20:34:58 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.643: +10 -10 lines Diff to previous 1.643 Renamed several libcurl error codes and options to make them more general and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3) Revision 1.643 - (view) (download) (annotate) - [select for diffs] Wed Aug 29 05:36:53 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.642: +1 -2 lines Diff to previous 1.642 Added lots of consts Revision 1.642 - (view) (download) (annotate) - [select for diffs] Sun Aug 26 05:53:26 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.641: +28 -25 lines Diff to previous 1.641 Fixed some minor mismatched types found by splint. Revision 1.641 - (view) (download) (annotate) - [select for diffs] Thu Aug 16 14:08:47 2007 UTC (2 years, 7 months ago) by gknauf Branch: MAIN Changes since 1.640: +18 -1 lines Diff to previous 1.640 added basic ldaps support; for now its ifdef'd with HAVE_LDAP_SSL unless we know its fully working, and available with all LDAP SDKs. Win32 requires to have the trusted CA in local keystore - I've not found yet a way to disable the cert check. Revision 1.640 - (view) (download) (annotate) - [select for diffs] Sat Aug 11 20:57:54 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.639: +2 -2 lines Diff to previous 1.639 Patrick Monnerat modified the LDAP code and approach in curl. Starting now, the configure script checks for openldap and friends and we link with those libs just like we link all other third party libraries, and we no longer dlopen() those libraries. Our private header file lib/ldap.h was renamed to lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix) just before this commit, just in case. Revision 1.639 - (view) (download) (annotate) - [select for diffs] Tue Aug 7 18:24:49 2007 UTC (2 years, 7 months ago) by danf Branch: MAIN CVS Tags: curl-7_17_0-preldapfix Changes since 1.638: +3 -2 lines Diff to previous 1.638 Fixed torture test for test 509 Revision 1.638 - (view) (download) (annotate) - [select for diffs] Tue Aug 7 00:10:28 2007 UTC (2 years, 7 months ago) by danf Branch: MAIN Changes since 1.637: +2 -2 lines Diff to previous 1.637 Fixed some icc compiler warnings. Revision 1.637 - (view) (download) (annotate) - [select for diffs] Sat Aug 4 16:54:58 2007 UTC (2 years, 7 months ago) by danf Branch: MAIN Changes since 1.636: +6 -2 lines Diff to previous 1.636 Fixed a couple of compiler warnings. Revision 1.636 - (view) (download) (annotate) - [select for diffs] Fri Aug 3 22:46:59 2007 UTC (2 years, 7 months ago) by danf Branch: MAIN Changes since 1.635: +511 -440 lines Diff to previous 1.635 Refactored CreateConnection() somewhat to reduce its length by splitting it into a few new functions. Fixed a few leaks in out of memory conditions, including for test case 231. Revision 1.635 - (view) (download) (annotate) - [select for diffs] Fri Aug 3 13:46:59 2007 UTC (2 years, 7 months ago) by jehousley Branch: MAIN Changes since 1.634: +1 -5 lines Diff to previous 1.634 The previous commit to force the use of libssh2-0.16 by removing LIBSSH2_APINO Revision 1.634 - (view) (download) (annotate) - [select for diffs] Thu Aug 2 20:10:28 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.633: +4 -5 lines Diff to previous 1.633 Scott Cantor filed bug report #1766320 (http://curl.haxx.se/bug/view.cgi?id=1766320) pointing out that the libcurl code accessed two curl_easy_setopt() options (CURLOPT_DNS_CACHE_TIMEOUT and CURLOPT_DNS_USE_GLOBAL_CACHE) as ints even though they're documented to be passed in as longs, and that makes a difference on 64 bit architectures. Revision 1.633 - (view) (download) (annotate) - [select for diffs] Thu Aug 2 19:23:35 2007 UTC (2 years, 7 months ago) by danf Branch: MAIN Changes since 1.632: +2 -2 lines Diff to previous 1.632 Fixed a compiler warning. Revision 1.632 - (view) (download) (annotate) - [select for diffs] Thu Aug 2 14:09:09 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.631: +18 -12 lines Diff to previous 1.631 Dmitriy Sergeyev reported a regression: resumed file:// transfers broke after 7.16.2. This is much due to the different treatment file:// gets internally, but now I added test 231 to make it less likely to happen again without us noticing! Revision 1.631 - (view) (download) (annotate) - [select for diffs] Wed Aug 1 21:20:01 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.630: +160 -62 lines Diff to previous 1.630 Patrick Monnerat and I modified libcurl so that now it *copies* all strings passed to it with curl_easy_setopt()! Previously it has always just refered to the data, forcing the user to keep the data around until libcurl is done with it. That is now history and libcurl will instead clone the given strings and keep private copies. Revision 1.630 - (view) (download) (annotate) - [select for diffs] Sun Jul 29 12:54:05 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.629: +4 -3 lines Diff to previous 1.629 Bug report #1759542 (http://curl.haxx.se/bug/view.cgi?id=1759542). A bad use of a socket after it has been closed, when the FTP-SSL data connection is taken down. Revision 1.629 - (view) (download) (annotate) - [select for diffs] Mon Jul 23 21:48:27 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.628: +2 -2 lines Diff to previous 1.628 #if that should be #ifdef Revision 1.628 - (view) (download) (annotate) - [select for diffs] Mon Jul 23 18:51:22 2007 UTC (2 years, 7 months ago) by danf Branch: MAIN Changes since 1.627: +11 -11 lines Diff to previous 1.627 Implemented only the parts of Patrick Monnerat's OS/400 patch that renamed some few internal identifiers to avoid conflicts, which could be useful on other platforms. Revision 1.627 - (view) (download) (annotate) - [select for diffs] Sat Jul 14 15:59:01 2007 UTC (2 years, 8 months ago) by gknauf Branch: MAIN Changes since 1.626: +5 -5 lines Diff to previous 1.626 for now unless we do better fixed LIBSSH2_APINO compares to use long constants. Revision 1.626 - (view) (download) (annotate) - [select for diffs] Thu Jul 12 20:15:38 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.625: +7 -1 lines Diff to previous 1.625 Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation could in fact get stuck in an endless loop. Revision 1.625 - (view) (download) (annotate) - [select for diffs] Wed Jul 11 09:03:22 2007 UTC (2 years, 8 months ago) by gknauf Branch: MAIN Changes since 1.624: +3 -3 lines Diff to previous 1.624 fixed endif comment. Revision 1.624 - (view) (download) (annotate) - [select for diffs] Tue Jul 10 22:26:32 2007 UTC (2 years, 8 months ago) by jehousley Branch: MAIN Changes since 1.623: +12 -4 lines Diff to previous 1.623 * Finish moving sftp:// into a state machine so it won't block in multi mode * Move scp:// into a state machine so it won't block in multi mode * When available use the full directory entry from the sftp:// server Revision 1.623 - (view) (download) (annotate) - [select for diffs] Sun Jul 1 22:01:19 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_4 Changes since 1.622: +5 -8 lines Diff to previous 1.622 Thomas J. Moore provided a patch that introduces Kerberos5 support in libcurl. This also makes the options change name to --krb (from --krb4) and CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still Revision 1.622 - (view) (download) (annotate) - [select for diffs] Wed Jun 27 20:15:48 2007 UTC (2 years, 8 months ago) by jehousley Branch: MAIN Changes since 1.621: +18 -1 lines Diff to previous 1.621 Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files and directories created on the remote server. CURLOPT_NEW_FILE_PERMS defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755 Revision 1.621 - (view) (download) (annotate) - [select for diffs] Thu Jun 21 14:23:38 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_3 Changes since 1.620: +5 -2 lines Diff to previous 1.620 Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread Checker tool reports and it was indeed a legitimate one and it is one fixed. It was a use of a share without doing the proper locking first. Revision 1.620 - (view) (download) (annotate) - [select for diffs] Tue Jun 5 13:41:50 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.619: +3 -1 lines Diff to previous 1.619 mark connect failures as non-connected when ConnectPlease() fails, like when a connection through a socks proxy doesn't work Revision 1.619 - (view) (download) (annotate) - [select for diffs] Wed May 30 09:24:06 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.618: +1 -4 lines Diff to previous 1.618 remove really annoying debug output that makes life miserable when you do hundreds of parallel transfers... Revision 1.618 - (view) (download) (annotate) - [select for diffs] Wed May 2 19:13:56 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.617: +9 -4 lines Diff to previous 1.617 Fixed an out of memory handling issue with HTTP pipelines. Revision 1.617 - (view) (download) (annotate) - [select for diffs] Sun Apr 29 07:04:29 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.616: +15 -15 lines Diff to previous 1.616 Rearranged some allocs so they will be freed correctly in the error path. Revision 1.616 - (view) (download) (annotate) - [select for diffs] Fri Apr 27 08:30:48 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.615: +4 -7 lines Diff to previous 1.615 Move the explictit free of the range string to Curl_close() from Curl_disconnect() since it easy-handle related and not connection-related. Revision 1.615 - (view) (download) (annotate) - [select for diffs] Fri Apr 27 08:19:48 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.614: +1 -9 lines Diff to previous 1.614 oops, this was supposed to be properly removed Revision 1.614 - (view) (download) (annotate) - [select for diffs] Fri Apr 27 08:18:47 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.613: +49 -62 lines Diff to previous 1.613 As a follow-up to the removal of the free of the range data in Curl_done() - this moves and re-arranges how range/resume is setup and freed. Revision 1.613 - (view) (download) (annotate) - [select for diffs] Wed Apr 25 20:20:15 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.612: +1 -11 lines Diff to previous 1.612 Sonia Subramanian brought our attention to a problem that happens if you set the CURLOPT_RESUME_FROM or CURLOPT_RANGE options and an existing connection in the connection cache is closed to make room for the new one when you call curl_easy_perform(). It would then wrongly free range-related data in the connection close funtion. Revision 1.612 - (view) (download) (annotate) - [select for diffs] Tue Apr 24 10:18:06 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.611: +12 -2 lines Diff to previous 1.611 Robert Iakobashvili made the 'master_buffer' get allocated first once it is can/will be used as it then makes the common cases save 16KB of data for each easy handle that isn't used for pipelining. Revision 1.611 - (view) (download) (annotate) - [select for diffs] Tue Apr 10 20:46:40 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_2 Changes since 1.610: +22 -20 lines Diff to previous 1.610 Ravi Pratap provided fixes for HTTP pipelining Revision 1.610 - (view) (download) (annotate) - [select for diffs] Sun Apr 8 22:49:38 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.609: +9 -3 lines Diff to previous 1.609 fix out of memory handling issue Revision 1.609 - (view) (download) (annotate) - [select for diffs] Wed Apr 4 23:41:35 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.608: +3 -1 lines Diff to previous 1.608 Fixes some more out of memory handling bugs. Revision 1.608 - (view) (download) (annotate) - [select for diffs] Tue Apr 3 20:54:37 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.607: +9 -1 lines Diff to previous 1.607 Rob Jones fixed better #ifdef'ing for a bunch of #include lines. Revision 1.607 - (view) (download) (annotate) - [select for diffs] Tue Apr 3 13:26:05 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.606: +2 -3 lines Diff to previous 1.606 recover code simplification lost with last commit Revision 1.606 - (view) (download) (annotate) - [select for diffs] Thu Mar 29 12:29:32 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.605: +4 -3 lines Diff to previous 1.605 fix compiler warning Revision 1.605 - (view) (download) (annotate) - [select for diffs] Wed Mar 28 19:05:43 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.604: +9 -8 lines Diff to previous 1.604 fix compiler warning Revision 1.604 - (view) (download) (annotate) - [select for diffs] Wed Mar 28 04:44:14 2007 UTC (2 years, 11 months ago) by giva Branch: MAIN Changes since 1.603: +4 -1 lines Diff to previous 1.603 Fix compiler warning. Revision 1.603 - (view) (download) (annotate) - [select for diffs] Wed Mar 28 04:23:33 2007 UTC (2 years, 11 months ago) by giva Branch: MAIN Changes since 1.602: +2 -7 lines Diff to previous 1.602 Simplified code around 'tld_errmsg' a bit. Revision 1.602 - (view) (download) (annotate) - [select for diffs] Mon Mar 26 23:23:46 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.601: +2 -2 lines Diff to previous 1.601 Internal function Curl_select() renamed to Curl_socket_ready() Revision 1.601 - (view) (download) (annotate) - [select for diffs] Sun Mar 25 03:20:17 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.600: +2 -2 lines Diff to previous 1.600 fix compiler warning Revision 1.600 - (view) (download) (annotate) - [select for diffs] Sun Mar 25 01:59:52 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.599: +28 -15 lines Diff to previous 1.599 fix compiler warning Revision 1.599 - (view) (download) (annotate) - [select for diffs] Sat Mar 24 17:23:01 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.598: +3 -1 lines Diff to previous 1.598 Fixed a couple of compile problems. Revision 1.598 - (view) (download) (annotate) - [select for diffs] Sat Mar 24 02:15:20 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.597: +70 -61 lines Diff to previous 1.597 Fixed a memory leak when specifying a proxy with a file: URL and added test case 288 to verify it. Revision 1.597 - (view) (download) (annotate) - [select for diffs] Fri Mar 23 22:24:33 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.596: +3 -3 lines Diff to previous 1.596 fix debug message Revision 1.596 - (view) (download) (annotate) - [select for diffs] Sun Mar 11 22:48:58 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.595: +6 -8 lines Diff to previous 1.595 can just as well NULLify the pointer in a single spot Revision 1.595 - (view) (download) (annotate) - [select for diffs] Sat Mar 10 22:51:21 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.594: +5 -1 lines Diff to previous 1.594 Eygene Ryabinkin fixed a use-after-free issue with HTTP transfers with the multi interface Revision 1.594 - (view) (download) (annotate) - [select for diffs] Wed Mar 7 22:42:05 2007 UTC (3 years ago) by danf Branch: MAIN Changes since 1.593: +3 -2 lines Diff to previous 1.593 Honour --ftp-ssl-control on ftps:// URLs to allow encrypted control and unencrypted data connections. Revision 1.593 - (view) (download) (annotate) - [select for diffs] Tue Feb 27 22:12:18 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.592: +3 -3 lines Diff to previous 1.592 - Hang Kin Lau found and fixed: When I use libcurl to connect to an https server through a proxy and have the remote https server port set using the CURLOPT_PORT option, protocol gets reset to http from https after the first request. User defined URL was modified internally by libcurl and subsequent reuse of the easy handle may lead to connection using a different protocol (if not originally http). I found that libcurl hardcoded the protocol to "http" when it tries to regenerate the URL if CURLOPT_PORT is set. I tried to fix the problem as follows and it's working fine so far Revision 1.592 - (view) (download) (annotate) - [select for diffs] Mon Feb 26 04:24:29 2007 UTC (3 years ago) by giva Branch: MAIN Changes since 1.591: +3 -8 lines Diff to previous 1.591 Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files since they're already included through "setup.h". Revision 1.591 - (view) (download) (annotate) - [select for diffs] Thu Feb 22 07:39:45 2007 UTC (3 years ago) by yangtse Branch: MAIN Changes since 1.590: +2 -2 lines Diff to previous 1.590 compiler warning fix Revision 1.590 - (view) (download) (annotate) - [select for diffs] Wed Feb 21 21:59:42 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.589: +35 -9 lines Diff to previous 1.589 - Ravi Pratap provided work on libcurl making pipelining more robust and
fixing some bugs:
o Don't mix GET and POST requests in a pipeline
o Fix the order in which requests are dispatched from the pipeline
o Fixed several curl bugs with pipelining when the server is returning
chunked encoding:
* Added states to chunked parsing for final CRLF
* Rewind buffer after parsing chunk with data remaining
* Moved chunked header initializing to a spot just before receiving
headers
Revision 1.589 - (view) (download) (annotate) - [select for diffs] Wed Feb 21 05:48:07 2007 UTC (3 years ago) by yangtse Branch: MAIN Changes since 1.588: +2 -2 lines Diff to previous 1.588 fix compiler warning "enumerated type mixed with another type" Revision 1.588 - (view) (download) (annotate) - [select for diffs] Tue Feb 20 22:02:11 2007 UTC (3 years ago) by linus Branch: MAIN Changes since 1.587: +2 -2 lines Diff to previous 1.587 New FTP CCC functionality - adds passive and active mode to accomodate for different server behaviour Revision 1.587 - (view) (download) (annotate) - [select for diffs] Mon Feb 19 12:20:33 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.586: +3 -1 lines Diff to previous 1.586 - Shmulik Regev found a memory leak in re-used HTTPS connections, at least when the multi interface was used. Revision 1.586 - (view) (download) (annotate) - [select for diffs] Mon Feb 19 11:53:54 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.585: +5 -3 lines Diff to previous 1.585 - Robson Braga Araujo made passive FTP transfers work with SOCKS (both 4 and 5). Revision 1.585 - (view) (download) (annotate) - [select for diffs] Sun Feb 18 23:02:44 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.584: +11 -9 lines Diff to previous 1.584 - Jeff Pohlmeyer identified two problems: first a rather obscure problem with the multi interface and connection re-use that could make a curl_multi_remove_handle() ruin a pointer in another handle. The second problem was less of an actual problem but more of minor quirk: the re-using of connections wasn't properly checking if the connection was marked for closure. Revision 1.584 - (view) (download) (annotate) - [select for diffs] Mon Feb 12 21:13:51 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.583: +14 -1 lines Diff to previous 1.583 - Shmulik Regev fixed so that the final CRLF of HTTP response headers are sent to the debug callback. - Shmulik Regev added CURLOPT_HTTP_CONTENT_DECODING and CURLOPT_HTTP_TRANSFER_DECODING that if set to zero will disable libcurl's internal decoding of content or transfer encoded content. This may be preferable in cases where you use libcurl for proxy purposes or similar. The command line tool got a --raw option to disable both at once. Revision 1.583 - (view) (download) (annotate) - [select for diffs] Mon Feb 5 22:51:33 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.582: +17 -3 lines Diff to previous 1.582 - Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the timeouts with millisecond resolution instead. The only restriction to that is the alarm() (sometimes) used to abort name resolves as that uses full seconds. I fixed the FTP response timeout part of the patch. Internally we now count and keep the timeouts in milliseconds but it also means we multiply set timeouts with 1000. The effect of this is that no timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which equals 24.86 days. We probably couldn't before either since the code did *1000 on the timeout values on several places already. Revision 1.582 - (view) (download) (annotate) - [select for diffs] Sat Feb 3 09:33:54 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.581: +33 -31 lines Diff to previous 1.581 - Manfred Schwarb reported that socks5 support was broken and help us pinpoint the problem. The code now tries harder to use httproxy and proxy where apppropriate, as not all proxies are HTTP... Revision 1.581 - (view) (download) (annotate) - [select for diffs] Thu Feb 1 01:42:14 2007 UTC (3 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.580: +15 -5 lines Diff to previous 1.580 compiler warning fix Revision 1.580 - (view) (download) (annotate) - [select for diffs] Wed Jan 31 19:47:49 2007 UTC (3 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.579: +8 -3 lines Diff to previous 1.579 add debug messages for initialization failures Revision 1.579 - (view) (download) (annotate) - [select for diffs] Sun Jan 28 22:45:22 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_16_1 Changes since 1.578: +5 -1 lines Diff to previous 1.578 Andreas Rieke added extra infof() for when a connection is not re-used due to SSL conditions not being the same Revision 1.578 - (view) (download) (annotate) - [select for diffs] Thu Jan 25 01:35:44 2007 UTC (3 years, 1 month ago) by danf Branch: MAIN Changes since 1.577: +4 -3 lines Diff to previous 1.577 Fixed a dangling pointer problem that prevented the http_proxy environment variable from being properly used in many cases (and caused test case 63 to fail). Revision 1.577 - (view) (download) (annotate) - [select for diffs] Tue Jan 16 22:22:25 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.576: +4 -4 lines Diff to previous 1.576 - Armel Asselin improved libcurl to behave a lot better when an easy handle doing an FTP transfer is removed from a multi handle before completion. The fix also fixed the "alive counter" to be correct on "premature removal" for all protocols. Revision 1.576 - (view) (download) (annotate) - [select for diffs] Sun Jan 14 14:57:58 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.575: +2 -2 lines Diff to previous 1.575 - David McCreedy provided libcurl changes for doing HTTP communication on non-ASCII platforms. It does add some complexity, most notably with more #ifdefs, but I want to see this supported added and I can't see how we can add it without the extra stuff added. Revision 1.575 - (view) (download) (annotate) - [select for diffs] Fri Jan 5 23:11:16 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.574: +6 -2 lines Diff to previous 1.574 - Linus Nielsen Feltzing introduced the --ftp-ssl-ccc command line option to curl that uses the new CURLOPT_FTP_SSL_CCC option in libcurl. If enabled, it will make libcurl shutdown SSL/TLS after the authentication is done on a FTP-SSL operation. Revision 1.574 - (view) (download) (annotate) - [select for diffs] Fri Dec 22 15:05:00 2006 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.573: +22 -36 lines Diff to previous 1.573 - Robert Foreman provided a prime example snippet showing how libcurl would get confused and not acknowledge the 'no_proxy' variable properly once it had used the proxy and you re-used the same easy handle. I made sure the proxy name is properly stored in the connect struct rather than the sessionhandle/easy struct. Revision 1.573 - (view) (download) (annotate) - [select for diffs] Fri Dec 22 07:30:21 2006 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.572: +2 -2 lines Diff to previous 1.572 When setting a proxy with environment variables and (for example) running 'curl [URL]' with a URL without a protocol prefix, curl would not send a correct request as it failed to add the protocol prefix. Revision 1.572 - (view) (download) (annotate) - [select for diffs] Thu Dec 21 10:15:40 2006 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.571: +3 -1 lines Diff to previous 1.571 Robson Braga Araujo reported bug #1618359 (http://curl.haxx.se/bug/view.cgi?id=1618359) and subsequently provided a patch for it: when downloading 2 zero byte files in a row, curl 7.16.0 enters an infinite loop, while curl 7.16.1-20061218 does one additional unnecessary request. Fix: During the "Major overhaul introducing http pipelining support and shared connection cache within the multi handle." change, headerbytecount was moved to live in the Curl_transfer_keeper structure. But that structure is reset in the Transfer method, losing the information that we had about the header size. This patch moves it back to the connectdata struct. Revision 1.571 - (view) (download) (annotate) - [select for diffs] Mon Dec 11 09:32:59 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.570: +3 -6 lines Diff to previous 1.570 Alexey Simak found out that when doing FTP with the multi interface and something went wrong like it got a bad response code back from the server, libcurl would leak memory. Added test case 538 to verify the fix. I also noted that the connection would get cached in that case, which doesn't make sense since it cannot be re-use when the authentication has failed. I fixed that issue too at the same time, and also that the path would be "remembered" in vain for cases where the connection was about to get closed. Revision 1.570 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 21:39:24 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.569: +3 -21 lines Diff to previous 1.569 removed the final traces of the closepolicy option Revision 1.569 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 15:36:27 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.568: +19 -3 lines Diff to previous 1.568 Jared Lundell filed bug report #1604956 (http://curl.haxx.se/bug/view.cgi?id=1604956) which identified setting CURLOPT_MAXCONNECTS to zero caused libcurl to SIGSEGV. Starting now, libcurl will always internally use no less than 1 entry in the connection cache. Revision 1.568 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 15:17:33 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.567: +4 -5 lines Diff to previous 1.567 CURLOPT_FORBID_REUSE works again with a cleaned up order of doing things in Curl_done() Revision 1.567 - (view) (download) (annotate) - [select for diffs] Sat Nov 25 01:02:53 2006 UTC (3 years, 3 months ago) by yangtse Branch: MAIN Changes since 1.566: +1 -4 lines Diff to previous 1.566 Make sure RETSIGTYPE is properly defined Revision 1.566 - (view) (download) (annotate) - [select for diffs] Fri Nov 24 22:14:40 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.565: +21 -6 lines Diff to previous 1.565 James Housley did lots of work and introduced SFTP downloads. Revision 1.565 - (view) (download) (annotate) - [select for diffs] Thu Nov 9 21:54:33 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.564: +5 -2 lines Diff to previous 1.564 Dmitriy Sergeyev found a SIGSEGV with his test04.c example posted on 7 Nov 2006. It turned out we wrongly assumed that the connection cache was present when tearing down a connection. Revision 1.564 - (view) (download) (annotate) - [select for diffs] Tue Nov 7 14:07:02 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.563: +7 -2 lines Diff to previous 1.563 Olaf fixed a leftover problem with the CONNECT fix of his that would leave a wrong error message in the error message buffer. Revision 1.563 - (view) (download) (annotate) - [select for diffs] Mon Nov 6 18:27:25 2006 UTC (3 years, 4 months ago) by yangtse Branch: MAIN Changes since 1.562: +2 -2 lines Diff to previous 1.562 compiler warning fix Revision 1.562 - (view) (download) (annotate) - [select for diffs] Fri Nov 3 12:43:56 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.561: +34 -22 lines Diff to previous 1.561 Olaf Stueben provided a patch that I edited slightly. It fixes the notorious KNOWN_BUGS #25, which happens when a proxy closes the connection when libcurl has sent CONNECT, as part of an authentication negotiation. Starting now, libcurl will re-connect accordingly and continue the authentication as it should. Revision 1.561 - (view) (download) (annotate) - [select for diffs] Thu Nov 2 21:56:43 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.560: +41 -4 lines Diff to previous 1.560 James Housley brought support for SCP transfers Revision 1.560 - (view) (download) (annotate) - [select for diffs] Sun Oct 29 14:58:59 2006 UTC (3 years, 4 months ago) by yangtse Branch: MAIN CVS Tags: curl-7_16_0 Changes since 1.559: +15 -8 lines Diff to previous 1.559 Make more human readable and maintainable previous compiler warning fix since it was Ok and actually avoids the targeted compiler warning. Revision 1.559 - (view) (download) (annotate) - [select for diffs] Fri Oct 27 15:32:18 2006 UTC (3 years, 4 months ago) by yangtse Branch: MAIN Changes since 1.558: +8 -8 lines Diff to previous 1.558 Compiler warning fix. Assigning the const value zero to a pointer to function results in a null pointer value assignment to the function pointer. Assignment of any nonzero value is what should result in a implementation compiler dependent result. Since what we want to do here is the first case, this should not trigger compiler warnings related with conversions from 'pointer to data' to 'pointer to function'. Our autobuild test suite will judge. Revision 1.558 - (view) (download) (annotate) - [select for diffs] Fri Oct 27 01:04:41 2006 UTC (3 years, 4 months ago) by yangtse Branch: MAIN Changes since 1.557: +10 -8 lines Diff to previous 1.557 Do an explicit typecast of data pointers to function pointers to avoid picky compiler warnings, since this is what we want! Revision 1.557 - (view) (download) (annotate) - [select for diffs] Thu Oct 26 11:15:25 2006 UTC (3 years, 4 months ago) by yangtse Branch: MAIN Changes since 1.556: +4 -3 lines Diff to previous 1.556 Fix Curl_open() not reporting failure when allocation of the buffer used to store headers in the SessionHandle failed. Revision 1.556 - (view) (download) (annotate) - [select for diffs] Tue Oct 24 21:14:40 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.555: +61 -36 lines Diff to previous 1.555 other pipelining fixes by Ravi Pratap, that now makes pipelines get used better Revision 1.555 - (view) (download) (annotate) - [select for diffs] Mon Oct 23 20:41:50 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.554: +2 -2 lines Diff to previous 1.554 the check in ConnectionExists() for not re-using a non-resolved connection now applies for asynch name resolves in general and not only ares Revision 1.554 - (view) (download) (annotate) - [select for diffs] Mon Oct 23 20:34:56 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.553: +41 -19 lines Diff to previous 1.553 Ravi Pratap provided a major update with pipelining fixes. We also no longer re-use connections (for pipelining) before the name resolving is done. Revision 1.553 - (view) (download) (annotate) - [select for diffs] Fri Oct 20 12:25:39 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.552: +2 -2 lines Diff to previous 1.552 When a resolve is made on a pipelined connection we need to detect it properly (when the resoling isn't completede yet) and not confuse it with a simple connection re-use (non-pipelined). Revision 1.552 - (view) (download) (annotate) - [select for diffs] Thu Oct 19 02:30:02 2006 UTC (3 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.551: +3 -1 lines Diff to previous 1.551 Builds using synchronous name resolver dislike marking the connection as async. Revision 1.551 - (view) (download) (annotate) - [select for diffs] Wed Oct 18 15:10:49 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.550: +5 -1 lines Diff to previous 1.550 When a connection is re-used, it can be flagged for re-use before the name resolving is completed so we must make sure to survive it and mark the connection as async (ie not yet connected completely). Revision 1.550 - (view) (download) (annotate) - [select for diffs] Wed Oct 18 11:13:39 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.549: +1 -7 lines Diff to previous 1.549 cut out matching host names starting with telnet or ftps, since they hardly ever actually are used Revision 1.549 - (view) (download) (annotate) - [select for diffs] Tue Oct 17 21:45:37 2006 UTC (3 years, 5 months ago) by danf Branch: MAIN Changes since 1.548: +13 -10 lines Diff to previous 1.548 Fixed compile error in HAVE_SIGACTION case. Revision 1.548 - (view) (download) (annotate) - [select for diffs] Tue Oct 17 21:32:57 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.547: +2 -2 lines Diff to previous 1.547 Avoid typecasting a signed char to an int when using is*() functions, as that could very well cause a negate number get passed in and thus cause reading outside of the array usually used for this purpose. We avoid this by using the uppercase macro versions introduced just now that does some extra crazy typecasts to avoid byte codes > 127 to cause negative int values. Revision 1.547 - (view) (download) (annotate) - [select for diffs] Tue Oct 17 09:07:38 2006 UTC (3 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.546: +2 -2 lines Diff to previous 1.546 Typo Revision 1.546 - (view) (download) (annotate) - [select for diffs] Tue Oct 17 08:05:41 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.545: +11 -4 lines Diff to previous 1.545 fix the name resolve abort timeout calculation (when signals are used) Revision 1.545 - (view) (download) (annotate) - [select for diffs] Sun Oct 15 20:28:03 2006 UTC (3 years, 5 months ago) by giva Branch: MAIN Changes since 1.544: +2 -2 lines Diff to previous 1.544 Replace ";;" with ";". Revision 1.544 - (view) (download) (annotate) - [select for diffs] Wed Oct 11 16:01:18 2006 UTC (3 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.543: +7 -6 lines Diff to previous 1.543 Remove redundant __CYGWIN__ symbol check Revision 1.543 - (view) (download) (annotate) - [select for diffs] Mon Oct 9 21:24:50 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.542: +6 -5 lines Diff to previous 1.542 minor indent fix Revision 1.542 - (view) (download) (annotate) - [select for diffs] Mon Oct 9 06:58:05 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.541: +11 -4 lines Diff to previous 1.541 Bogdan Nicula's second test case (posted Sun, 08 Oct 2006) converted to test case 535 and it now runs fine. Again a problem with the pipelining code not taking all possible (error) conditions into account. Revision 1.541 - (view) (download) (annotate) - [select for diffs] Sat Sep 30 20:31:12 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.540: +7 -37 lines Diff to previous 1.540 Support for FTP third party transfers is now dropped Revision 1.540 - (view) (download) (annotate) - [select for diffs] Thu Sep 28 21:26:07 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.539: +17 -15 lines Diff to previous 1.539 Reported in #1561470 (http://curl.haxx.se/bug/view.cgi?id=1561470), libcurl would crash if a bad function sequence was used when shutting down after using the multi interface (i.e using easy_cleanup after multi_cleanup) so precautions have been added to make sure it doesn't any more - test case 529 was added to verify. Revision 1.539 - (view) (download) (annotate) - [select for diffs] Mon Sep 25 00:05:39 2006 UTC (3 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.538: +2 -2 lines Diff to previous 1.538 Compiler warning fix Revision 1.538 - (view) (download) (annotate) - [select for diffs] Sat Sep 23 19:07:20 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.537: +8 -478 lines Diff to previous 1.537 Dmitriy Sergeyev provided a patch that made the SOCKS[45] code work better as it now will read the full data sent from servers. The SOCKS-related code was also moved to the new lib/socks.c source file. Revision 1.537 - (view) (download) (annotate) - [select for diffs] Wed Sep 20 21:49:43 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.536: +3 -2 lines Diff to previous 1.536 Armel Asselin fixed problems when you gave a proxy URL with user name and empty password or no password at all. Test case 278 and 279 were added to verify. Revision 1.536 - (view) (download) (annotate) - [select for diffs] Wed Sep 20 12:03:50 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.535: +74 -10 lines Diff to previous 1.535 Michael Wallner's test program again help me track down a problem. This time 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. Revision 1.535 - (view) (download) (annotate) - [select for diffs] Sat Sep 16 21:50:29 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.534: +46 -41 lines Diff to previous 1.534 Resize the connection cache upwards when adding more handles than what currently fits in the cache, to make the cache work better especially for pipelining cases but also for "mere" (persistent) connection re-use. Revision 1.534 - (view) (download) (annotate) - [select for diffs] Fri Sep 15 08:47:55 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.533: +6 -4 lines Diff to previous 1.533 file-local function should be static and not use Curl_ prefix! Curl_signalPipeClose is now signalPipeClose(). Revision 1.533 - (view) (download) (annotate) - [select for diffs] Wed Sep 13 12:42:12 2006 UTC (3 years, 6 months ago) by yangtse Branch: MAIN Changes since 1.532: +11 -9 lines Diff to previous 1.532 Compiler warning fix Revision 1.532 - (view) (download) (annotate) - [select for diffs] Tue Sep 12 23:51:01 2006 UTC (3 years, 6 months ago) by yangtse Branch: MAIN Changes since 1.531: +14 -12 lines Diff to previous 1.531 Compiler warning fix Revision 1.531 - (view) (download) (annotate) - [select for diffs] Mon Sep 11 20:50:58 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.530: +6 -3 lines Diff to previous 1.530 If the current connection doesn't fit to get added to the connection cache, we certainly MUST NOT kill an active connection... Problem tracked down thanks to Michael Wallner's excellent test program. Revision 1.530 - (view) (download) (annotate) - [select for diffs] Mon Sep 11 17:18:19 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.529: +10 -3 lines Diff to previous 1.529 - Fixed my breakage from earlier today so that doing curl_easy_cleanup() on a 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. Revision 1.529 - (view) (download) (annotate) - [select for diffs] Mon Sep 11 11:25:47 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.528: +3 -2 lines Diff to previous 1.528 stupid mistake rectified by Jeff Pohlmeyer Revision 1.528 - (view) (download) (annotate) - [select for diffs] Sun Sep 10 23:45:54 2006 UTC (3 years, 6 months ago) by yangtse Branch: MAIN Changes since 1.527: +2 -2 lines Diff to previous 1.527 Compiler warning fix Revision 1.527 - (view) (download) (annotate) - [select for diffs] Sun Sep 10 23:37:42 2006 UTC (3 years, 6 months ago) by yangtse Branch: MAIN Changes since 1.526: +29 -29 lines Diff to previous 1.526 Compiler warning fix Revision 1.526 - (view) (download) (annotate) - [select for diffs] Sun Sep 10 22:15:32 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.525: +5 -1 lines Diff to previous 1.525 Jeff Pohlmeyer presented a *multi_socket()-using program that exposed a 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). Revision 1.525 - (view) (download) (annotate) - [select for diffs] Sat Sep 9 19:13:13 2006 UTC (3 years, 6 months ago) by giva Branch: MAIN Changes since 1.524: +2 -2 lines Diff to previous 1.524 SIGALARM -> SIGALRM. Revision 1.524 - (view) (download) (annotate) - [select for diffs] Sat Sep 9 19:11:54 2006 UTC (3 years, 6 months ago) by giva Branch: MAIN Changes since 1.523: +4 -1 lines Diff to previous 1.523 #ifdef around alarmfunc() to supress warning. Revision 1.523 - (view) (download) (annotate) - [select for diffs] Fri Sep 8 13:06:41 2006 UTC (3 years, 6 months ago) by giva Branch: MAIN Changes since 1.522: +2 -2 lines Diff to previous 1.522 signal() returns 'void (*)(int)'. Revision 1.522 - (view) (download) (annotate) - [select for diffs] Thu Sep 7 21:49:22 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.521: +593 -345 lines Diff to previous 1.521 Major overhaul introducing http pipelining support and shared connection cache within the multi handle. Revision 1.521 - (view) (download) (annotate) - [select for diffs] Thu Sep 7 01:18:46 2006 UTC (3 years, 6 months ago) by yangtse Branch: MAIN CVS Tags: curl-7_15_6-prepipeline Changes since 1.520: +3 -3 lines Diff to previous 1.520 Fix compiler warning Revision 1.520 - (view) (download) (annotate) - [select for diffs] Sun Sep 3 22:52:42 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.519: +67 -7 lines Diff to previous 1.519 - "Dortik" (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a patch that 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. Revision 1.519 - (view) (download) (annotate) - [select for diffs] Sun Sep 3 13:52:08 2006 UTC (3 years, 6 months ago) by giva Branch: MAIN Changes since 1.518: +4 -4 lines Diff to previous 1.518 Simplified #ifdef on WIN32; the statement " !defined(__GNUC__) || defined(__MINGW32__)" implies CygWin. Revision 1.518 - (view) (download) (annotate) - [select for diffs] Wed Aug 30 16:17:06 2006 UTC (3 years, 6 months ago) by giva Branch: MAIN Changes since 1.517: +2 -2 lines Diff to previous 1.517 Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead. Revision 1.517 - (view) (download) (annotate) - [select for diffs] Tue Aug 29 18:45:57 2006 UTC (3 years, 6 months ago) by giva Branch: MAIN Changes since 1.516: +3 -1 lines Diff to previous 1.516 Watcom lacks <sys/time.h>. Revision 1.516 - (view) (download) (annotate) - [select for diffs] Tue Aug 29 14:39:34 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.515: +15 -1 lines Diff to previous 1.515 David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to allow applications to set their own socket options. Revision 1.515 - (view) (download) (annotate) - [select for diffs] Sat Aug 19 21:18:37 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.514: +7 -7 lines Diff to previous 1.514 Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE command on subsequent requests on a re-used connection unless it has to. Revision 1.514 - (view) (download) (annotate) - [select for diffs] Mon Jul 31 17:46:28 2006 UTC (3 years, 7 months ago) by yangtse Branch: MAIN CVS Tags: curl-7_15_5 Changes since 1.513: +3 -2 lines Diff to previous 1.513 Silence warning: empty body in an if-statement Revision 1.513 - (view) (download) (annotate) - [select for diffs] Tue Jul 25 22:45:22 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.512: +5 -1 lines Diff to previous 1.512 Dan Nelson added the CURLOPT_FTP_ALTERNATIVE_TO_USER libcurl option and curl tool option named --ftp-alternative-to-user. It provides a mean to send a particular command if the normal USER/PASS approach fails. Revision 1.512 - (view) (download) (annotate) - [select for diffs] Mon Jul 24 15:56:40 2006 UTC (3 years, 7 months ago) by giva Branch: MAIN Changes since 1.511: +2 -2 lines Diff to previous 1.511 Fix typo. Revision 1.511 - (view) (download) (annotate) - [select for diffs] Fri Jul 21 04:19:44 2006 UTC (3 years, 8 months ago) by giva Branch: MAIN Changes since 1.510: +2 -5 lines Diff to previous 1.510 Use calloc() instead. Revision 1.510 - (view) (download) (annotate) - [select for diffs] Wed Jul 19 21:14:03 2006 UTC (3 years, 8 months ago) by yangtse Branch: MAIN Changes since 1.509: +6 -6 lines Diff to previous 1.509 Fix compiler warnings Revision 1.509 - (view) (download) (annotate) - [select for diffs] Mon Jul 17 14:52:31 2006 UTC (3 years, 8 months ago) by yangtse Branch: MAIN Changes since 1.508: +3 -3 lines Diff to previous 1.508 Fix compiler warning "enumerated type mixed with another type" Revision 1.508 - (view) (download) (annotate) - [select for diffs] Fri Jul 14 18:58:42 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.507: +4 -1 lines Diff to previous 1.507 David McCreedy fixed a flaw where the CRLF counter wasn't properly cleared for FTP ASCII transfers. Revision 1.507 - (view) (download) (annotate) - [select for diffs] Fri Jul 7 22:58:07 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.506: +11 -8 lines Diff to previous 1.506 Ingmar Runge provided a source snippet that caused a crash. The reason for the crash was that libcurl internally was a bit confused about who owned the DNS cache at all times so if you created an easy handle that uses a shared DNS cache and added that to a multi handle it would crash. Now we keep more careful internal track of exactly what kind of DNS cache each easy handle uses: None, Private (allocated for and used only by this single handle), Shared (points to a cache held by a shared object), Global (points to the global cache) or Multi (points to the cache within the multi handle that is automatically shared between all easy handles that are added with private caches). Revision 1.506 - (view) (download) (annotate) - [select for diffs] Thu Jun 22 21:36:54 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.505: +17 -1 lines Diff to previous 1.505 Peter Silva introduced CURLOPT_MAX_SEND_SPEED_LARGE and CURLOPT_MAX_RECV_SPEED_LARGE that limit tha maximum rate libcurl is allowed to send or receive data. This kind of adds the the command line tool's option --limit-rate to the library. The rate limiting logic in the curl app is now removed and is instead provided by libcurl itself. Transfer rate limiting will now also work for -d and -F, which it didn't before. Revision 1.505 - (view) (download) (annotate) - [select for diffs] Thu Jun 8 06:12:31 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_4 Changes since 1.504: +2 -2 lines Diff to previous 1.504 Brian Dessent's fixes for cygwin builds Revision 1.504 - (view) (download) (annotate) - [select for diffs] Fri May 26 11:26:42 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.503: +3 -2 lines Diff to previous 1.503 long/int cleanup to silence picky compiler warnings Revision 1.503 - (view) (download) (annotate) - [select for diffs] Wed May 24 22:46:39 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.502: +9 -8 lines Diff to previous 1.502 Michael Wallner provided a patch that allows "SESS" to be set with CURLOPT_COOKIELIST, which then makes all session cookies get cleared. (slightly edited by me, and the re-indent in cookie.c was also done by me) Revision 1.502 - (view) (download) (annotate) - [select for diffs] Mon Apr 10 15:00:54 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.501: +19 -20 lines Diff to previous 1.501 First curl_multi_socket() commit. Should primarily be considered as an internal code rearrange to fit the future better. Revision 1.501 - (view) (download) (annotate) - [select for diffs] Fri Apr 7 21:50:47 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.500: +50 -7 lines Diff to previous 1.500 First commit of David McCreedy's EBCDIC and TPF changes. Revision 1.500 - (view) (download) (annotate) - [select for diffs] Fri Apr 7 11:47:21 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.499: +5 -5 lines Diff to previous 1.499 added typedefed function pointers and typecast the NULL assignments in an attempt to silence picky compilers when assigning data pointers to a function pointer variable Revision 1.499 - (view) (download) (annotate) - [select for diffs] Tue Mar 21 21:54:44 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.498: +3 -1 lines Diff to previous 1.498 Xavier Bouchoux made the SSL connection non-blocking for the multi interface (when using OpenSSL). Revision 1.498 - (view) (download) (annotate) - [select for diffs] Tue Mar 7 23:11:42 2006 UTC (4 years ago) by bagder Branch: MAIN CVS Tags: curl-7_15_3 Changes since 1.497: +7 -1 lines Diff to previous 1.497 Markus Koetter filed debian bug report #355715 which identified a problem with the multi interface and multi-part formposts. The fix from February 22nd could make the Curl_done() function get called twice on the same connection and it was not designed for that and thus tried to call free() on an already freed memory area! Revision 1.497 - (view) (download) (annotate) - [select for diffs] Fri Feb 24 21:35:48 2006 UTC (4 years ago) by danf Branch: MAIN CVS Tags: curl-7_15_2 Changes since 1.496: +9 -6 lines Diff to previous 1.496 Added user ID support to SOCKS4. Revision 1.496 - (view) (download) (annotate) - [select for diffs] Thu Feb 23 18:39:22 2006 UTC (4 years ago) by danf Branch: MAIN Changes since 1.495: +3 -3 lines Diff to previous 1.495 Fixed a few more comment typos. Revision 1.495 - (view) (download) (annotate) - [select for diffs] Thu Feb 23 14:42:47 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.494: +9 -4 lines Diff to previous 1.494 Peter Su's SOCKS4 fix Revision 1.494 - (view) (download) (annotate) - [select for diffs] Thu Feb 23 12:20:48 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.493: +6 -2 lines Diff to previous 1.493 Lots of work and analysis by "xbx___" in bug #1431750 (http://curl.haxx.se/bug/view.cgi?id=1431750) helped me identify and fix two different but related bugs: 1) Removing an easy handle from a multi handle before the transfer is done could leave a connection in the connection cache for that handle that is in a state that isn't suitable for re-use. A subsequent re-use could then read from a NULL pointer and segfault. 2) When an easy handle was removed from the multi handle, there could be an outstanding c-ares DNS name resolve request. When the response arrived, it caused havoc since the connection struct it "belonged" to could've been freed already. Now Curl_done() is called when an easy handle is removed from a multi handle pre-maturely (that is, before the transfer was complteted). Curl_done() also makes sure to cancel all (if any) outstanding c-ares requests. Revision 1.493 - (view) (download) (annotate) - [select for diffs] Wed Feb 22 19:09:33 2006 UTC (4 years ago) by danf Branch: MAIN Changes since 1.492: +20 -20 lines Diff to previous 1.492 Fixed some spelling errors in comments, and extraneous \n in failf logs. Revision 1.492 - (view) (download) (annotate) - [select for diffs] Tue Feb 21 07:46:41 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.491: +193 -6 lines Diff to previous 1.491 Peter Su added support for SOCKS4 proxies. Enable this by setting the proxy type to the already provided type CURLPROXY_SOCKS4. I added a --socks4 option that works like the current --socks5 option but instead use the socks4 protocol. Revision 1.491 - (view) (download) (annotate) - [select for diffs] Thu Feb 16 10:02:11 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.490: +9 -5 lines Diff to previous 1.490 Added some clarifying comments Revision 1.490 - (view) (download) (annotate) - [select for diffs] Sat Feb 11 22:35:17 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.489: +23 -4 lines Diff to previous 1.489 Karl M added the CURLOPT_CONNECT_ONLY and CURLINFO_LASTSOCKET options that an app can use to let libcurl only connect to a remote host and then extract the socket from libcurl. libcurl will then not attempt to do any transfer at all after the connect is done. Revision 1.489 - (view) (download) (annotate) - [select for diffs] Mon Jan 30 08:24:07 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.488: +16 -3 lines Diff to previous 1.488 Added CURLOPT_LOCALPORT and CURLOPT_LOCALPORTRANGE to libcurl. Set with the curl tool with --local-port. Plain and simply set the range of ports to bind the local end of connections to. Implemented on to popular demand. Not extensively tested. Please let me know how it works. Revision 1.488 - (view) (download) (annotate) - [select for diffs] Thu Jan 19 23:52:03 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.487: +2 -5 lines Diff to previous 1.487 Duane Cathey was one of our friends who reported that curl -P [IP] (CURLOPT_FTPPORT) didn't work for ipv6-enabed curls if the IP wasn't a "native" IP while it works fine for ipv6-disabled builds! In the process of fixing this, I removed the support for LPRT since I can't think of many reasons to keep doing it and asking on the mailing list didn't reveal anyone else that could either. The code that sends EPRT and PORT is now also a lot simpler than before (IMHO). Revision 1.487 - (view) (download) (annotate) - [select for diffs] Mon Jan 16 22:14:38 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.486: +3 -25 lines Diff to previous 1.486 David Shaw finally removed all traces of Gopher and we are now officially not supporting it. It hasn't been functioning for years anyway, so this is just finally stating what already was true. And a cleanup at the same time. Revision 1.486 - (view) (download) (annotate) - [select for diffs] Tue Dec 20 22:46:12 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.485: +7 -5 lines Diff to previous 1.485 explain tld_check_name() Revision 1.485 - (view) (download) (annotate) - [select for diffs] Fri Dec 16 14:52:17 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.484: +4 -3 lines Diff to previous 1.484 Jean Jacques Drouin pointed out that you could only have a user name or password of 127 bytes or less embedded in a URL, where actually the code uses a 255 byte buffer for it! Modified now to use the full buffer size. Revision 1.484 - (view) (download) (annotate) - [select for diffs] Tue Dec 6 23:05:51 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_1 Changes since 1.483: +9 -3 lines Diff to previous 1.483 7.15.1 with the now to be announced security flaw fixed Revision 1.483 - (view) (download) (annotate) - [select for diffs] Wed Nov 30 13:09:48 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.482: +2 -2 lines Diff to previous 1.482 cast the va_arg() assignment to ftp_filemethod properly Revision 1.482 - (view) (download) (annotate) - [select for diffs] Mon Nov 28 23:06:00 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.481: +8 -2 lines Diff to previous 1.481 new experimental "ftp method" code Revision 1.481 - (view) (download) (annotate) - [select for diffs] Thu Oct 27 22:05:38 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.480: +2 -2 lines Diff to previous 1.480 Nis Jorgensen filed bug report #1338648 (http://curl.haxx.se/bug/view.cgi?id=1338648) which really is more of a feature request, but anyway. It pointed out that --max-redirs did not allow it to be set to 0, which then would return an error code on the first Location: found. Based on Nis' patch, now libcurl supports CURLOPT_MAXREDIRS set to 0, or -1 for infinity. Added test case 274 to verify. Revision 1.480 - (view) (download) (annotate) - [select for diffs] Fri Oct 21 21:00:44 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.479: +9 -2 lines Diff to previous 1.479 "Ofer" reported a problem when libcurl re-used a connection and failed to do it, it could then accidentally actually crash. Presumably, this concerns FTP connections. http://curl.haxx.se/bug/view.cgi?id=1330310 Revision 1.479 - (view) (download) (annotate) - [select for diffs] Thu Sep 29 11:37:52 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_0 Changes since 1.478: +3 -2 lines Diff to previous 1.478 Starting now, the verbose text that goes like "About to connect() to" will now contain the word "proxy" is the hostname is in fact a proxy. This will help users detect situations when they mistakenly use a proxy. Revision 1.478 - (view) (download) (annotate) - [select for diffs] Fri Sep 16 21:30:08 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.477: +5 -2 lines Diff to previous 1.477 keep 'socktype' in the connectdata struct and make sure we use that for all protocol sockets even if the resolved address may say otherwise Revision 1.477 - (view) (download) (annotate) - [select for diffs] Sun Sep 4 05:16:06 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.476: +10 -2 lines Diff to previous 1.476 Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ip Revision 1.476 - (view) (download) (annotate) - [select for diffs] Fri Sep 2 15:11:09 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.475: +39 -3 lines Diff to previous 1.475 John Kelly added TFTP support to libcurl. A bunch of new error codes was added. TODO: add them to docs. add TFTP server to test suite. add TFTP to list of protocols whereever those are mentioned. Revision 1.475 - (view) (download) (annotate) - [select for diffs] Wed Aug 24 10:57:29 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN CVS Tags: curl-7_14_1 Changes since 1.474: +5 -1 lines Diff to previous 1.474 Toby Peterson added CURLOPT_IGNORE_CONTENT_LENGTH to the library, accessible from the command line tool with --ignore-content-length. This will make it easier to download files from Apache 1.x (and similar) servers that are still having problems serving files larger than 2 or 4 GB. When this option is enabled, curl will simply have to wait for the server to close the connection to signal end of transfer. I wrote test case 269 that runs a simple test that this works. Revision 1.474 - (view) (download) (annotate) - [select for diffs] Wed Aug 17 08:55:43 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.473: +50 -42 lines Diff to previous 1.473 - Jeff Pohlmeyer found out that if you ask libcurl to load a cookiefile (with CURLOPT_COOKIEFILE), add a cookie (with CURLOPT_COOKIELIST), tell it to write the result to a given cookie jar and then never actually call curl_easy_perform() - the given file(s) to read was never read but the output file was written and thus it caused a "funny" result. - While doing some tests for the bug above, I noticed that Firefox generates large numbers (for the expire time) in the cookies.txt file and libcurl didn't treat them properly. Now it does. Revision 1.473 - (view) (download) (annotate) - [select for diffs] Sun Aug 7 22:59:06 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.472: +6 -1 lines Diff to previous 1.472 Jon Grubbs filed bug report #1249962 which identified a problem with NTLM on a HTTP proxy if an FTP URL was given. libcurl now properly switches to pure HTTP internally when an HTTP proxy is used, even for FTP URLs. The problem would also occur with other multi-pass auth methods. Revision 1.472 - (view) (download) (annotate) - [select for diffs] Sun Aug 7 21:39:44 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.471: +1 -7 lines Diff to previous 1.471 Don't prevent FTPS:// through a http proxy, as we cannot know if it works or not! Revision 1.471 - (view) (download) (annotate) - [select for diffs] Thu Jul 28 21:53:09 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.470: +2 -1 lines Diff to previous 1.470 reset the numcookies counter too (I missed it in the previous commit) Revision 1.470 - (view) (download) (annotate) - [select for diffs] Thu Jul 28 21:50:34 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.469: +15 -10 lines Diff to previous 1.469 now strdups the cookielist inpointer before passed on, as the cookie function modifies it Revision 1.469 - (view) (download) (annotate) - [select for diffs] Wed Jul 27 22:29:50 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.468: +6 -2 lines Diff to previous 1.468 If any of the options CURLOPT_HTTPGET, CURLOPT_POST and CURLOPT_HTTPPOST is set to 1, CURLOPT_NOBODY will now automatically be set to 0. Revision 1.468 - (view) (download) (annotate) - [select for diffs] Wed Jul 27 22:17:15 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.467: +32 -1 lines Diff to previous 1.467 Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is a simple interface to extracting and setting cookies in libcurl's internal "cookie jar". See the new cookie_interface.c example code. Revision 1.467 - (view) (download) (annotate) - [select for diffs] Sun Jul 17 12:44:11 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.466: +3 -5 lines Diff to previous 1.466 Simplified the code within curl_easy_perform() that calls Curl_perform(). Pointed out by Bjorn Reese. Revision 1.466 - (view) (download) (annotate) - [select for diffs] Tue Jul 12 18:15:34 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.465: +2 -1 lines Diff to previous 1.465 Adrian Schuur added trailer support in the chunked encoding stream. The trailer is then sent to the normal header callback/stream. Revision 1.465 - (view) (download) (annotate) - [select for diffs] Wed Jun 22 22:24:10 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.464: +52 -59 lines Diff to previous 1.464 David Shaw's fix that unifies proxy string treatment so that a proxy given 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. Revision 1.464 - (view) (download) (annotate) - [select for diffs] Tue May 31 13:03:26 2005 UTC (4 years, 9 months ago) by bagder Branch: MAIN Changes since 1.463: +28 -9 lines Diff to previous 1.463 Todd Kulesza reported a flaw in the proxy option, since a numerical IPv6 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. Revision 1.463 - (view) (download) (annotate) - [select for diffs] Thu May 19 07:21:18 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.462: +5 -1 lines Diff to previous 1.462 additional fix for the malformed URL fix of yday Revision 1.462 - (view) (download) (annotate) - [select for diffs] Wed May 18 20:01:01 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.461: +22 -9 lines Diff to previous 1.461 Bug report #1204435 identified a problem with malformed URLs like "http://somehost?data" as it added a slash too much in the request ("GET /?data/"...). Added test case 260 to verify. Revision 1.461 - (view) (download) (annotate) - [select for diffs] Sat May 14 06:00:40 2005 UTC (4 years, 10 months ago) by giva Branch: MAIN CVS Tags: curl-7_14_0 Changes since 1.460: +2 -2 lines Diff to previous 1.460 Some patches for (a stricter/smarter) gcc 4.0 and warnings like: 'x' may be used uninitialized in this function. Revision 1.460 - (view) (download) (annotate) - [select for diffs] Thu May 12 13:44:25 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.459: +2 -2 lines Diff to previous 1.459 oops, found by bug reported in bug report #1200661 Revision 1.459 - (view) (download) (annotate) - [select for diffs] Thu May 12 08:51:30 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.458: +4 -4 lines Diff to previous 1.458 typecast to fix warning on 64bit systems Revision 1.458 - (view) (download) (annotate) - [select for diffs] Tue Apr 26 13:08:49 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.457: +2 -2 lines Diff to previous 1.457 Cory Nelson's work on nuking compiler warnings when building on x64 with VS2005. Revision 1.457 - (view) (download) (annotate) - [select for diffs] Mon Apr 25 21:39:48 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.456: +11 -3 lines Diff to previous 1.456 Fred New reported a bug where we used Basic auth and user name and password in .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. Revision 1.456 - (view) (download) (annotate) - [select for diffs] Tue Apr 19 23:37:45 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.455: +2 -2 lines Diff to previous 1.455 added typecast when converting from long to unsigned short, to prevent compiler warning Revision 1.455 - (view) (download) (annotate) - [select for diffs] Mon Apr 18 19:41:05 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.454: +33 -16 lines Diff to previous 1.454 Olivier reported that even though he used CURLOPT_PORT, libcurl clearly still used the default port. He was right. I fixed the problem and added the test cases 521, 522 and 523 to verify the fix. Revision 1.454 - (view) (download) (annotate) - [select for diffs] Thu Apr 7 15:27:14 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.453: +15 -107 lines Diff to previous 1.453 GnuTLS support added. There's now a "generic" SSL layer that we use all over internally, with code provided by sslgen.c. All SSL-layer-specific code is then written in ssluse.c (for OpenSSL) and gtls.c (for GnuTLS). As far as possible, internals should not need to know what SSL layer that is in use. Building with GnuTLS currently makes two test cases fail. TODO.gnutls contains a few known outstanding issues for the GnuTLS support. GnuTLS support is enabled with configure --with-gnutls Revision 1.453 - (view) (download) (annotate) - [select for diffs] Mon Apr 4 12:30:03 2005 UTC (4 years, 11 months ago) by giva Branch: MAIN CVS Tags: curl-7_13_2 Changes since 1.452: +5 -4 lines Diff to previous 1.452 hostthre.c: destroy_thread_data() made public. Called from url.c: Curl_disconnect(). Revision 1.452 - (view) (download) (annotate) - [select for diffs] Tue Mar 15 21:00:46 2005 UTC (5 years ago) by danf Branch: MAIN Changes since 1.451: +1 -2 lines Diff to previous 1.451 Fixed ftp support with uClibc due to differing inet_ntoa_r() behaviour. Revision 1.451 - (view) (download) (annotate) - [select for diffs] Mon Mar 14 00:00:45 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.450: +2 -2 lines Diff to previous 1.450 Removed security.h since it shadows an include file mingw needs when building for SSPI support. The contents of the file has been moved into the krb4.h file. Revision 1.450 - (view) (download) (annotate) - [select for diffs] Fri Mar 11 05:49:04 2005 UTC (5 years ago) by danf Branch: MAIN Changes since 1.449: +2 -1 lines Diff to previous 1.449 Fixed some compiler warnings. Revision 1.449 - (view) (download) (annotate) - [select for diffs] Thu Mar 10 23:15:30 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.448: +6 -2 lines Diff to previous 1.448 Christopher R. Palmer made it possible to build libcurl with the USE_WINDOWS_SSPI on Windows, and then libcurl will be built to use the native way to do NTLM. SSPI also allows libcurl to pass on the current user and its password in the request. Revision 1.448 - (view) (download) (annotate) - [select for diffs] Wed Mar 9 22:13:52 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.447: +2 -2 lines Diff to previous 1.447 As reported by 'nodak sodak' we should check for a NULL pointer before referencing the proxy name pointer. Revision 1.447 - (view) (download) (annotate) - [select for diffs] Wed Feb 9 22:47:57 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_13_1 Changes since 1.446: +2 -1 lines Diff to previous 1.446 prevent a compiler warning Revision 1.446 - (view) (download) (annotate) - [select for diffs] Wed Feb 9 13:06:40 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.445: +126 -34 lines Diff to previous 1.445 FTP code turned into state machine. Not completely yet, but a good start. The tag 'before_ftp_statemachine' was set just before this commit in case of future need. Revision 1.445 - (view) (download) (annotate) - [select for diffs] Sun Jan 30 12:42:15 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN CVS Tags: before_ftp_statemachine, curl-7_13_0 Changes since 1.444: +3 -5 lines Diff to previous 1.444 Use calloc() to save us the memset() call and terminate conn->host.name properly, to avoid reading uninited variables when using file:// (valgrind) Revision 1.444 - (view) (download) (annotate) - [select for diffs] Sat Jan 29 13:07:17 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.443: +4 -19 lines Diff to previous 1.443 conn->ip_addr MUST NOT be used on re-used connections Revision 1.443 - (view) (download) (annotate) - [select for diffs] Fri Jan 28 22:14:48 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.442: +21 -10 lines Diff to previous 1.442 KNOWN_BUGS #17 fixed. A DNS cache entry may not remain locked between two curl_easy_perform() invokes. It was previously unlocked at disconnect, which could mean that it remained locked between multiple transfers. The DNS cache may not live as long as the connection cache does, as they are separate. To deal with the lack of DNS (host address) data availability in re-used connections, libcurl now keeps a copy of the IP adress as a string, to be able to show it even on subsequent requests on the same connection. Revision 1.442 - (view) (download) (annotate) - [select for diffs] Tue Jan 25 22:13:12 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.441: +5 -1 lines Diff to previous 1.441 Ian Ford asked about support for the FTP command ACCT, and I discovered it is present in RFC959... so now (lib)curl supports it as well. --ftp-account and CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account string after PASS have been sent away. The client responds with "ACCT [account string]".) Added test case 228 and 229 to verify the functionality. Updated the test FTP server to support ACCT somewhat. Revision 1.441 - (view) (download) (annotate) - [select for diffs] Fri Jan 21 09:32:33 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.440: +8 -22 lines Diff to previous 1.440 FTP third transfer support overhaul. See CHANGES for details. Revision 1.440 - (view) (download) (annotate) - [select for diffs] Wed Jan 19 09:36:45 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.439: +25 -23 lines Diff to previous 1.439 Stephan Bergmann pointed out two flaws in libcurl built with HTTP disabled: 1) the proxy environment variables are still read and used to set HTTP proxy 2) you couldn't disable http proxy with CURLOPT_PROXY (since the option was disabled) Revision 1.439 - (view) (download) (annotate) - [select for diffs] Sun Jan 16 08:51:52 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.438: +6 -8 lines Diff to previous 1.438 Alex aka WindEagle pointed out that when doing "curl -v dictionary.com", curl assumed this used the DICT protocol. While guessing protocols will remain fuzzy, I've now made sure that the host names must start with "[protocol]." for them to be a valid guessable name. I also removed "https" as a prefix that indicates HTTPS, since we hardly ever see any host names using that. Revision 1.438 - (view) (download) (annotate) - [select for diffs] Tue Jan 11 15:25:29 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.437: +2 -2 lines Diff to previous 1.437 Renamed easy.h and multi.h to easyif.h and multiif.h to make sure they don't shadow our public headers with the former names. Revision 1.437 - (view) (download) (annotate) - [select for diffs] Mon Jan 10 23:32:14 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.436: +3 -3 lines Diff to previous 1.436 Bruce Mitchener identified (bug report #1099640) the never-ending SOCKS5 problem with the version byte and the check for bad versions. Bruce has lots of clues on this, and based on his suggestion I've now removed the check of that byte since it seems to be able to contain 1 or 5. Revision 1.436 - (view) (download) (annotate) - [select for diffs] Mon Jan 10 10:07:07 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.435: +10 -2 lines Diff to previous 1.435 Pavel Orehov reported memory problems with the multi interface in bug report #1098843. In short, a shared DNS cache was setup for a multi handle and when the shared cache was deleted before the individual easy handles, the latter cleanups caused read/writes to already freed memory. Revision 1.435 - (view) (download) (annotate) - [select for diffs] Fri Dec 17 12:26:18 2004 UTC (5 years, 3 months ago) by giva Branch: MAIN CVS Tags: curl-7_12_3 Changes since 1.434: +2 -2 lines Diff to previous 1.434 Print true netrc name (.netrc/_netrc). Revision 1.434 - (view) (download) (annotate) - [select for diffs] Thu Dec 16 21:27:23 2004 UTC (5 years, 3 months ago) by danf Branch: MAIN Changes since 1.433: +2 -2 lines Diff to previous 1.433 Renamed a struct member to avoid conflict with a C++ reserved word. Revision 1.433 - (view) (download) (annotate) - [select for diffs] Tue Dec 14 21:22:51 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.432: +20 -1 lines Diff to previous 1.432 Harshal Pradhan fixed changing username/password on a persitent HTTP connection. Revision 1.432 - (view) (download) (annotate) - [select for diffs] Mon Dec 13 16:43:00 2004 UTC (5 years, 3 months ago) by giva Branch: MAIN Changes since 1.431: +4 -37 lines Diff to previous 1.431 Added handling of CURLINFO_SSL_ENGINES; Added Curl_SSL_engines_list(), cleanup SSL in url.c (no HAVE_OPENSSL_x etc.). Revision 1.431 - (view) (download) (annotate) - [select for diffs] Fri Dec 10 15:11:11 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.430: +49 -49 lines Diff to previous 1.430 move the port number extraction to after the extraction of user name/password, as suggested by Kai Sommerfeld Revision 1.430 - (view) (download) (annotate) - [select for diffs] Sun Dec 5 23:59:32 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.429: +11 -9 lines Diff to previous 1.429 Dan Fandrich added the --disable-cookies option to configure to build libcurl without cookie support. This is mainly useful if you want to build a minimalistic libcurl with no cookies support at all. Like for embedded systems or similar. Revision 1.429 - (view) (download) (annotate) - [select for diffs] Fri Nov 26 16:08:16 2004 UTC (5 years, 3 months ago) by giva Branch: MAIN Changes since 1.428: +3 -3 lines Diff to previous 1.428 I changed my mind. Remove ioctl() macro in setup.h instead. Revision 1.428 - (view) (download) (annotate) - [select for diffs] Fri Nov 26 14:57:01 2004 UTC (5 years, 3 months ago) by giva Branch: MAIN Changes since 1.427: +3 -3 lines Diff to previous 1.427 Renamed urldata.h members 'ioctl*' to 'ioctrl*' due to clash with djgpp ioctl() macro in setup.h. Revision 1.427 - (view) (download) (annotate) - [select for diffs] Thu Nov 25 22:21:50 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.426: +7 -2 lines Diff to previous 1.426 FTP improvements: If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on the same server again even if a following request is made using a persistent connection. If a second request is made to a server, requesting a file from the same directory as the previous request operated on, libcurl will no longer make that long series of CWD commands just to end up on the same spot. Note that this is only for *exactly* the same dir. There is still room for improvements to optimize the CWD-sending when the dirs are only slightly different. Added test 210, 211 and 212 to verify these changes. Had to improve the test script too and added a new primitive to the test file format. Revision 1.426 - (view) (download) (annotate) - [select for diffs] Wed Nov 24 16:11:36 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.425: +13 -1 lines Diff to previous 1.425 HTTP "auth done right". See lib/README.httpauth Revision 1.425 - (view) (download) (annotate) - [select for diffs] Fri Nov 19 08:52:33 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.424: +3 -17 lines Diff to previous 1.424 David Phillips' FD_SETSIZE fix Revision 1.424 - (view) (download) (annotate) - [select for diffs] Thu Nov 18 14:04:40 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.423: +3 -2 lines Diff to previous 1.423 Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and errors. Revision 1.423 - (view) (download) (annotate) - [select for diffs] Mon Nov 15 11:27:03 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.422: +1 -6 lines Diff to previous 1.422 clean up start time and t_startsingle use so that redirect_time works properly Revision 1.422 - (view) (download) (annotate) - [select for diffs] Fri Nov 12 09:18:14 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.421: +3 -1 lines Diff to previous 1.421 Dan Fandrich added the --disable-crypto-auth option to configure to allow libcurl to build without Digest support. (I figure it should also explicitly disable Negotiate and NTLM.) Revision 1.421 - (view) (download) (annotate) - [select for diffs] Thu Nov 11 23:11:04 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.420: +5 -6 lines Diff to previous 1.420 Fix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST. Revision 1.420 - (view) (download) (annotate) - [select for diffs] Tue Nov 2 10:12:23 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.419: +5 -2 lines Diff to previous 1.419 Paul Nolan fix to make libcurl build nicely on Windows CE Revision 1.419 - (view) (download) (annotate) - [select for diffs] Thu Oct 14 13:44:54 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN CVS Tags: curl-7_12_2 Changes since 1.418: +25 -8 lines Diff to previous 1.418 Eric Vergnaud pointed out that libcurl didn't treat ?-letters in the user name and password fields properly in URLs, like ftp://us?er:pass?word@site.com/. Added test 191 to verify the fix. Revision 1.418 - (view) (download) (annotate) - [select for diffs] Sun Oct 10 14:36:22 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.417: +8 -5 lines Diff to previous 1.417 another lame attempt to avoid the "warning: will never be executed" warning by gcc 3.4 Revision 1.417 - (view) (download) (annotate) - [select for diffs] Thu Oct 7 07:41:44 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.416: +14 -3 lines Diff to previous 1.416 use tld_strerror() only if previously detected, since otherwise we can't work with libidn < 0.5.6 Revision 1.416 - (view) (download) (annotate) - [select for diffs] Wed Oct 6 18:55:58 2004 UTC (5 years, 5 months ago) by giva Branch: MAIN Changes since 1.415: +4 -6 lines Diff to previous 1.415 Fixed tld_check_name(). idna_to_unicode_lzlz() should never fail, but return FALSE if 'uc_name == NULL' just in case. Revision 1.415 - (view) (download) (annotate) - [select for diffs] Wed Oct 6 18:40:10 2004 UTC (5 years, 5 months ago) by giva Branch: MAIN Changes since 1.414: +34 -1 lines Diff to previous 1.414 USE_LIBIDN: Added Top-level-domain (TLD) check for host->name. Only print a warning if check fails. Revision 1.414 - (view) (download) (annotate) - [select for diffs] Wed Oct 6 07:50:18 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.413: +37 -37 lines Diff to previous 1.413 removed tabs and trailing whitespace from source Revision 1.413 - (view) (download) (annotate) - [select for diffs] Tue Oct 5 11:03:59 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.412: +19 -21 lines Diff to previous 1.412 minor edit to re-use a variable and to hopefully avoid a (moot) warning about code that won't be reached Revision 1.412 - (view) (download) (annotate) - [select for diffs] Mon Oct 4 10:36:51 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.411: +19 -14 lines Diff to previous 1.411 Made the dns entry remain locked while a connection to the host remains to allow verbose output during this period. Bertrand Demiddelaer reported and helped fixing. Revision 1.411 - (view) (download) (annotate) - [select for diffs] Sat Oct 2 13:01:44 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.410: +4 -3 lines Diff to previous 1.410 Gisle Vanem provided code that displays an error message when the (libidn based) IDN conversion fails. This is really due to a missing suitable function in the libidn API that I hope we can remove once libidn gets a function like this. Revision 1.410 - (view) (download) (annotate) - [select for diffs] Tue Sep 28 07:11:32 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.409: +3 -3 lines Diff to previous 1.409 Only active the engine code if ssl is enabled. This is how the actual engine member in the struct is used. Revision 1.409 - (view) (download) (annotate) - [select for diffs] Sat Sep 25 21:28:26 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.408: +8 -7 lines Diff to previous 1.408 allow setting CURLOPT_SSLENGINE to NULL even if no SSL engine is supported Revision 1.408 - (view) (download) (annotate) - [select for diffs] Thu Sep 16 21:45:16 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.407: +8 -1 lines Diff to previous 1.407 Added CURLOPT_FTPSSLAUTH Revision 1.407 - (view) (download) (annotate) - [select for diffs] Fri Sep 10 20:58:51 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.406: +2 -2 lines Diff to previous 1.406 - Bug report #1025986. When following a Location: with a custom Host: header replacement, curl only replaced the Host: header on the initial request and didn't replace it on the following ones. This resulted in requests with two Host: headers. Now, curl checks if the location is on the same host as the initial request and then continues to replace the Host: header. And when it moves to another host, it doesn't replace the Host: header but it also doesn't make the second Host: header get used in the request. This change is verified by the two new test cases 184 and 185. Revision 1.406 - (view) (download) (annotate) - [select for diffs] Mon Aug 16 13:25:30 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN Changes since 1.405: +1 -9 lines Diff to previous 1.405 allow a custom "Accept-Encoding:" header override the internally set one that gets set with CURLOPT_ENCODING Revision 1.405 - (view) (download) (annotate) - [select for diffs] Tue Aug 10 13:21:32 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN Changes since 1.404: +3 -1 lines Diff to previous 1.404 Ok, setting CURLOPT_POST to 0 will now convert the request to a GET (this remains undocumented as this is not the way we recommend) Revision 1.404 - (view) (download) (annotate) - [select for diffs] Thu Jul 29 08:06:33 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_12_1 Changes since 1.403: +8 -6 lines Diff to previous 1.403 prevent all the sig and alarm stuff when using ares Revision 1.403 - (view) (download) (annotate) - [select for diffs] Wed Jul 28 21:27:33 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN Changes since 1.402: +16 -4 lines Diff to previous 1.402 Bertrand Demiddelaer fixed the host name to get setup properly even when a connection is re-used, when a proxy is in use. Revision 1.402 - (view) (download) (annotate) - [select for diffs] Sat Jul 10 23:11:22 2004 UTC (5 years, 8 months ago) by gknauf Branch: MAIN Changes since 1.401: +3 -1 lines Diff to previous 1.401 ifdef keep_sigact since its only used when SIGALRM is defined. Revision 1.401 - (view) (download) (annotate) - [select for diffs] Sun Jul 4 21:37:35 2004 UTC (5 years, 8 months ago) by bagder Branch: MAIN Changes since 1.400: +4 -4 lines Diff to previous 1.400 explicit typecasts when converting from long to int to avoid warnings Revision 1.400 - (view) (download) (annotate) - [select for diffs] Sun Jul 4 21:36:14 2004 UTC (5 years, 8 months ago) by bagder Branch: MAIN Changes since 1.399: +4 -4 lines Diff to previous 1.399 made 'connectindex' a long variable to prevent compiler warnings when implicitly converting it to int Revision 1.399 - (view) (download) (annotate) - [select for diffs] Thu Jul 1 07:43:20 2004 UTC (5 years, 8 months ago) by bagder Branch: MAIN Changes since 1.398: +16 -17 lines Diff to previous 1.398 variable type cleanup to fix picky compiler warnings Revision 1.398 - (view) (download) (annotate) - [select for diffs] Wed Jun 30 11:09:16 2004 UTC (5 years, 8 months ago) by bagder Branch: MAIN Changes since 1.397: +4 -1 lines Diff to previous 1.397 NOBODY set TRUE after a POST makes a good HEAD now Revision 1.397 - (view) (download) (annotate) - [select for diffs] Thu Jun 24 09:14:59 2004 UTC (5 years, 8 months ago) by bagder Branch: MAIN Changes since 1.396: +5 -5 lines Diff to previous 1.396 typecasts to prevent warnings Revision 1.396 - (view) (download) (annotate) - [select for diffs] Thu Jun 24 07:43:49 2004 UTC (5 years, 8 months ago) by bagder Branch: MAIN Changes since 1.395: +27 -43 lines Diff to previous 1.395 Source cleanups. The major one being that we now _always_ use a Curl_addrinfo linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code. Revision 1.395 - (view) (download) (annotate) - [select for diffs] Tue Jun 22 15:23:01 2004 UTC (5 years, 8 months ago) by bagder Branch: MAIN CVS Tags: pre-aifix Changes since 1.394: +6 -1 lines Diff to previous 1.394 Moved the "About to connect() to" text to the place where the host name is actually known, as before this text lied when used in i.e FTP. Revision 1.394 - (view) (download) (annotate) - [select for diffs] Fri Jun 18 06:20:43 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.393: +2 -2 lines Diff to previous 1.393 Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the mailing list. Revision 1.393 - (view) (download) (annotate) - [select for diffs] Thu Jun 10 11:06:21 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.392: +9 -13 lines Diff to previous 1.392 Gisle Vanem's improved verbose output and timeout handling when connecting to a host name that resolves to multiple IP addresses. Revision 1.392 - (view) (download) (annotate) - [select for diffs] Wed Jun 9 08:23:55 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.391: +250 -232 lines Diff to previous 1.391 Alexander Krasnostavsky's fix to make libcurl build fine with configure --disable-http, which thus builds a libcurl without HTTP support. Revision 1.391 - (view) (download) (annotate) - [select for diffs] Thu Jun 3 11:41:05 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.390: +52 -1 lines Diff to previous 1.390 Alexander Krasnostavsky's FTP third party transfer (proxy) support Revision 1.390 - (view) (download) (annotate) - [select for diffs] Wed Jun 2 13:57:38 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.389: +4 -10 lines Diff to previous 1.389 Made CURLOPT_UPLOAD and CURLOPT_PUT mean the same thing internally (the previous difference was not clear nor documented properly). They can now both be used interchangeably, but we prefer UPLOAD to PUT since it is a more generic term. Revision 1.389 - (view) (download) (annotate) - [select for diffs] Fri May 28 09:56:59 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN CVS Tags: curl-7_12_0 Changes since 1.388: +5 -2 lines Diff to previous 1.388 check for failing strdup()s Revision 1.388 - (view) (download) (annotate) - [select for diffs] Wed May 26 08:54:36 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.387: +9 -1 lines Diff to previous 1.387 Added a new 'bit' in the connect struct named 'tunnel_proxy' that is set if a connection is tunneled through a proxy. A tunnel is done with CONNECT, either when using HTTPS or FTPS, or if explicitly enabled by the app. Revision 1.387 - (view) (download) (annotate) - [select for diffs] Tue May 25 21:47:29 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.386: +2 -2 lines Diff to previous 1.386 initial support for "uploading" to file:// URLs Revision 1.386 - (view) (download) (annotate) - [select for diffs] Tue May 25 12:00:15 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.385: +10 -1 lines Diff to previous 1.385 preprocessor magic around the libidn idn_free() stuff to remain workable both with older libidn versions without idn_free() and with libidn versions that gets installed without idn-free.h Revision 1.385 - (view) (download) (annotate) - [select for diffs] Mon May 24 08:19:37 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.384: +3 -1 lines Diff to previous 1.384 only idn_free() if built with libidn Revision 1.384 - (view) (download) (annotate) - [select for diffs] Mon May 24 07:40:01 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.383: +11 -8 lines Diff to previous 1.383 Simon Josefsson added a idn_free() function in libidn 0.4.5 as a reaction to Gisle's previous mail. We now use this function, and thus we require libidn 0.4.5 or later. No earler version will do. Revision 1.383 - (view) (download) (annotate) - [select for diffs] Mon May 24 07:13:49 2004 UTC (5 years, 9 months ago) by bagder Branch: MAIN Changes since 1.382: +1 -2 lines Diff to previous 1.382 Robert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE could not be used both in one request. Fixed it and added test case 172 to verify. Revision 1.382 - (view) (download) (annotate) - [select for diffs] Wed May 19 09:25:00 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.381: +27 -27 lines Diff to previous 1.381 killed trailing whitespace Revision 1.381 - (view) (download) (annotate) - [select for diffs] Mon May 17 08:05:46 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.380: +9 -5 lines Diff to previous 1.380 I made Curl_done() take a pointer-pointer in the first argument instead, and if the connection is killed it blanks the pointer it points to, to make it easier to detect usage problems whereever Curl_done() is used. Revision 1.380 - (view) (download) (annotate) - [select for diffs] Thu May 13 14:12:49 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.379: +9 -5 lines Diff to previous 1.379 bail out when no memory occurs Revision 1.379 - (view) (download) (annotate) - [select for diffs] Wed May 12 13:05:01 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.378: +37 -18 lines Diff to previous 1.378 clean up and return better on out of memory Revision 1.378 - (view) (download) (annotate) - [select for diffs] Wed May 12 12:06:39 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.377: +10 -4 lines Diff to previous 1.377 Curl_done() and the protocol-specific conn->curl_done() functions now all take a CURLcode as a second argument, that is non-zero when Curl_done() is called after an error was returned from Curl_do() (or similar). Revision 1.377 - (view) (download) (annotate) - [select for diffs] Wed May 12 08:26:56 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.376: +9 -8 lines Diff to previous 1.376 bail out if we can't allocate the new range string, and make use of aprintf() instead of using snprintf() + strdup(). Revision 1.376 - (view) (download) (annotate) - [select for diffs] Wed May 12 07:56:01 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.375: +2 -2 lines Diff to previous 1.375 removed another jhrg-reference in a comment Revision 1.375 - (view) (download) (annotate) - [select for diffs] Tue May 11 21:17:03 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.374: +55 -51 lines Diff to previous 1.374 fixed Curl_open() to not leak anything if one malloc() fails, fix by James Bursa only modified by me. Revision 1.374 - (view) (download) (annotate) - [select for diffs] Tue May 11 11:30:24 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.373: +2 -3 lines Diff to previous 1.373 curl_global_init_mem() allows the memory functions to be replaced. memory.h is included everywhere for this. Revision 1.373 - (view) (download) (annotate) - [select for diffs] Fri May 7 18:46:28 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.372: +3 -3 lines Diff to previous 1.372 We don't support any long protocol names so we can use a smaller buffer. Also, make sure we have room for the trailing zero, only scan to size-1. Gisle Vanem reported. Revision 1.372 - (view) (download) (annotate) - [select for diffs] Thu May 6 15:17:10 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.371: +1 -4 lines Diff to previous 1.371 removed two odd comments Revision 1.371 - (view) (download) (annotate) - [select for diffs] Wed May 5 07:17:37 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.370: +8 -6 lines Diff to previous 1.370 do the alarm time-left math using unsigned longs since that is what alarm() returns and uses as input and converting to signed generates warnings and actually risks loss of accuracy Revision 1.370 - (view) (download) (annotate) - [select for diffs] Wed May 5 07:08:31 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.369: +3 -1 lines Diff to previous 1.369 fix_hostname() now (void)s the conn argument to prevent warnings on non-idn enabled builds Revision 1.369 - (view) (download) (annotate) - [select for diffs] Wed May 5 06:57:26 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.368: +1 -2 lines Diff to previous 1.368 prevent warnings when using the gcc option -Wunreachable-code Revision 1.368 - (view) (download) (annotate) - [select for diffs] Tue May 4 07:52:53 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.367: +18 -6 lines Diff to previous 1.367 General HTTP authentication cleanup and fixes Revision 1.367 - (view) (download) (annotate) - [select for diffs] Thu Apr 29 13:41:48 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.366: +6 -9 lines Diff to previous 1.366 fixed the host/proxy name issue when re-using a connection and made IDN names work when using proxy by converting the IDN-name to the ACE-encoded version before the request-URL is passed to the proxy. Revision 1.366 - (view) (download) (annotate) - [select for diffs] Thu Apr 29 11:57:52 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.365: +3 -3 lines Diff to previous 1.365 encode the correct name Revision 1.365 - (view) (download) (annotate) - [select for diffs] Tue Apr 27 13:56:23 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.364: +138 -115 lines Diff to previous 1.364 Made host name and proxy name get stored in a 'struct hostname' and set all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right. Revision 1.364 - (view) (download) (annotate) - [select for diffs] Mon Apr 26 15:19:55 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.363: +3 -2 lines Diff to previous 1.363 made the verbose connect use the proper host name string even when using a proxy Revision 1.363 - (view) (download) (annotate) - [select for diffs] Mon Apr 26 15:14:19 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.362: +2 -2 lines Diff to previous 1.362 NI_MAXHOST is not generally available, we use plain 256 bytes for the hostname instead, its only for debug verbose output anyway Revision 1.362 - (view) (download) (annotate) - [select for diffs] Mon Apr 26 14:18:00 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.361: +5 -5 lines Diff to previous 1.361 Made defines instead of plain numbers for the Curl_resolv() return code to make the code easier to read Revision 1.361 - (view) (download) (annotate) - [select for diffs] Mon Apr 26 14:03:25 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.360: +25 -23 lines Diff to previous 1.360 IDN adjustments and host cleanups by Gisle Revision 1.360 - (view) (download) (annotate) - [select for diffs] Mon Apr 26 07:20:11 2004 UTC (5 years, 10 months ago) by bagder Branch: MAIN Changes since 1.359: +71 -61 lines Diff to previous 1.359 Major hostip.c cleanup and split into multiple files and easier #ifdef usage. Revision 1.359 - (view) (download) (annotate) - [select for diffs] Wed Apr 21 11:15:02 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN CVS Tags: curl-7_11_2 Changes since 1.358: +4 -4 lines Diff to previous 1.358 typecast tolower/toupper arguments to int to make picky compilers complain less Revision 1.358 - (view) (download) (annotate) - [select for diffs] Tue Apr 20 07:53:24 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN Changes since 1.357: +56 -64 lines Diff to previous 1.357 Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed- length limit of the hostname part of the URL. Revision 1.357 - (view) (download) (annotate) - [select for diffs] Tue Apr 13 10:42:32 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN Changes since 1.356: +2 -2 lines Diff to previous 1.356 proper typecast to prevent compiler warning Revision 1.356 - (view) (download) (annotate) - [select for diffs] Tue Apr 13 07:37:28 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN Changes since 1.355: +2 -2 lines Diff to previous 1.355 remove an long time #defined struct member and use the actual "real" name instead to make it easier to find/read Revision 1.355 - (view) (download) (annotate) - [select for diffs] Tue Apr 13 07:16:26 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN Changes since 1.354: +18 -3 lines Diff to previous 1.354 Moved the 'tcp_nodelay' member to the proper 'UserDefined' struct within the 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... Revision 1.354 - (view) (download) (annotate) - [select for diffs] Tue Apr 6 15:14:11 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN Changes since 1.353: +6 -2 lines Diff to previous 1.353 New authentication code added, particularly noticable when doing POST or PUT with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST. Revision 1.353 - (view) (download) (annotate) - [select for diffs] Wed Mar 31 21:33:52 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN Changes since 1.352: +2 -2 lines Diff to previous 1.352 Use the new HAVE_NI_WITHSCOPEID define instead of merely checking for the existance of NI_WITHSCOPEID since some platforms have that define but still can't function with it set. Revision 1.352 - (view) (download) (annotate) - [select for diffs] Wed Mar 31 10:46:06 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN Changes since 1.351: +8 -3 lines Diff to previous 1.351 Fixed how the user name is extracted from http_proxy environment variable when set. Revision 1.351 - (view) (download) (annotate) - [select for diffs] Thu Mar 25 13:37:19 2004 UTC (5 years, 11 months ago) by bagder Branch: MAIN Changes since 1.350: +9 -1 lines Diff to previous 1.350 tcp-nodelay patch by Joe Halpin Revision 1.350 - (view) (download) (annotate) - [select for diffs] Fri Mar 12 08:55:51 2004 UTC (6 years ago) by bagder Branch: MAIN CVS Tags: curl-7_11_1 Changes since 1.349: +10 -3 lines Diff to previous 1.349 Added CURLOPT_POSTFIELDSIZE_LARGE to offer a large file version of the CURLOPT_POSTFIELDSIZE option to allow really big HTTP POSTs. Revision 1.349 - (view) (download) (annotate) - [select for diffs] Thu Mar 11 13:13:35 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.348: +6 -6 lines Diff to previous 1.348 Gisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets. Revision 1.348 - (view) (download) (annotate) - [select for diffs] Wed Mar 10 16:01:49 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.347: +3 -3 lines Diff to previous 1.347 curl_socket_t mistakes cleanup Revision 1.347 - (view) (download) (annotate) - [select for diffs] Thu Mar 4 12:57:12 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.346: +4 -4 lines Diff to previous 1.346 prevent harmless compiler warning Revision 1.346 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 14:00:44 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.345: +2 -2 lines Diff to previous 1.345 corrected the reuse_fresh condition Revision 1.345 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 09:31:20 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.344: +3 -3 lines Diff to previous 1.344 Yet another curl_off_t printf format attempt, we now exclude the %-letter from FORMAT_OFF_T to allow additional options to get specified, like with '"%5" FORMAT_OFF_T'. Revision 1.344 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 07:25:39 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.343: +3 -3 lines Diff to previous 1.343 use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of having to redef that name Revision 1.343 - (view) (download) (annotate) - [select for diffs] Mon Mar 1 16:28:00 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.342: +3 -3 lines Diff to previous 1.342 Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables. Revision 1.342 - (view) (download) (annotate) - [select for diffs] Mon Mar 1 09:43:42 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.341: +12 -5 lines Diff to previous 1.341 Only consider the fresh-connection option on the first connection made, not on followed redirections etc. This should fix the bug #905365, which caused NTLM to fail with the option set. Revision 1.341 - (view) (download) (annotate) - [select for diffs] Mon Mar 1 07:19:26 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.340: +5 -5 lines Diff to previous 1.340 in Curl_disonnect(): call the protocol-specific disconnect function before we unlink the "current" connection struct from the connection cache. Revision 1.340 - (view) (download) (annotate) - [select for diffs] Sun Feb 22 22:31:24 2004 UTC (6 years ago) by bagder Branch: MAIN Changes since 1.339: +4 -3 lines Diff to previous 1.339 the missing part of Gisle Vanem's connect-timeout fix for win32 Revision 1.339 - (view) (download) (annotate) - [select for diffs] Mon Feb 16 15:24:22 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.338: +15 -2 lines Diff to previous 1.338 Make the 'areschannel' get created in the curl_easy_init() and re-use that same channel during the whole curl handle's life until curl_easy_cleanup(). Revision 1.338 - (view) (download) (annotate) - [select for diffs] Mon Feb 16 13:14:55 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.337: +24 -14 lines Diff to previous 1.337 Fix verbosconnect() when ipv6-enabled to not assume that conn->serv_addr is a valid pointer, but instead always depend on the passed-in dns pointer. This happens to be NULL when the connection is re-used... Revision 1.337 - (view) (download) (annotate) - [select for diffs] Mon Feb 16 07:33:30 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.336: +19 -2 lines Diff to previous 1.336 Jeff Lawson pointed out that we need to check for a '5' in the version field to properly work with SOCKS5 proxies. I also included some ascii art describing the SOCKS5 response, as RFC1928 describes. Jeff provided details in bug report #741841 and here: http://curl.haxx.se/mail/lib-2004-02/0181.html Revision 1.336 - (view) (download) (annotate) - [select for diffs] Fri Feb 13 12:42:37 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.335: +10 -9 lines Diff to previous 1.335 in the socks code, make sure we receive Curl_read results in ints and Curl_write in CURLcode, to keep the picky compilers happy Revision 1.335 - (view) (download) (annotate) - [select for diffs] Thu Feb 12 09:48:27 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.334: +2 -3 lines Diff to previous 1.334 No longer receive the return code in ConnectionKillOne() that wasn't dealt with anyway and thus caused picky compiler to warn. Revision 1.334 - (view) (download) (annotate) - [select for diffs] Wed Feb 11 21:11:08 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.333: +9 -24 lines Diff to previous 1.333 #if-check for SIGALRM before assuming it is present Revision 1.333 - (view) (download) (annotate) - [select for diffs] Thu Feb 5 09:38:56 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.332: +6 -6 lines Diff to previous 1.332 options we get as longs need to be typecasted when assigned to prevent picky compiler warnings Revision 1.332 - (view) (download) (annotate) - [select for diffs] Mon Feb 2 10:13:54 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.331: +2 -2 lines Diff to previous 1.331 when including ca-bundle.h, don't look in the current dir first, simply use the search path since we want the build-version rather than the one in the source dir Revision 1.331 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 16:16:44 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.330: +3 -2 lines Diff to previous 1.330 when saving in a cookie jar fails, include the file name in the error message to make it easier to track down Revision 1.330 - (view) (download) (annotate) - [select for diffs] Fri Jan 23 08:36:03 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.329: +2 -2 lines Diff to previous 1.329 Proxy username and password on persistant connections could easily get messed up. Vincent Bronner detected this. Revision 1.329 - (view) (download) (annotate) - [select for diffs] Fri Jan 23 08:29:56 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.328: +3 -3 lines Diff to previous 1.328 check the arguments to the socks5 function, as the name and password might be NULL pointers, and if non-NULL if now support zero-length names/passwords Revision 1.328 - (view) (download) (annotate) - [select for diffs] Thu Jan 22 12:45:50 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.327: +4 -4 lines Diff to previous 1.327 use curl_off_t instead of off_t! Revision 1.327 - (view) (download) (annotate) - [select for diffs] Thu Jan 22 11:54:00 2004 UTC (6 years, 1 month ago) by bagder Branch: MAIN Changes since 1.326: +2 -2 lines Diff to previous 1.326 use the proper type for formposts, not the deprecated one Revision 1.326 - (view) (download) (annotate) - [select for diffs] Sun Jan 11 22:56:37 2004 UTC (6 years, 2 months ago) by bagder Branch: MAIN CVS Tags: curl-7_11_0 Changes since 1.325: +5 -3 lines Diff to previous 1.325 Dominick Meglio pointed out FTPS should use default port 990 according to IANA. Revision 1.325 - (view) (download) (annotate) - [select for diffs] Wed Jan 7 09:19:35 2004 UTC (6 years, 2 months ago) by bagder Branch: MAIN Changes since 1.324: +2 -2 lines Diff to previous 1.324 updated year in the copyright string Revision 1.324 - (view) (download) (annotate) - [select for diffs] Mon Jan 5 22:29:32 2004 UTC (6 years, 2 months ago) by bagder Branch: MAIN Changes since 1.323: +25 -3 lines Diff to previous 1.323 David J Meyer's large file support. Revision 1.323 - (view) (download) (annotate) - [select for diffs] Fri Dec 19 08:10:09 2003 UTC (6 years, 3 months ago) by bagder Branch: MAIN Changes since 1.322: +5 -1 lines Diff to previous 1.322 Make setopt() support CURLOPT_IPRESOLVE... Revision 1.322 - (view) (download) (annotate) - [select for diffs] Fri Dec 19 08:03:15 2003 UTC (6 years, 3 months ago) by bagder Branch: MAIN Changes since 1.321: +3 -3 lines Diff to previous 1.321 Gisle Vanem's minor fixes Revision 1.321 - (view) (download) (annotate) - [select for diffs] Mon Dec 15 17:33:49 2003 UTC (6 years, 3 months ago) by bagder Branch: MAIN Changes since 1.320: +3 -1 lines Diff to previous 1.320 added a library-wide interface for doing dns cache pruning, and no longer make the pruning at each name lookup, only in Curl_done(). Revision 1.320 - (view) (download) (annotate) - [select for diffs] Mon Dec 15 14:48:41 2003 UTC (6 years, 3 months ago) by bagder Branch: MAIN Changes since 1.319: +5 -1 lines Diff to previous 1.319 Giuseppe Attardi fixed a really tricky bug Revision 1.319 - (view) (download) (annotate) - [select for diffs] Tue Dec 2 13:27:29 2003 UTC (6 years, 3 months ago) by bagder Branch: MAIN Changes since 1.318: +2 -2 lines Diff to previous 1.318 use the HAVE_KRB4 define instead of just KRB4 Revision 1.318 - (view) (download) (annotate) - [select for diffs] Tue Dec 2 06:25:41 2003 UTC (6 years, 3 months ago) by bagder Branch: MAIN Changes since 1.317: +4 -5 lines Diff to previous 1.317 Gisle Vanem fixed the check-order for FTPS and FTP. Revision 1.317 - (view) (download) (annotate) - [select for diffs] Mon Nov 24 07:15:37 2003 UTC (6 years, 3 months ago) by bagder Branch: MAIN Changes since 1.316: +23 -20 lines Diff to previous 1.316 FTPS support added as RFC2228 and the murray-ftp-auth-ssl draft describe it Revision 1.316 - (view) (download) (annotate) - [select for diffs] Mon Nov 24 07:10:02 2003 UTC (6 years, 3 months ago) by bagder Branch: MAIN Changes since 1.315: +12 -9 lines Diff to previous 1.315 Gaz Iqbal fixed a range string memory leak! Revision 1.315 - (view) (download) (annotate) - [select for diffs] Wed Nov 19 14:35:40 2003 UTC (6 years, 4 months ago) by bagder Branch: MAIN Changes since 1.314: +10 -4 lines Diff to previous 1.314 respect bits.close even if an error already is set, but make sure that the existing error is the one returned back Revision 1.314 - (view) (download) (annotate) - [select for diffs] Tue Nov 11 14:30:45 2003 UTC (6 years, 4 months ago) by bagder Branch: MAIN Changes since 1.313: +9 -2 lines Diff to previous 1.313 Added CURLOPT_NETRC_FILE. Revision 1.313 - (view) (download) (annotate) - [select for diffs] Wed Oct 29 09:53:22 2003 UTC (6 years, 4 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10_8 Changes since 1.312: +12 -2 lines Diff to previous 1.312 David Hull made the file: URL parser also accept the somewhat sloppy file syntax: file:/path. I added test case 203 to verify this. Revision 1.312 - (view) (download) (annotate) - [select for diffs] Tue Oct 28 09:17:15 2003 UTC (6 years, 4 months ago) by bagder Branch: MAIN Changes since 1.311: +3 -2 lines Diff to previous 1.311 overlapping memory chunks with strcpy(), detected by the friendly valgrind Revision 1.311 - (view) (download) (annotate) - [select for diffs] Tue Oct 21 06:34:15 2003 UTC (6 years, 5 months ago) by bagder Branch: MAIN Changes since 1.310: +4 -4 lines Diff to previous 1.310 conn->user and conn->passwd will now always be set to point to something. If not user or password is set, they will point to a "" string. Revision 1.310 - (view) (download) (annotate) - [select for diffs] Sat Oct 18 20:14:33 2003 UTC (6 years, 5 months ago) by bagder Branch: MAIN Changes since 1.309: +8 -8 lines Diff to previous 1.309 gcc -Wshadow complaints fixed Revision 1.309 - (view) (download) (annotate) - [select for diffs] Fri Oct 17 13:11:03 2003 UTC (6 years, 5 months ago) by bagder Branch: MAIN Changes since 1.308: +8 -1 lines Diff to previous 1.308 Dominick Meglio implemented CURLOPT_MAXFILESIZE and --max-filesize. Revision 1.308 - (view) (download) (annotate) - [select for diffs] Fri Oct 17 09:28:00 2003 UTC (6 years, 5 months ago) by bagder Branch: MAIN Changes since 1.307: +17 -12 lines Diff to previous 1.307 o the name and password arrays are 256 bytes, so let's accept that lengthy input o have ->passwd and ->name be NULL if no name/passwd was given o only set default user+password for FTP if no userpwd was given Revision 1.307 - (view) (download) (annotate) - [select for diffs] Thu Oct 16 14:08:59 2003 UTC (6 years, 5 months ago) by bagder Branch: MAIN Changes since 1.306: +10 -99 lines Diff to previous 1.306 password promting support removed from libcurl Revision 1.306 - (view) (download) (annotate) - [select for diffs] Tue Oct 14 12:00:45 2003 UTC (6 years, 5 months ago) by bagder Branch: MAIN Changes since 1.305: +1 -2 lines Diff to previous 1.305 Gisle Vanem's IPv6-on-Windows patch applied! Revision 1.305 - (view) (download) (annotate) - [select for diffs] Thu Oct 9 20:04:47 2003 UTC (6 years, 5 months ago) by bagder Branch: MAIN Changes since 1.304: +3 -1 lines Diff to previous 1.304 Lachlan O'Dea fixed a resume problem: "If I set CURLOPT_RESUME_FROM, perform an HTTP download, then reset CURLOPT_RESUME_FROM to 0, the next download still has a Range header with a garbage value." bug report #820502 Revision 1.304 - (view) (download) (annotate) - [select for diffs] Fri Sep 19 12:56:24 2003 UTC (6 years, 6 months ago) by bagder Branch: MAIN Changes since 1.303: +3 -3 lines Diff to previous 1.303 Markus Moeller's SPNEGO patch applied, with my edits, additions and minor cleanups. Revision 1.303 - (view) (download) (annotate) - [select for diffs] Mon Sep 15 22:33:18 2003 UTC (6 years, 6 months ago) by bagder Branch: MAIN Changes since 1.302: +8 -1 lines Diff to previous 1.302 If a connection is closed down and it had some kind of NTLM involved, we reset the authentication state to make it restart on the next connection. This of course because NTLM is connection-oriented, whilst all other authentication schemes are not. Revision 1.302 - (view) (download) (annotate) - [select for diffs] Wed Sep 3 22:02:41 2003 UTC (6 years, 6 months ago) by bagder Branch: MAIN Changes since 1.301: +8 -1 lines Diff to previous 1.301 Early Ehlinger's CURLOPT_FTP_RESPONSE_TIMEOUT patch applied. Revision 1.301 - (view) (download) (annotate) - [select for diffs] Wed Sep 3 21:47:41 2003 UTC (6 years, 6 months ago) by bagder Branch: MAIN Changes since 1.300: +11 -4 lines Diff to previous 1.300 Joerg Mueller-Tolk's fix to better deal with user+passwords for proxies Revision 1.300 - (view) (download) (annotate) - [select for diffs] Thu Aug 28 11:28:55 2003 UTC (6 years, 6 months ago) by bagder Branch: MAIN Changes since 1.299: +3 -2 lines Diff to previous 1.299 CURLOPT_BUFFERSIZE must not be smaller than 0 (zero) as that is impossible for us to deal with Revision 1.299 - (view) (download) (annotate) - [select for diffs] Sun Aug 17 13:32:37 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN Changes since 1.298: +7 -1 lines Diff to previous 1.298 setting WRITEFUNCTION or READFUNCTION to NULL will now reset the callback pointers to the internal default functions Revision 1.298 - (view) (download) (annotate) - [select for diffs] Thu Aug 14 14:20:03 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10_7 Changes since 1.297: +2 -1 lines Diff to previous 1.297 prevent memory leak when going out of memory Revision 1.297 - (view) (download) (annotate) - [select for diffs] Mon Aug 11 12:30:21 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN Changes since 1.296: +5 -7 lines Diff to previous 1.296 use safefree instead Revision 1.296 - (view) (download) (annotate) - [select for diffs] Mon Aug 11 12:25:30 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN Changes since 1.295: +3 -1 lines Diff to previous 1.295 memory leak fixed when re-using connections with proxy user+passwd Revision 1.295 - (view) (download) (annotate) - [select for diffs] Mon Aug 11 11:47:45 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN Changes since 1.294: +26 -1 lines Diff to previous 1.294 Serge Semashko added CURLOPT_PROXYAUTH support, and now NTLM for proxies work. Revision 1.294 - (view) (download) (annotate) - [select for diffs] Mon Aug 11 09:56:06 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN Changes since 1.293: +3 -3 lines Diff to previous 1.293 the new cookie functions that require 'data' passed in Revision 1.293 - (view) (download) (annotate) - [select for diffs] Fri Aug 8 09:13:19 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN Changes since 1.292: +8 -1 lines Diff to previous 1.292 Early Ehlinger's CURLOPT_FTP_CREATE_MISSING_DIRS patch was applied Revision 1.292 - (view) (download) (annotate) - [select for diffs] Tue Aug 5 14:40:59 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN Changes since 1.291: +136 -30 lines Diff to previous 1.291 ares awareness/usage/support added. If configure --enable-ares is used, we build libcurl to use ares for asynch name resolves. Revision 1.291 - (view) (download) (annotate) - [select for diffs] Mon Aug 4 15:02:43 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN CVS Tags: pre-ares Changes since 1.290: +44 -18 lines Diff to previous 1.290 Dirk Manske's patch that introduces cookie support to the share interface. Revision 1.290 - (view) (download) (annotate) - [select for diffs] Fri Jul 25 08:30:58 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10_6 Changes since 1.289: +1 -2 lines Diff to previous 1.289 Removed #include <sys/resource.h>, as pointed out by Henry Bland we don't need it. Revision 1.289 - (view) (download) (annotate) - [select for diffs] Wed Jul 23 17:06:21 2003 UTC (6 years, 7 months ago) by bagder Branch: MAIN Changes since 1.288: +3 -1 lines Diff to previous 1.288 When we re-use an existing connection we must make sure that we don't accidentally re-use the connect_addr field, as that might no longer be around. Fix verified by Tracy Boehrer who basicly debugged and tracked down this problem. Revision 1.288 - (view) (download) (annotate) - [select for diffs] Tue Jul 22 11:15:46 2003 UTC (6 years, 8 months ago) by bagder Branch: MAIN Changes since 1.287: +2 -2 lines Diff to previous 1.287 reversed the check for GSSAPI when request that auth Revision 1.287 - (view) (download) (annotate) - [select for diffs] Mon Jul 21 13:16:30 2003 UTC (6 years, 8 months ago) by bagder Branch: MAIN Changes since 1.286: +58 -57 lines Diff to previous 1.286 moved the proxyuser and proxypasswd fields from the sessionhandle to the connectdata to work as expected Revision 1.286 - (view) (download) (annotate) - [select for diffs] Sun Jul 20 00:02:47 2003 UTC (6 years, 8 months ago) by bagder Branch: MAIN Changes since 1.285: +6 -4 lines Diff to previous 1.285 If NTLM is requested, only re-use connections that have the exact same credentials. Revision 1.285 - (view) (download) (annotate) - [select for diffs] Sat Jul 19 23:56:33 2003 UTC (6 years, 8 months ago) by bagder Branch: MAIN Changes since 1.284: +48 -31 lines Diff to previous 1.284 Access the user and passwd fields from the connectdata struct now instead of the sessionhandle struct, as that was not good. Revision 1.284 - (view) (download) (annotate) - [select for diffs] Fri Jul 4 16:29:23 2003 UTC (6 years, 8 months ago) by bagder Branch: MAIN Changes since 1.283: +14 -1 lines Diff to previous 1.283 Peter Sylvester's patch was applied that introduces the following: CURLOPT_SSL_CTX_FUNCTION to set a callback that gets called with the OpenSSL's ssl_ctx pointer passed in and allow a callback to act on it. If anything but CURLE_OK is returned, that will also be returned by libcurl all the way back. If this function changes the CURLOPT_URL, libcurl will detect this and instead go use the new URL. CURLOPT_SSL_CTX_DATA is a pointer you set to get passed to the callback set with CURLOPT_SSL_CTX_FUNCTION. Revision 1.283 - (view) (download) (annotate) - [select for diffs] Thu Jun 26 11:30:59 2003 UTC (6 years, 8 months ago) by bagder Branch: MAIN Changes since 1.282: +13 -30 lines Diff to previous 1.282 added CURLOPT_HTTPAUTH support Revision 1.282 - (view) (download) (annotate) - [select for diffs] Thu Jun 12 17:34:28 2003 UTC (6 years, 9 months ago) by bagder Branch: MAIN Changes since 1.281: +8 -20 lines Diff to previous 1.281 CURLHTTP* renamed to CURLAUTH* and NEGOTIATE is now GSSNEGOTIATE as there's a "plain" Negotiate as well. Revision 1.281 - (view) (download) (annotate) - [select for diffs] Wed Jun 11 13:38:57 2003 UTC (6 years, 9 months ago) by bagder Branch: MAIN Changes since 1.280: +16 -1 lines Diff to previous 1.280 Initial take at NTLM authentication. It doesn't really work at this point but the infrastructure is there. Revision 1.280 - (view) (download) (annotate) - [select for diffs] Tue Jun 10 12:49:19 2003 UTC (6 years, 9 months ago) by bagder Branch: MAIN Changes since 1.279: +29 -9 lines Diff to previous 1.279 Set auth type differently, we use one CURLOPT_HTTPAUTH instead as we plan to add more method in the future. Revision 1.279 - (view) (download) (annotate) - [select for diffs] Tue Jun 10 12:22:24 2003 UTC (6 years, 9 months ago) by bagder Branch: MAIN Changes since 1.278: +10 -1 lines Diff to previous 1.278 Daniel Kouril's patch that adds HTTP negotiation support to libcurl was added. Revision 1.278 - (view) (download) (annotate) - [select for diffs] Fri May 23 06:44:24 2003 UTC (6 years, 9 months ago) by bagder Branch: MAIN Changes since 1.277: +2 -1 lines Diff to previous 1.277 include digest.h for proto Revision 1.277 - (view) (download) (annotate) - [select for diffs] Thu May 22 22:38:46 2003 UTC (6 years, 10 months ago) by bagder Branch: MAIN Changes since 1.276: +10 -2 lines Diff to previous 1.276 Added CURLOPT_HTTPDIGEST support SOCKS5 fix as suggested by Jis in bugreport #741841. Revision 1.276 - (view) (download) (annotate) - [select for diffs] Wed May 21 08:08:50 2003 UTC (6 years, 10 months ago) by bagder Branch: MAIN Changes since 1.275: +28 -1 lines Diff to previous 1.275 Gisle Vanem made curl build with djgpp on DOS. Revision 1.275 - (view) (download) (annotate) - [select for diffs] Mon May 12 12:45:14 2003 UTC (6 years, 10 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10_5 Changes since 1.274: +10 -1 lines Diff to previous 1.274 Dan Fandrich changed CURLOPT_ENCODING to select all supported encodings if set to "". This frees the application from having to know which encodings the library supports. Revision 1.274 - (view) (download) (annotate) - [select for diffs] Fri May 9 07:39:29 2003 UTC (6 years, 10 months ago) by bagder Branch: MAIN Changes since 1.273: +7 -2 lines Diff to previous 1.273 support for CURLOPT_FTP_USE_EPRT added Revision 1.273 - (view) (download) (annotate) - [select for diffs] Wed Apr 30 19:58:36 2003 UTC (6 years, 10 months ago) by bagder Branch: MAIN Changes since 1.272: +3 -1 lines Diff to previous 1.272 if there's a cookiehost allocated, free that too Revision 1.272 - (view) (download) (annotate) - [select for diffs] Fri Apr 11 16:23:06 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.271: +3 -3 lines Diff to previous 1.271 ah, move the zero byte too or havoc will occur Revision 1.271 - (view) (download) (annotate) - [select for diffs] Fri Apr 11 16:08:41 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.270: +2 -2 lines Diff to previous 1.270 support ? as separator instead of / even if not protocol was given Revision 1.270 - (view) (download) (annotate) - [select for diffs] Fri Apr 11 07:39:16 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.269: +5 -3 lines Diff to previous 1.269 show a verbose warning message in case cookie-saving fails, after Ralph Mitchell's notification. Revision 1.269 - (view) (download) (annotate) - [select for diffs] Thu Apr 10 09:44:39 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.268: +18 -5 lines Diff to previous 1.268 Vlad Krupin's URL parsing patch to fix the URL parsing when the URL has no slash after the host name, but still a ? and following "parameters". Revision 1.268 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 21:43:05 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10_4 Changes since 1.267: +10 -4 lines Diff to previous 1.267 move the ssl config clone call to before the connectionexists call and then also subsequently free the ssl struct if the connection struct is to be deleted Revision 1.267 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 05:13:26 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.266: +32 -35 lines Diff to previous 1.266 Fixup after talks with Richard Bramante. We should now make better comparisons before re-using SSL connections and re-using SSL connection IDs. Revision 1.266 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 04:41:06 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.265: +9 -1 lines Diff to previous 1.265 Guillaume Cottenceau's patch that adds CURLOPT_UNRESTRICTED_AUTH that disables the host name check in the FOLLOWLOCATION code. With that option set, libcurl will send user+password to all hosts. Revision 1.265 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 03:42:01 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.264: +6 -1 lines Diff to previous 1.264 Frankie Fong filed bug report #708708 which identified a problem with ConnectionExists() when first doing a proxy connecto to a HTTPS site and then switching over to a HTTP connection to the same host. This fix corrects the problem. Revision 1.264 - (view) (download) (annotate) - [select for diffs] Tue Mar 25 14:23:12 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.263: +73 -72 lines Diff to previous 1.263 white space and indent fix Revision 1.263 - (view) (download) (annotate) - [select for diffs] Mon Mar 24 23:10:38 2003 UTC (6 years, 11 months ago) by bagder Branch: MAIN Changes since 1.262: +104 -3 lines Diff to previous 1.262 Richard Bramante's provided a fix for a handle re-use problem seen when you change options on an SSL-enabled connection between requests. Revision 1.262 - (view) (download) (annotate) - [select for diffs] Fri Mar 21 08:09:48 2003 UTC (7 years ago) by bagder Branch: MAIN Changes since 1.261: +32 -19 lines Diff to previous 1.261 Hopefully this change addresses these two bug reports: 707003 and 706624. We need to make sure that when we init a 'connectdata' struct and then afterwards check for and re-use another one, we must be careful so that the newly set values are transmitted and used in the surviving connectdata struct. Revision 1.261 - (view) (download) (annotate) - [select for diffs] Tue Mar 11 18:58:22 2003 UTC (7 years ago) by bagder Branch: MAIN Changes since 1.260: +3 -3 lines Diff to previous 1.260 Use ssize_t instead of 'int' to make the 64 bit sparc compiler happier. Fix by Richard Gorton. Revision 1.260 - (view) (download) (annotate) - [select for diffs] Fri Feb 28 15:50:05 2003 UTC (7 years ago) by bagder Branch: MAIN Changes since 1.259: +5 -1 lines Diff to previous 1.259 include the engine stuff Revision 1.259 - (view) (download) (annotate) - [select for diffs] Mon Feb 24 14:50:20 2003 UTC (7 years ago) by bagder Branch: MAIN Changes since 1.258: +8 -1 lines Diff to previous 1.258 Kjetil Jacobsen found out that setting CURLOPT_MAXCONNECTS to a value higher than 5 could cause a segfault. Revision 1.258 - (view) (download) (annotate) - [select for diffs] Tue Feb 4 23:48:47 2003 UTC (7 years, 1 month ago) by jpbl Branch: MAIN Changes since 1.257: +27 -4 lines Diff to previous 1.257 added the sharing of DNS cache Revision 1.257 - (view) (download) (annotate) - [select for diffs] Wed Jan 29 10:14:25 2003 UTC (7 years, 1 month ago) by bagder Branch: MAIN Changes since 1.256: +1 -9 lines Diff to previous 1.256 removed the local variables for emacs and vim, use the new sample.emacs way for emacs, and vim users should provide a similar non-polluting style Revision 1.256 - (view) (download) (annotate) - [select for diffs] Mon Jan 20 12:52:34 2003 UTC (7 years, 2 months ago) by bagder Branch: MAIN Changes since 1.255: +4 -1 lines Diff to previous 1.255 Markus F.X.J. Oberhumer's patch that reduces memory usage quite a bit by only allocating the scratch memory buffer once it is needed and not always in the handle. Revision 1.255 - (view) (download) (annotate) - [select for diffs] Mon Jan 20 12:00:46 2003 UTC (7 years, 2 months ago) by bagder Branch: MAIN Changes since 1.254: +9 -6 lines Diff to previous 1.254 given passwords in netrc must be respected accordingly Revision 1.254 - (view) (download) (annotate) - [select for diffs] Thu Jan 16 21:08:13 2003 UTC (7 years, 2 months ago) by bagder Branch: MAIN Changes since 1.253: +2 -2 lines Diff to previous 1.253 copyright year update in the source header Revision 1.253 - (view) (download) (annotate) - [select for diffs] Wed Jan 15 11:43:03 2003 UTC (7 years, 2 months ago) by bagder Branch: MAIN Changes since 1.252: +2 -2 lines Diff to previous 1.252 removed a TAB Revision 1.252 - (view) (download) (annotate) - [select for diffs] Fri Jan 10 16:19:32 2003 UTC (7 years, 2 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10_3 Changes since 1.251: +4 -1 lines Diff to previous 1.251 Steve Oliphant pointed out that test case 105 did not work anymore and this was due to a missing fix for the password prompting Revision 1.251 - (view) (download) (annotate) - [select for diffs] Thu Jan 9 16:47:09 2003 UTC (7 years, 2 months ago) by bagder Branch: MAIN Changes since 1.250: +11 -6 lines Diff to previous 1.250 if userpwd is "username:", this now implies a blank password while only "username" will cause libcurl to prompt for password. Bryan Kemp noticed. test case 136 is added for this Revision 1.250 - (view) (download) (annotate) - [select for diffs] Wed Jan 8 15:50:52 2003 UTC (7 years, 2 months ago) by bagder Branch: MAIN Changes since 1.249: +4 -3 lines Diff to previous 1.249 updated to use the modified share-types Revision 1.249 - (view) (download) (annotate) - [select for diffs] Tue Jan 7 16:16:06 2003 UTC (7 years, 2 months ago) by bagder Branch: MAIN Changes since 1.248: +8 -1 lines Diff to previous 1.248 Simon Liu's HTTP200ALIASES-patch! Revision 1.248 - (view) (download) (annotate) - [select for diffs] Fri Dec 13 16:15:23 2002 UTC (7 years, 3 months ago) by bagder Branch: MAIN Changes since 1.247: +16 -2 lines Diff to previous 1.247 conn->bits.tcpconnect now keeps track of if this connection is connected or not Revision 1.247 - (view) (download) (annotate) - [select for diffs] Mon Dec 9 15:37:58 2002 UTC (7 years, 3 months ago) by bagder Branch: MAIN Changes since 1.246: +4 -1 lines Diff to previous 1.246 The fread() callback pointer and associated pointer is now stored in the connectdata struct instead, and is no longer modified within the 'set' struct as previously (which was a really BAAAD thing). Revision 1.246 - (view) (download) (annotate) - [select for diffs] Fri Nov 22 16:59:40 2002 UTC (7 years, 3 months ago) by bagder Branch: MAIN Changes since 1.245: +5 -2 lines Diff to previous 1.245 bug fix for the problem Juan Ignacio Hervás discovered today Revision 1.245 - (view) (download) (annotate) - [select for diffs] Wed Nov 20 19:11:23 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.244: +8 -1 lines Diff to previous 1.244 Kjetil Jacobsen's patch that introduces CURLOPT_PRIVATE and CURLINFO_PRIVATE for storage and retrieval of private data in the curl handle. Revision 1.244 - (view) (download) (annotate) - [select for diffs] Mon Nov 11 23:03:05 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10_2 Changes since 1.243: +3 -3 lines Diff to previous 1.243 moved the bools in the connectdata struct into the substruct named ConnectBits where the other bools already are Revision 1.243 - (view) (download) (annotate) - [select for diffs] Mon Nov 11 22:51:09 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.242: +2 -2 lines Diff to previous 1.242 The test for DNS cache entries left locked is now only built if AGGRESIVE_TEST is also defined, as an addition to MALLOCDEBUG. It doesn't work for multi interface usage and should only be used with careful consideration. Revision 1.242 - (view) (download) (annotate) - [select for diffs] Mon Nov 11 22:36:00 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.241: +3 -3 lines Diff to previous 1.241 unlock dns cache entries with a function call instead of a variable fiddle Revision 1.241 - (view) (download) (annotate) - [select for diffs] Mon Nov 11 08:40:38 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.240: +11 -1 lines Diff to previous 1.240 Now supports "Transfer-Encoding: chunked" for HTTP PUT operations where the size of the uploaded file is unknown. Revision 1.240 - (view) (download) (annotate) - [select for diffs] Thu Nov 7 08:45:10 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.239: +5 -1 lines Diff to previous 1.239 Bug report #634625 identified how curl returned timeout immediately when CURLOPT_CONNECTTIMEOUT was used and provided a fix. Revision 1.239 - (view) (download) (annotate) - [select for diffs] Tue Nov 5 11:07:49 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.238: +2 -2 lines Diff to previous 1.238 ipv4-fixes for the new Curl_dns_entry struct and Curl_resolv() proto Revision 1.238 - (view) (download) (annotate) - [select for diffs] Tue Nov 5 10:51:45 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.237: +27 -11 lines Diff to previous 1.237 Curl_resolv() now returns a different struct, and it contains a reference counter so that the caller needs to decrease that counter when done with the returned data. If compiled with MALLOCDEBUG I've added some extra checking that the counter is decreased before a handle is closed etc. Revision 1.237 - (view) (download) (annotate) - [select for diffs] Mon Oct 28 21:52:00 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.236: +9 -9 lines Diff to previous 1.236 kromJx@crosswinds.net's fix that now uses checkprefix() instead of strnequal() when the third argument was strlen(first argument) anyway. This makes it less prone to errors. (Slightly edited by me) Revision 1.236 - (view) (download) (annotate) - [select for diffs] Mon Oct 28 19:24:20 2002 UTC (7 years, 4 months ago) by bagder Branch: MAIN Changes since 1.235: +3 -3 lines Diff to previous 1.235 prevent compiler warnings Revision 1.235 - (view) (download) (annotate) - [select for diffs] Thu Oct 17 07:10:39 2002 UTC (7 years, 5 months ago) by bagder Branch: MAIN Changes since 1.234: +8 -3 lines Diff to previous 1.234 Make the COOKIESESSION work better by creating a list of cookie files files when given in the curl_easy_setopt() and then parse them all on the first curl_easy_perform() call instead. Revision 1.234 - (view) (download) (annotate) - [select for diffs] Thu Oct 10 08:00:49 2002 UTC (7 years, 5 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10_1 Changes since 1.233: +5 -3 lines Diff to previous 1.233 Jeff Lawson fixed a few problems with connection re-use that remained when you set CURLOPT_PROXY to "". Revision 1.233 - (view) (download) (annotate) - [select for diffs] Fri Sep 27 09:49:40 2002 UTC (7 years, 5 months ago) by bagder Branch: MAIN CVS Tags: curl-7_10 Changes since 1.232: +13 -5 lines Diff to previous 1.232 Allow a "" proxy explicitly set dont-use-proxy, i.e don't even check the environment variables or anything. Setting it to NULL disables proxy as well, but allows the environment variables to kick in and be used. Revision 1.232 - (view) (download) (annotate) - [select for diffs] Wed Sep 25 11:27:06 2002 UTC (7 years, 5 months ago) by bagder Branch: MAIN Changes since 1.231: +2 -2 lines Diff to previous 1.231 Andrés García found out that Curl_protocol_connect() could return an uninitialized variable. Revision 1.231 - (view) (download) (annotate) - [select for diffs] Wed Sep 25 07:08:42 2002 UTC (7 years, 5 months ago) by bagder Branch: MAIN Changes since 1.230: +4 -1 lines Diff to previous 1.230 Wez Furlong's curl_version_info() function added, still needs some adjustments and possibly some improvments to feature all those things we could possibly want from this. Revision 1.230 - (view) (download) (annotate) - [select for diffs] Wed Sep 11 10:32:37 2002 UTC (7 years, 6 months ago) by bagder Branch: MAIN Changes since 1.229: +3 -1 lines Diff to previous 1.229 Lukasz Czekierda correctly pointed out that curl used a bad Host: header when talking to a IPv6-server using IPv6 IP address only. Revision 1.229 - (view) (download) (annotate) - [select for diffs] Mon Sep 9 11:23:34 2002 UTC (7 years, 6 months ago) by bagder Branch: MAIN Changes since 1.228: +8 -7 lines Diff to previous 1.228 minor indent change Revision 1.228 - (view) (download) (annotate) - [select for diffs] Tue Sep 3 11:53:01 2002 UTC (7 years, 6 months ago) by bagder Branch: MAIN Changes since 1.227: +8 -8 lines Diff to previous 1.227 updated source code boilerplate/header Revision 1.227 - (view) (download) (annotate) - [select for diffs] Mon Sep 2 22:31:19 2002 UTC (7 years, 6 months ago) by bagder Branch: MAIN Changes since 1.226: +17 -2 lines Diff to previous 1.226 James Gallagher's Content-Encoding work Revision 1.226 - (view) (download) (annotate) - [select for diffs] Fri Aug 30 11:09:50 2002 UTC (7 years, 6 months ago) by bagder Branch: MAIN Changes since 1.225: +15 -18 lines Diff to previous 1.225 CURLE_SSL_INSECURE is removed again and so is CURLOPT_SSL_INSECURE, we proceed fine with the already existing options, just having a different internal library default for capath. Revision 1.225 - (view) (download) (annotate) - [select for diffs] Fri Aug 30 09:20:12 2002 UTC (7 years, 6 months ago) by bagder Branch: MAIN Changes since 1.224: +208 -1 lines Diff to previous 1.224 SOCKS5 support added (contributed by a still unnamed person). Not properly working for "IPv6 enabled" libcurls yet, but should be pretty easy for someone to adjust. Revision 1.224 - (view) (download) (annotate) - [select for diffs] Mon Aug 26 23:13:26 2002 UTC (7 years, 6 months ago) by bagder Branch: MAIN Changes since 1.223: +20 -4 lines Diff to previous 1.223 SSL_INSECURE support and usage added Revision 1.223 - (view) (download) (annotate) - [select for diffs] Mon Aug 26 17:20:29 2002 UTC (7 years, 6 months ago) by bagder Branch: MAIN Changes since 1.222: +3 -3 lines Diff to previous 1.222 Andrew Francis removed the need for/use of MSVC pragmas Revision 1.222 - (view) (download) (annotate) - [select for diffs] Tue Aug 13 14:20:47 2002 UTC (7 years, 7 months ago) by bagder Branch: MAIN Changes since 1.221: +17 -1 lines Diff to previous 1.221 Sterling Hughes brings the share interface Revision 1.221 - (view) (download) (annotate) - [select for diffs] Mon Aug 12 09:43:21 2002 UTC (7 years, 7 months ago) by bagder Branch: MAIN Changes since 1.220: +64 -23 lines Diff to previous 1.220 Initial fix to make the multi interface return control while waiting for the initial connect to "come through". This should work fine for connect and for FTP-PASV connects. Needs massive testing. Revision 1.220 - (view) (download) (annotate) - [select for diffs] Thu Aug 8 22:52:50 2002 UTC (7 years, 7 months ago) by bagder Branch: MAIN Changes since 1.219: +11 -3 lines Diff to previous 1.219 Markus F.X.J. Oberhumer's CURLOPT_NOSIGNAL patch Revision 1.219 - (view) (download) (annotate) - [select for diffs] Mon Aug 5 16:50:55 2002 UTC (7 years, 7 months ago) by bagder Branch: MAIN Changes since 1.218: +15 -3 lines Diff to previous 1.218 re-added the RFC2732-parser that was lost for some reason during the flow of time! Revision 1.218 - (view) (download) (annotate) - [select for diffs] Mon Jul 29 22:45:50 2002 UTC (7 years, 7 months ago) by bagder Branch: MAIN Changes since 1.217: +8 -10 lines Diff to previous 1.217 Removed checks for if set.fpasswd is NULL, as we prevent users from setting it to NULL and then use the internal default instead. It will always be a function to call. Revision 1.217 - (view) (download) (annotate) - [select for diffs] Sat Jun 15 21:00:55 2002 UTC (7 years, 9 months ago) by bagder Branch: MAIN Changes since 1.216: +14 -1 lines Diff to previous 1.216 CURLOPT_BUFFERSIZE allows an application to set a prefered buffer size for receiving data from the network. It is meant as a hint, not as a forced limit. Revision 1.216 - (view) (download) (annotate) - [select for diffs] Fri Jun 14 12:05:20 2002 UTC (7 years, 9 months ago) by bagder Branch: MAIN Changes since 1.215: +2 -2 lines Diff to previous 1.215 - Yarram Sunil found out that the SocketIsDead() function performed a lot faster on Windows when removing the 1 microsecond timeout. Revision 1.215 - (view) (download) (annotate) - [select for diffs] Tue Jun 11 15:47:01 2002 UTC (7 years, 9 months ago) by bagder Branch: MAIN CVS Tags: curl-7_9_8 Changes since 1.214: +3 -1 lines Diff to previous 1.214 put #ifdefs around the sigjmp_buf declaration too, as it should be Revision 1.214 - (view) (download) (annotate) - [select for diffs] Tue Jun 11 15:44:27 2002 UTC (7 years, 9 months ago) by bagder Branch: MAIN Changes since 1.213: +2 -2 lines Diff to previous 1.213 corrected the signal handler Revision 1.213 - (view) (download) (annotate) - [select for diffs] Tue Jun 11 15:10:19 2002 UTC (7 years, 9 months ago) by bagder Branch: MAIN Changes since 1.212: +10 -1 lines Diff to previous 1.212 Now uses sigsetjmp() and siglongjmp() to bail out from slow name lookups in 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. Revision 1.212 - (view) (download) (annotate) - [select for diffs] Tue Jun 11 14:10:32 2002 UTC (7 years, 9 months ago) by bagder Branch: MAIN Changes since 1.211: +1 -17 lines Diff to previous 1.211 removed accidentally added debug-code! Revision 1.211 - (view) (download) (annotate) - [select for diffs] Tue Jun 11 11:13:01 2002 UTC (7 years, 9 months ago) by bagder Branch: MAIN Changes since 1.210: +71 -3 lines Diff to previous 1.210 added disable-[protocol] support, largely provided by Miklos Nemeth Revision 1.210 - (view) (download) (annotate) - [select for diffs] Tue May 28 09:21:29 2002 UTC (7 years, 9 months ago) by bagder Branch: MAIN Changes since 1.209: +8 -2 lines Diff to previous 1.209 Cris Bailiff's CAPATH support added Revision 1.209 - (view) (download) (annotate) - [select for diffs] Tue May 21 22:24:56 2002 UTC (7 years, 10 months ago) by bagder Branch: MAIN Changes since 1.208: +5 -1 lines Diff to previous 1.208 When re-using a connection, make sure that we use the current host name as we might actually re-use a connection to a different host, when using proxies! This was what bug report #558888 was all about. Revision 1.208 - (view) (download) (annotate) - [select for diffs] Tue May 21 22:17:19 2002 UTC (7 years, 10 months ago) by bagder Branch: MAIN Changes since 1.207: +164 -133 lines Diff to previous 1.207 James Cone's efforts to add another netrc parsing "mode" Revision 1.207 - (view) (download) (annotate) - [select for diffs] Tue May 7 09:58:14 2002 UTC (7 years, 10 months ago) by bagder Branch: MAIN CVS Tags: curl-7_9_7, curl-7_9_7-pre2 Changes since 1.206: +24 -3 lines Diff to previous 1.206 support for ingoring session cookies added Revision 1.206 - (view) (download) (annotate) - [select for diffs] Mon May 6 18:30:17 2002 UTC (7 years, 10 months ago) by bagder Branch: MAIN Changes since 1.205: +2 -1 lines Diff to previous 1.205 the code for case CURLOPT_DEBUGDATA code broke the CURLOPT_STDERR one! Revision 1.205 - (view) (download) (annotate) - [select for diffs] Thu Apr 25 19:18:19 2002 UTC (7 years, 10 months ago) by bagder Branch: MAIN Changes since 1.204: +8 -3 lines Diff to previous 1.204 prevent persistant connections to do name resolves Revision 1.204 - (view) (download) (annotate) - [select for diffs] Thu Apr 25 19:00:59 2002 UTC (7 years, 10 months ago) by bagder Branch: MAIN Changes since 1.203: +20 -22 lines Diff to previous 1.203 In order to not get problems with DNS cache pruning, we no longer store 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. Revision 1.203 - (view) (download) (annotate) - [select for diffs] Tue Apr 23 14:57:37 2002 UTC (7 years, 10 months ago) by bagder Branch: MAIN Changes since 1.202: +2 -2 lines Diff to previous 1.202 removed warning about signed/unsigned comparison Revision 1.202 - (view) (download) (annotate) - [select for diffs] Tue Apr 23 13:34:28 2002 UTC (7 years, 10 months ago) by bagder Branch: MAIN Changes since 1.201: +10 -3 lines Diff to previous 1.201 fixes bug report #547484, no_proxy doesn't properly strip off port numbers from the host names before comparing Revision 1.201 - (view) (download) (annotate) - [select for diffs] Fri Apr 12 10:03:59 2002 UTC (7 years, 11 months ago) by bagder Branch: MAIN CVS Tags: curl-7_9_6 Changes since 1.200: +3 -2 lines Diff to previous 1.200 store TIMER_CONNECT even if the connect failed Revision 1.200 - (view) (download) (annotate) - [select for diffs] Fri Apr 12 08:18:38 2002 UTC (7 years, 11 months ago) by bagder Branch: MAIN Changes since 1.199: +60 -46 lines Diff to previous 1.199 corrected the verbose output for connects and fixed the connect time stamp better for FTP (any protocol with protocol-specific connect actions) Revision 1.199 - (view) (download) (annotate) - [select for diffs] Fri Apr 12 07:21:11 2002 UTC (7 years, 11 months ago) by bagder Branch: MAIN Changes since 1.198: +22 -5 lines Diff to previous 1.198 Jean-Philippe Barrette-LaPierre provided his patch that introduces CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA. Revision 1.198 - (view) (download) (annotate) - [select for diffs] Wed Apr 10 14:07:03 2002 UTC (7 years, 11 months ago) by bagder Branch: MAIN Changes since 1.197: +3 -1 lines Diff to previous 1.197 default proxy port set, as reported by Sebastien Willemijns Revision 1.197 - (view) (download) (annotate) - [select for diffs] Wed Apr 10 13:44:43 2002 UTC (7 years, 11 months ago) by bagder Branch: MAIN Changes since 1.196: +3 -3 lines Diff to previous 1.196 error code cleanup, use the new SEND/RECV errors Revision 1.196 - (view) (download) (annotate) - [select for diffs] Thu Apr 4 12:23:14 2002 UTC (7 years, 11 months ago) by bagder Branch: MAIN Changes since 1.195: +22 -25 lines Diff to previous 1.195 T. Bharath pointed out the flaw in ConnectionExists() for how we didn't check proxy connections for "deadness" before they were re-used Revision 1.195 - (view) (download) (annotate) - [select for diffs] Tue Mar 19 07:54:55 2002 UTC (8 years ago) by bagder Branch: MAIN Changes since 1.194: +2 -2 lines Diff to previous 1.194 copyright string (year) update Revision 1.194 - (view) (download) (annotate) - [select for diffs] Thu Mar 14 14:37:16 2002 UTC (8 years ago) by bagder Branch: MAIN Changes since 1.193: +4 -3 lines Diff to previous 1.193 CURLOPT_POST deserved a new comment with the new POST-by-callback support Revision 1.193 - (view) (download) (annotate) - [select for diffs] Wed Mar 13 13:10:52 2002 UTC (8 years ago) by bagder Branch: MAIN Changes since 1.192: +6 -2 lines Diff to previous 1.192 Setting CURLOPT_PASSWDFUNCTION to NULL now restores the internal function. Revision 1.192 - (view) (download) (annotate) - [select for diffs] Fri Mar 8 15:06:42 2002 UTC (8 years ago) by bagder Branch: MAIN Changes since 1.191: +19 -5 lines Diff to previous 1.191 Jean-Philippe Barrette-LaPierre fixed the CURLOPT_PASSWDFUNCTION to make NULL set back the internal default function Revision 1.191 - (view) (download) (annotate) - [select for diffs] Thu Feb 28 23:31:23 2002 UTC (8 years ago) by bagder Branch: MAIN CVS Tags: curl-7_9_5 Changes since 1.190: +9 -3 lines Diff to previous 1.190 Wesley Laxton's CURLOPT_PREQUOTE work Revision 1.190 - (view) (download) (annotate) - [select for diffs] Sun Feb 17 11:17:37 2002 UTC (8 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_9_5-pre2, curl-7_9_5-pre4 Changes since 1.189: +2 -1 lines Diff to previous 1.189 Giaslas Georgios's Host: over proxy fix Revision 1.189 - (view) (download) (annotate) - [select for diffs] Tue Jan 29 20:34:30 2002 UTC (8 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_9_4 Changes since 1.188: +1 -2 lines Diff to previous 1.188 conn->upload_bufsize exists no more Revision 1.188 - (view) (download) (annotate) - [select for diffs] Tue Jan 29 10:49:32 2002 UTC (8 years, 1 month ago) by bagder Branch: MAIN Changes since 1.187: +4 -1 lines Diff to previous 1.187 Giaslas Georgios introduced CURLINFO_CONTENT_TYPE Revision 1.187 - (view) (download) (annotate) - [select for diffs] Mon Jan 28 19:31:26 2002 UTC (8 years, 1 month ago) by bagder Branch: MAIN Changes since 1.186: +6 -3 lines Diff to previous 1.186 Steve Marx helped us realize that we shouldn't treat customrequest as a request of its own, it just changes the keyword of a request. Revision 1.186 - (view) (download) (annotate) - [select for diffs] Tue Jan 8 04:26:47 2002 UTC (8 years, 2 months ago) by bumblebury Branch: MAIN CVS Tags: curl-7_9_3, curl-7_9_3-pre1, curl-7_9_3-pre2, curl-7_9_3-pre3 Changes since 1.185: +9 -3 lines Diff to previous 1.185 Add support for DNS cache timeouts via the CURLOPT_DNS_CACHE_TIMEOUT option. The default cache timeout for this is 60 seconds, which is arbitrary and completely subject to change :) Revision 1.185 - (view) (download) (annotate) - [select for diffs] Mon Jan 7 20:52:32 2002 UTC (8 years, 2 months ago) by bumblebury Branch: MAIN Changes since 1.184: +10 -1 lines Diff to previous 1.184 Make cach'ing work with threads now, there are now three cases:
- 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
Revision 1.184 - (view) (download) (annotate) - [select for diffs] Fri Jan 4 09:38:52 2002 UTC (8 years, 2 months ago) by bagder Branch: MAIN Changes since 1.183: +14 -2 lines Diff to previous 1.183 an unconditional occurance of inet_ntoa() now uses inet_ntoa_r() on all 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... Revision 1.183 - (view) (download) (annotate) - [select for diffs] Thu Jan 3 15:01:23 2002 UTC (8 years, 2 months ago) by bagder Branch: MAIN Changes since 1.182: +44 -15 lines Diff to previous 1.182 merged the multi-dev branch back into MAIN again Revision 1.182 - (view) (download) (annotate) - [select for diffs] Thu Jan 3 10:22:59 2002 UTC (8 years, 2 months ago) by bagder Branch: MAIN Changes since 1.181: +5 -8 lines Diff to previous 1.181 Sterling Hughes' provided initial DNS cache source code. Revision 1.181 - (view) (download) (annotate) - [select for diffs] Thu Dec 20 15:58:22 2001 UTC (8 years, 3 months ago) by bagder Branch: MAIN CVS Tags: pre-host-cache Changes since 1.180: +2 -1 lines Diff to previous 1.180 *cool* fix by Björn Stenberg, makes proxy transfers work better...! :-) Revision 1.180 - (view) (download) (annotate) - [select for diffs] Mon Dec 17 23:02:23 2001 UTC (8 years, 3 months ago) by bagder Branch: MAIN Changes since 1.179: +68 -4 lines Diff to previous 1.179 Götz Babin-Ebell's OpenSSL ENGINE patch Revision 1.179.2.1 - (view) (download) (annotate) - [select for diffs] Thu Dec 13 12:59:46 2001 UTC (8 years, 3 months ago) by bagder Branch: multi-dev Changes since 1.179: +44 -15 lines Diff to previous 1.179 , to next main 1.840 moved around functions, split some functions to be better fitted for the multi interface Revision 1.179 - (view) (download) (annotate) - [select for diffs] Wed Dec 5 06:47:01 2001 UTC (8 years, 3 months ago) by bagder Branch: MAIN CVS Tags: curl-7_9_2 Branch point for: multi-dev Changes since 1.178: +4 -2 lines Diff to previous 1.178 Jon Travis suggested fix. when CURLOPT_HTTPGET is used we must assign set.upload to FALSE or else we might still get an upload if the previous operation was an upload! Revision 1.178 - (view) (download) (annotate) - [select for diffs] Sun Dec 2 14:16:34 2001 UTC (8 years, 3 months ago) by bagder Branch: MAIN Changes since 1.177: +14 -9 lines Diff to previous 1.177 more careful re-use of connections when SSL is used over proxies Revision 1.177 - (view) (download) (annotate) - [select for diffs] Thu Nov 29 12:49:10 2001 UTC (8 years, 3 months ago) by bagder Branch: MAIN Changes since 1.176: +2 -1 lines Diff to previous 1.176 disabling EPSV is now possible Revision 1.176 - (view) (download) (annotate) - [select for diffs] Wed Nov 28 23:20:14 2001 UTC (8 years, 3 months ago) by bagder Branch: MAIN Changes since 1.175: +7 -1 lines Diff to previous 1.175 CURLOPT_FTP_USE_EPSV can now be set to FALSE to prevent libcurl from attempting to use EPSV before the standard PASV. Revision 1.175 - (view) (download) (annotate) - [select for diffs] Mon Nov 12 14:08:42 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN Changes since 1.174: +2 -1 lines Diff to previous 1.174 made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as well Revision 1.174 - (view) (download) (annotate) - [select for diffs] Wed Nov 7 14:13:29 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN Changes since 1.173: +23 -11 lines Diff to previous 1.173 we use signal() to ignore signals only as long as we have to, and we now restore the previous (if any) signal handler properly on return. Revision 1.173 - (view) (download) (annotate) - [select for diffs] Wed Nov 7 12:56:13 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN Changes since 1.172: +2 -1 lines Diff to previous 1.172 get the previous struct keep_sigact Revision 1.172 - (view) (download) (annotate) - [select for diffs] Tue Nov 6 19:33:14 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN Changes since 1.171: +80 -34 lines Diff to previous 1.171 myalarm() is history, we now use HAVE_ALARM and we now do our very best to 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! Revision 1.171 - (view) (download) (annotate) - [select for diffs] Thu Nov 1 13:54:32 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN CVS Tags: curl-7_9_1 Changes since 1.170: +12 -2 lines Diff to previous 1.170 ConnectionExists() now returns FALSE immediately if it finds a connection 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 Revision 1.170 - (view) (download) (annotate) - [select for diffs] Wed Oct 31 15:14:52 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN Changes since 1.169: +6 -33 lines Diff to previous 1.169 Removed the SocketIsDead() stuff for SSL again as it doesn't work. We must rely on the new go-ahead-and-try mechanism that I just added to Transfer() Revision 1.169 - (view) (download) (annotate) - [select for diffs] Wed Oct 31 08:44:11 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN Changes since 1.168: +22 -3 lines Diff to previous 1.168 nonblock => Curl_nonblock, remade the check for a live SSL connection (again) Revision 1.168 - (view) (download) (annotate) - [select for diffs] Tue Oct 30 15:21:45 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN Changes since 1.167: +13 -5 lines Diff to previous 1.167 Added an additional SSL check for a dead socket before we re-use an SSL connection. The simple socket-check is not enough in these cases. Revision 1.167 - (view) (download) (annotate) - [select for diffs] Mon Oct 29 10:10:21 2001 UTC (8 years, 4 months ago) by bagder Branch: MAIN Changes since 1.166: +3 -4 lines Diff to previous 1.166 fixed conn->name error on connection re-use and enlarged the 'gname' array to hold 512 bytes (for user+password+hostname) Revision 1.166 - (view) (download) (annotate) - [select for diffs] Fri Oct 19 11:58:32 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.165: +2 -1 lines Diff to previous 1.165 now counts header size return from server and if nothing is returned from a HTTP server we return error Revision 1.165 - (view) (download) (annotate) - [select for diffs] Fri Oct 12 12:32:20 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.164: +3 -3 lines Diff to previous 1.164 Curl_tvdiff() now returns a millisecond diff, no double like before Revision 1.164 - (view) (download) (annotate) - [select for diffs] Thu Oct 11 09:32:19 2001 UTC (8 years, 5 months ago) by bumblebury Branch: MAIN Changes since 1.163: +3 -3 lines Diff to previous 1.163 looks nicer and is better compatible with older vim versions Revision 1.163 - (view) (download) (annotate) - [select for diffs] Wed Oct 10 12:48:33 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.162: +8 -2 lines Diff to previous 1.162 cookiejar now enables the cookie engine Revision 1.162 - (view) (download) (annotate) - [select for diffs] Tue Oct 9 06:52:37 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.161: +8 -10 lines Diff to previous 1.161 added the option CURLOPT_HTTP_VERSION that can specify which HTTP version libcurl should use in its request Revision 1.161 - (view) (download) (annotate) - [select for diffs] Tue Oct 9 06:23:26 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.160: +74 -69 lines Diff to previous 1.160 ignore SIGPIPE, as that can be actually get sent when we write to a socket Revision 1.160 - (view) (download) (annotate) - [select for diffs] Thu Oct 4 13:25:12 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.159: +2 -7 lines Diff to previous 1.159 getaddrinfo() cleanups Revision 1.159 - (view) (download) (annotate) - [select for diffs] Tue Oct 2 12:51:15 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.158: +4 -3 lines Diff to previous 1.158 added port number in informational connect message Revision 1.158 - (view) (download) (annotate) - [select for diffs] Tue Oct 2 11:26:53 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.157: +4 -4 lines Diff to previous 1.157 IPv6 adjustments, connect()ing to bad ports still don't work properly for IPv6 Revision 1.157 - (view) (download) (annotate) - [select for diffs] Tue Oct 2 09:40:06 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.156: +30 -170 lines Diff to previous 1.156 major connecting updates Revision 1.156 - (view) (download) (annotate) - [select for diffs] Mon Oct 1 23:25:59 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.155: +8 -9 lines Diff to previous 1.155 pick the correct timeout before the connecthost call Revision 1.155 - (view) (download) (annotate) - [select for diffs] Mon Oct 1 22:32:37 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.154: +13 -11 lines Diff to previous 1.154 conn->hp is now conn->hostaddr changed the Curl_connethost() proto again Revision 1.154 - (view) (download) (annotate) - [select for diffs] Mon Oct 1 11:27:39 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.153: +47 -21 lines Diff to previous 1.153 moved the myalarm() usage, and now makes sure to switch it off after the name resolving, as that should be the *ONLY* section in libcurl that may take a while in a synchronous call. Revision 1.153 - (view) (download) (annotate) - [select for diffs] Mon Oct 1 08:59:18 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.152: +9 -108 lines Diff to previous 1.152 introduced non-blocking connects Revision 1.152 - (view) (download) (annotate) - [select for diffs] Fri Sep 28 07:05:26 2001 UTC (8 years, 5 months ago) by bagder Branch: MAIN Changes since 1.151: +10 -17 lines Diff to previous 1.151 more transparant support for IPv6 name resolving Revision 1.151 - (view) (download) (annotate) - [select for diffs] Tue Sep 18 18:33:25 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN CVS Tags: curl-7_9 Changes since 1.150: +6 -6 lines Diff to previous 1.150 fixed bug report #462600, following a Location: when the initial URL didn't have a protocol:// part did wrong Revision 1.150 - (view) (download) (annotate) - [select for diffs] Tue Sep 18 15:30:38 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN Changes since 1.149: +6 -6 lines Diff to previous 1.149 the stuff formerly done in Curl_http_close is now done in Curl_close Revision 1.149 - (view) (download) (annotate) - [select for diffs] Wed Sep 12 08:00:30 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN Changes since 1.148: +9 -5 lines Diff to previous 1.148 ConnectionKillOne() _can_ return -1 as an indication of error This is T. Bharath's fix Revision 1.148 - (view) (download) (annotate) - [select for diffs] Tue Sep 11 22:23:16 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN Changes since 1.147: +6 -1 lines Diff to previous 1.147 CURLOPT_SSL_CIPHER_LIST support Revision 1.147 - (view) (download) (annotate) - [select for diffs] Fri Sep 7 04:01:33 2001 UTC (8 years, 6 months ago) by bumblebury Branch: MAIN Changes since 1.146: +8 -1 lines Diff to previous 1.146 Added formatting sections for emacs and vim Revision 1.146 - (view) (download) (annotate) - [select for diffs] Mon Sep 3 07:01:49 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN Changes since 1.145: +6 -4 lines Diff to previous 1.145 use the LIBCURL_NAME instead of the "hardcoded" string Revision 1.145 - (view) (download) (annotate) - [select for diffs] Thu Aug 30 22:48:34 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN Changes since 1.144: +282 -292 lines Diff to previous 1.144 Major rename and redesign of the internal "backbone" structs. Details will be posted in a minute to the libcurl list. Revision 1.144 - (view) (download) (annotate) - [select for diffs] Wed Aug 29 09:32:18 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN CVS Tags: before_urldata_rename Changes since 1.143: +13 -2 lines Diff to previous 1.143 cookie jar adjustments Revision 1.143 - (view) (download) (annotate) - [select for diffs] Tue Aug 28 08:37:54 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN Changes since 1.142: +10 -26 lines Diff to previous 1.142 Added SSL session ID caching, moved some SSL code from url.c to ssluse.c Revision 1.142 - (view) (download) (annotate) - [select for diffs] Thu Aug 23 14:06:38 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN Changes since 1.141: +15 -4 lines Diff to previous 1.141 When setting *_URL or *_PROXY in *_setopt(), it is important that we check and possibly free the existing pointer first, and then clear the "allocated" bit. We previously mistakenly could free the new pointer passed to us by the friendly user...! Revision 1.141 - (view) (download) (annotate) - [select for diffs] Wed Aug 22 11:24:57 2001 UTC (8 years, 6 months ago) by bagder Branch: MAIN Changes since 1.140: +6 -3 lines Diff to previous 1.140 CURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new Revision 1.140 - (view) (download) (annotate) - [select for diffs] Wed Aug 15 21:54:24 2001 UTC (8 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_8_1 Changes since 1.139: +2 -2 lines Diff to previous 1.139 IPv6-addresses can have dots too! Revision 1.139 - (view) (download) (annotate) - [select for diffs] Wed Aug 15 21:40:09 2001 UTC (8 years, 7 months ago) by bagder Branch: MAIN Changes since 1.138: +4 -1 lines Diff to previous 1.138 extract IPv6-style specified IP-addresses properly Revision 1.138 - (view) (download) (annotate) - [select for diffs] Wed Aug 15 06:55:42 2001 UTC (8 years, 7 months ago) by bagder Branch: MAIN Changes since 1.137: +5 -7 lines Diff to previous 1.137 non-public functions should not use CURL * as arguments, so I changed them to use 'struct UrlData *' instead Revision 1.137 - (view) (download) (annotate) - [select for diffs] Tue Aug 14 08:40:06 2001 UTC (8 years, 7 months ago) by bagder Branch: MAIN Changes since 1.136: +10 -8 lines Diff to previous 1.136 Curl_open() only take one argument now, Curl_ldap_done() and Curl_dict_done() were removed, compiler warnings corrected Revision 1.136 - (view) (download) (annotate) - [select for diffs] Wed Aug 8 07:16:47 2001 UTC (8 years, 7 months ago) by bagder Branch: MAIN Changes since 1.135: +7 -1 lines Diff to previous 1.135 Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST and code to deal with it. Revision 1.135 - (view) (download) (annotate) - [select for diffs] Mon Aug 6 12:14:53 2001 UTC (8 years, 7 months ago) by bagder Branch: MAIN Changes since 1.134: +35 -7 lines Diff to previous 1.134 VMS #include fixes, file:// URL treatment improvements Revision 1.134 - (view) (download) (annotate) - [select for diffs] Mon Aug 6 08:18:15 2001 UTC (8 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_8_1-pre3 Changes since 1.133: +3 -3 lines Diff to previous 1.133 corrected the comment for CURLOPT_WRITEHEADER in setopt(), and made it read a void * and not a FILE *, as that was how it used to work and not anymore... Revision 1.133 - (view) (download) (annotate) - [select for diffs] Fri Aug 3 11:52:53 2001 UTC (8 years, 7 months ago) by bagder Branch: MAIN Changes since 1.132: +17 -10 lines Diff to previous 1.132 httpreq cleanup fix Revision 1.132 - (view) (download) (annotate) - [select for diffs] Tue Jun 12 09:21:37 2001 UTC (8 years, 9 months ago) by bagder Branch: MAIN Changes since 1.131: +7 -1 lines Diff to previous 1.131 Salvador Dávila's ftp range download fix Revision 1.131 - (view) (download) (annotate) - [select for diffs] Thu Jun 7 05:59:20 2001 UTC (8 years, 9 months ago) by bagder Branch: MAIN CVS Tags: curl-7_8 Changes since 1.130: +2 -1 lines Diff to previous 1.130 SDavila posted a fix that sets conn->bits.use_range properly when doing resumed downloads Revision 1.130 - (view) (download) (annotate) - [select for diffs] Thu May 31 13:50:28 2001 UTC (8 years, 9 months ago) by bagder Branch: MAIN Changes since 1.129: +4 -2 lines Diff to previous 1.129 CURLOPT_MUTE and data->bits.mute are history, removed, gone! Revision 1.129 - (view) (download) (annotate) - [select for diffs] Wed May 30 12:51:24 2001 UTC (8 years, 9 months ago) by bagder Branch: MAIN Changes since 1.128: +8 -1 lines Diff to previous 1.128 libcurl now has MUTE and NOPROGRESS set by default Revision 1.128 - (view) (download) (annotate) - [select for diffs] Wed May 30 11:06:56 2001 UTC (8 years, 9 months ago) by bagder Branch: MAIN CVS Tags: curl-7_8-pre2 Changes since 1.127: +2 -1 lines Diff to previous 1.127 include strtok.h to get the prototype Revision 1.127 - (view) (download) (annotate) - [select for diffs] Tue May 29 19:17:39 2001 UTC (8 years, 9 months ago) by bagder Branch: MAIN Changes since 1.126: +4 -3 lines Diff to previous 1.126 strtok() replaced with strtok_r() Revision 1.126 - (view) (download) (annotate) - [select for diffs] Mon May 28 14:12:43 2001 UTC (8 years, 9 months ago) by bagder Branch: MAIN Changes since 1.125: +12 -1 lines Diff to previous 1.125 T. Bharath's comments about SSL cleanup incorporated, and the two new curl_global_* functions Revision 1.125 - (view) (download) (annotate) - [select for diffs] Tue May 15 07:21:13 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN Changes since 1.124: +16 -1 lines Diff to previous 1.124 Pawel A. Gajda fixed resumed transfers on persistent connections Revision 1.124 - (view) (download) (annotate) - [select for diffs] Fri May 11 06:40:04 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN Changes since 1.123: +9 -10 lines Diff to previous 1.123 another multiple FTP transfer fix Revision 1.123 - (view) (download) (annotate) - [select for diffs] Fri May 11 06:10:48 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN Changes since 1.122: +7 -1 lines Diff to previous 1.122 Ingo Wilken's redirect fixes Revision 1.122 - (view) (download) (annotate) - [select for diffs] Thu May 10 09:31:48 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN Changes since 1.121: +9 -3 lines Diff to previous 1.121 When re-using a connection, the path pointers were not setup properly so that multiple FTP transfers were not possible Revision 1.121 - (view) (download) (annotate) - [select for diffs] Fri May 4 07:47:11 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN CVS Tags: curl-7_7_3 Changes since 1.120: +3 -3 lines Diff to previous 1.120 'FILE *' changed to 'void *' in all callback functions Revision 1.120 - (view) (download) (annotate) - [select for diffs] Thu May 3 10:53:01 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN Changes since 1.119: +2 -1 lines Diff to previous 1.119 Cris Bailiff's fix to disable chunked transfers on re-used persistent connections. Revision 1.119 - (view) (download) (annotate) - [select for diffs] Fri Apr 27 08:02:10 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN Changes since 1.118: +5 -2 lines Diff to previous 1.118 improved treatment of "Content-Length: 0", which is done by having maxdownload set to -1 when not used Revision 1.118 - (view) (download) (annotate) - [select for diffs] Wed Apr 25 21:24:27 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN Changes since 1.117: +2 -2 lines Diff to previous 1.117 connection re-using didn't work on non-default ports when not using proxy until now Revision 1.117 - (view) (download) (annotate) - [select for diffs] Mon Apr 23 06:11:08 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN CVS Tags: curl-7_7_2 Changes since 1.116: +1 -2 lines Diff to previous 1.116 no need to copy the name when re-using the connection, we already have the same name in that buffer from the URL parsing! Revision 1.116 - (view) (download) (annotate) - [select for diffs] Sun Apr 22 16:47:55 2001 UTC (8 years, 10 months ago) by bagder Branch: MAIN Changes since 1.115: +4 -3 lines Diff to previous 1.115 copy the name properly when re-using a connection Revision 1.115 - (view) (download) (annotate) - [select for diffs] Wed Apr 18 07:25:11 2001 UTC (8 years, 11 months ago) by bagder Branch: MAIN Changes since 1.114: +31 -18 lines Diff to previous 1.114 Remade resume stuff to keep data in the connectdata struct instead of the main handle struct to work with persistant connections Revision 1.114 - (view) (download) (annotate) - [select for diffs] Wed Apr 11 14:13:52 2001 UTC (8 years, 11 months ago) by bagder Branch: MAIN Changes since 1.113: +14 -2 lines Diff to previous 1.113 we don't use the HTTP_PROXY environment variable in uppercase anymore, since it might become a security problem (Bugs item #415391) Revision 1.113 - (view) (download) (annotate) - [select for diffs] Wed Apr 11 06:59:00 2001 UTC (8 years, 11 months ago) by bagder Branch: MAIN Changes since 1.112: +14 -10 lines Diff to previous 1.112 oops, missed the shut-off non-blocking fix Revision 1.112 - (view) (download) (annotate) - [select for diffs] Wed Apr 11 06:41:54 2001 UTC (8 years, 11 months ago) by bagder Branch: MAIN Changes since 1.111: +25 -1 lines Diff to previous 1.111 SM made the connection timeout work for windows boxes! Revision 1.111 - (view) (download) (annotate) - [select for diffs] Tue Apr 10 06:51:25 2001 UTC (8 years, 11 months ago) by bagder Branch: MAIN Changes since 1.110: +7 -1 lines Diff to previous 1.110 setopt() works with the new CURLOPT_HEADERFUNCTION: Revision 1.110 - (view) (download) (annotate) - [select for diffs] Tue Apr 3 10:20:23 2001 UTC (8 years, 11 months ago) by bagder Branch: MAIN CVS Tags: curl-7_7_1 Changes since 1.109: +7 -2 lines Diff to previous 1.109 better error checks for failure conditions (based on Puneet Pawaia's reports) Revision 1.109 - (view) (download) (annotate) - [select for diffs] Thu Mar 29 08:16:55 2001 UTC (8 years, 11 months ago) by bagder Branch: MAIN Changes since 1.108: +21 -2 lines Diff to previous 1.108 ftps:// support added Revision 1.108 - (view) (download) (annotate) - [select for diffs] Fri Mar 23 07:46:14 2001 UTC (8 years, 11 months ago) by bagder Branch: MAIN Changes since 1.107: +5 -3 lines Diff to previous 1.107 ConnectionExists() wrongly returned TRUE for too many connections if proxy was not used... Revision 1.107 - (view) (download) (annotate) - [select for diffs] Thu Mar 15 14:38:30 2001 UTC (9 years ago) by bagder Branch: MAIN CVS Tags: curl-7_7, curl-7_7-beta5 Changes since 1.106: +51 -39 lines Diff to previous 1.106 added connect timeout support Revision 1.106 - (view) (download) (annotate) - [select for diffs] Wed Mar 14 18:18:02 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.105: +13 -11 lines Diff to previous 1.105 now works with IPv6 and HTTP proxy Revision 1.105 - (view) (download) (annotate) - [select for diffs] Wed Mar 14 14:11:11 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.104: +12 -9 lines Diff to previous 1.104 Edin Kadribaic's bug report #408488 forced a rearrange of two struct fields from urldata to connectdata, quite correctly. Revision 1.104 - (view) (download) (annotate) - [select for diffs] Tue Mar 13 07:54:18 2001 UTC (9 years ago) by bagder Branch: MAIN CVS Tags: curl-7_7-beta2, curl-7_7-beta3 Changes since 1.103: +20 -3 lines Diff to previous 1.103 initial close policy support Revision 1.103 - (view) (download) (annotate) - [select for diffs] Mon Mar 12 15:47:17 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.102: +14 -1 lines Diff to previous 1.102 two new random seed options: CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET Revision 1.102 - (view) (download) (annotate) - [select for diffs] Mon Mar 12 15:05:54 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.101: +276 -8 lines Diff to previous 1.101 support for a few new libcurl 7.7 CURLOPT_* options added Revision 1.101 - (view) (download) (annotate) - [select for diffs] Mon Mar 12 13:58:03 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.100: +5 -1 lines Diff to previous 1.100 Added infof() calls for persistant connection info, we are very likely to need these at least for debugging 7.7 and probably later as well... Revision 1.100 - (view) (download) (annotate) - [select for diffs] Mon Mar 12 10:13:42 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.99: +8 -15 lines Diff to previous 1.99 modified Curl_disconnect() so that it unlinks itself from the data struct, it saves me from more mistakes when the connectindex is -1 ... also, there's no point in having its parent do it as all parents would do it anyway. Revision 1.99 - (view) (download) (annotate) - [select for diffs] Mon Mar 12 09:44:57 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.98: +3 -2 lines Diff to previous 1.98 bugfix: don't use the connectindex if it is -1 Revision 1.98 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 16:50:08 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.97: +13 -6 lines Diff to previous 1.97 use the new name and hostname even though an old connection is reused, since we can re-use a proxy connection that actually has different host names on the same connection Revision 1.97 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 15:18:25 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.96: +112 -160 lines Diff to previous 1.96 removed handles and states from the main structs renamed prefixes from curl_ to Curl_ made persistant connections work with http proxies (at least partly) Revision 1.96 - (view) (download) (annotate) - [select for diffs] Mon Mar 5 13:39:01 2001 UTC (9 years ago) by bagder Branch: MAIN CVS Tags: curl-7_7-beta1 Changes since 1.95: +29 -27 lines Diff to previous 1.95 remade FILE:// support to look more as the other protocols Revision 1.95 - (view) (download) (annotate) - [select for diffs] Sun Mar 4 16:34:21 2001 UTC (9 years ago) by bagder Branch: MAIN CVS Tags: curl-7_7_alpha2 Changes since 1.94: +37 -2 lines Diff to previous 1.94 7.7 alpha 2 commit Revision 1.94 - (view) (download) (annotate) - [select for diffs] Sat Mar 3 17:50:01 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.93: +2 -2 lines Diff to previous 1.93 ipv6 fix for the 'port' no longer in urldata Revision 1.93 - (view) (download) (annotate) - [select for diffs] Fri Mar 2 15:34:15 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.92: +28 -36 lines Diff to previous 1.92 remade the port number stuff so that following locations work and doing intermixed HTTP and FTP persistant connections also work! Revision 1.92 - (view) (download) (annotate) - [select for diffs] Fri Mar 2 07:43:20 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.91: +35 -20 lines Diff to previous 1.91 improved connections Revision 1.91 - (view) (download) (annotate) - [select for diffs] Wed Feb 28 14:03:46 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.90: +11 -1 lines Diff to previous 1.90 cleanup better when connects fail Revision 1.90 - (view) (download) (annotate) - [select for diffs] Thu Feb 22 23:51:17 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.89: +6 -6 lines Diff to previous 1.89 added some infof() calls for persistant info Revision 1.89 - (view) (download) (annotate) - [select for diffs] Thu Feb 22 23:32:02 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.88: +27 -38 lines Diff to previous 1.88 moved the dynamicly set pointers to the connectdata struct Revision 1.88 - (view) (download) (annotate) - [select for diffs] Wed Feb 21 17:15:09 2001 UTC (9 years ago) by bagder Branch: MAIN Changes since 1.87: +23 -21 lines Diff to previous 1.87 IPv6-adjustments Revision 1.87 - (view) (download) (annotate) - [select for diffs] Tue Feb 20 17:46:35 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.86: +5 -1 lines Diff to previous 1.86 corrected memory leaks when re-using connections Revision 1.86 - (view) (download) (annotate) - [select for diffs] Tue Feb 20 17:35:52 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.85: +514 -339 lines Diff to previous 1.85 multiple connection support initial commit Revision 1.85 - (view) (download) (annotate) - [select for diffs] Mon Feb 19 09:29:19 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.84: +10 -6 lines Diff to previous 1.84 Made CURLOPT_POST no longer necessary when CURLOPT_POSTFIELDS is used Revision 1.84 - (view) (download) (annotate) - [select for diffs] Tue Feb 13 21:57:04 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.83: +2 -2 lines Diff to previous 1.83 better english timeouted => timed out, as suggested by Larry Fahnoe Revision 1.83 - (view) (download) (annotate) - [select for diffs] Tue Feb 13 13:34:16 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_6_1 Changes since 1.82: +12 -2 lines Diff to previous 1.82 moved the protocol-specific free to allow easier multiple transfers Revision 1.82 - (view) (download) (annotate) - [select for diffs] Mon Feb 12 08:22:19 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.81: +2 -2 lines Diff to previous 1.81 very minor indentation fix Revision 1.81 - (view) (download) (annotate) - [select for diffs] Thu Feb 8 13:53:13 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.80: +4 -4 lines Diff to previous 1.80 if netrc is parsed and our host was found in there, set data->bits.user_passwd unconditioanlly! Revision 1.80 - (view) (download) (annotate) - [select for diffs] Wed Feb 7 08:36:23 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_6_1-pre3 Changes since 1.79: +1 -2 lines Diff to previous 1.79 no longer #includes "getenv.h" Revision 1.79 - (view) (download) (annotate) - [select for diffs] Mon Feb 5 23:04:44 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.78: +71 -2 lines Diff to previous 1.78 Jun-ichiro itojun Hagino's IPv6 adjustments Revision 1.78 - (view) (download) (annotate) - [select for diffs] Mon Jan 29 07:23:11 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_6_1-pre1, curl-7_6_1-pre2 Changes since 1.77: +4 -1 lines Diff to previous 1.77 upload sets HTTP request to PUT for "HTTP upload" Revision 1.77 - (view) (download) (annotate) - [select for diffs] Sat Jan 27 17:58:15 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.76: +9 -5 lines Diff to previous 1.76 data->httpreq was not set properly Revision 1.76 - (view) (download) (annotate) - [select for diffs] Fri Jan 26 15:52:01 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_6 Changes since 1.75: +7 -4 lines Diff to previous 1.75 Added a httpreq field in the main struct so that there's one field to check for what HTTP request that is being used. The old bit-style fields are still in there as well. Revision 1.75 - (view) (download) (annotate) - [select for diffs] Thu Jan 25 12:23:57 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_6-pre4 Changes since 1.74: +1 -62 lines Diff to previous 1.74 moved curl_read() and curl_write() to sendf.c Revision 1.74 - (view) (download) (annotate) - [select for diffs] Wed Jan 24 14:44:05 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.73: +3 -3 lines Diff to previous 1.73 Ingo Ralf Blum's cygwin fixes Revision 1.73 - (view) (download) (annotate) - [select for diffs] Wed Jan 24 12:32:34 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.72: +135 -65 lines Diff to previous 1.72 added comments all over Revision 1.72 - (view) (download) (annotate) - [select for diffs] Tue Jan 23 10:21:30 2001 UTC (9 years, 1 month ago) by bagder Branch: MAIN Changes since 1.71: +33 -15 lines Diff to previous 1.71 Enabled support for IPv6-style IP-addresses if ENABLE_IPV6 is set. If it isn't, curl will return an error when such an address is used. Revision 1.71 - (view) (download) (annotate) - [select for diffs] Wed Jan 17 13:23:01 2001 UTC (9 years, 2 months ago) by bagder Branch: MAIN CVS Tags: curl_7_6-pre3 Changes since 1.70: +3 -3 lines Diff to previous 1.70 Transfer is now Curl_Tranfer() and transfer.h is used instead of highlevel.h and download.h Revision 1.70 - (view) (download) (annotate) - [select for diffs] Fri Jan 5 10:11:43 2001 UTC (9 years, 2 months ago) by bagder Branch: MAIN Changes since 1.69: +56 -92 lines Diff to previous 1.69 Internal symbols that aren't static are now prefixed with 'Curl_' Revision 1.69 - (view) (download) (annotate) - [select for diffs] Wed Jan 3 09:29:34 2001 UTC (9 years, 2 months ago) by bagder Branch: MAIN CVS Tags: curl-7_5_2 Changes since 1.68: +11 -28 lines Diff to previous 1.68 dual-license fix Revision 1.68 - (view) (download) (annotate) - [select for diffs] Thu Dec 7 09:09:26 2000 UTC (9 years, 3 months ago) by bagder Branch: MAIN CVS Tags: pre-header-change Changes since 1.67: +5 -2 lines Diff to previous 1.67 Added SA_RESTART since (some) HPUX doesn't have that define and it doesn't need it Revision 1.67 - (view) (download) (annotate) - [select for diffs] Wed Nov 29 08:16:27 2000 UTC (9 years, 3 months ago) by bagder Branch: MAIN CVS Tags: curl-7_5 Changes since 1.66: +2 -59 lines Diff to previous 1.66 removed '#if 0' sections Revision 1.66 - (view) (download) (annotate) - [select for diffs] Tue Nov 28 09:05:47 2000 UTC (9 years, 3 months ago) by bagder Branch: MAIN Changes since 1.65: +5 -2 lines Diff to previous 1.65 James Griffiths' max-redirs fix Revision 1.65 - (view) (download) (annotate) - [select for diffs] Wed Nov 22 13:50:17 2000 UTC (9 years, 3 months ago) by bagder Branch: MAIN Changes since 1.64: +5 -2 lines Diff to previous 1.64 document time fixes Revision 1.64 - (view) (download) (annotate) - [select for diffs] Tue Nov 21 19:06:55 2000 UTC (9 years, 3 months ago) by bagder Branch: MAIN Changes since 1.63: +4 -3 lines Diff to previous 1.63 set rangestringalloc to 0 after the string has been freed to prevent it from being freed twice (a NULL free the second time) Revision 1.63 - (view) (download) (annotate) - [select for diffs] Tue Nov 21 15:36:38 2000 UTC (9 years, 3 months ago) by bagder Branch: MAIN Changes since 1.62: +5 -4 lines Diff to previous 1.62 added some defensive code around the GetHost()'s third argument result Revision 1.62 - (view) (download) (annotate) - [select for diffs] Tue Nov 21 09:31:55 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.61: +3 -5 lines Diff to previous 1.61 removed two unused variables and added an extra set of parentheses, done to remove pedantic compiler warnings Revision 1.61 - (view) (download) (annotate) - [select for diffs] Mon Nov 20 08:53:21 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.60: +23 -5 lines Diff to previous 1.60 removed URL size restrictions Revision 1.60 - (view) (download) (annotate) - [select for diffs] Mon Nov 20 07:35:21 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.59: +42 -25 lines Diff to previous 1.59 Alexander Kourakos's lowercase environment variable fix Revision 1.59 - (view) (download) (annotate) - [select for diffs] Sat Nov 18 16:31:27 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.58: +4 -4 lines Diff to previous 1.58 spell correction resolv => resolve in two error messages Revision 1.58 - (view) (download) (annotate) - [select for diffs] Fri Nov 17 14:05:11 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.57: +47 -22 lines Diff to previous 1.57 memory leak cleanup campaign Revision 1.57 - (view) (download) (annotate) - [select for diffs] Fri Nov 17 09:48:21 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.56: +3 -5 lines Diff to previous 1.56 changed the 'port' field to long to better work with the va_arg() system Revision 1.56 - (view) (download) (annotate) - [select for diffs] Fri Nov 10 09:19:09 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.55: +8 -3 lines Diff to previous 1.55 adjusted to the changed getpass_r() Revision 1.55 - (view) (download) (annotate) - [select for diffs] Mon Nov 6 23:18:50 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.54: +8 -2 lines Diff to previous 1.54 getpass_r() is the new getpass name for thread-safe getpass! Revision 1.54 - (view) (download) (annotate) - [select for diffs] Mon Nov 6 22:53:51 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.53: +25 -7 lines Diff to previous 1.53 new getpass proto and function pointer usage Revision 1.53 - (view) (download) (annotate) - [select for diffs] Mon Nov 6 08:12:30 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.52: +22 -3 lines Diff to previous 1.52 Emmanuel Tychon found a problem when specifying user-name only in a URL (and the password entered interactively). This fix also includes proper URL-decoding of the user name and password if specified in the URL. Revision 1.52 - (view) (download) (annotate) - [select for diffs] Wed Nov 1 08:19:10 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.51: +8 -2 lines Diff to previous 1.51 added signal in case sigaction is missing Revision 1.51 - (view) (download) (annotate) - [select for diffs] Mon Oct 30 11:53:40 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.50: +26 -19 lines Diff to previous 1.50 new urldata ssl layout and T. Bharath brought the new SSL cert verify function Revision 1.50 - (view) (download) (annotate) - [select for diffs] Thu Oct 26 21:57:12 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.49: +10 -6 lines Diff to previous 1.49 Georg Horn provided a fix for the timeout signal stuff. Finally the timeout switch should work under most unixes (requires sigaction()) Revision 1.49 - (view) (download) (annotate) - [select for diffs] Thu Oct 26 10:32:04 2000 UTC (9 years, 4 months ago) by bagder Branch: MAIN Changes since 1.48: +11 -9 lines Diff to previous 1.48 renamed getpass() to my_getpass() and it is now thread-safe and should disable passwd-echoing on win32 (supplied by Björn Stenberg) Revision 1.48 - (view) (download) (annotate) - [select for diffs] Fri Oct 20 13:48:38 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN Changes since 1.47: +5 -4 lines Diff to previous 1.47 remote_port used in Host: headers only when non-default Revision 1.47 - (view) (download) (annotate) - [select for diffs] Thu Oct 12 08:22:16 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN CVS Tags: curl-7_4_1 Changes since 1.46: +5 -4 lines Diff to previous 1.46 sprintf() => snprintf() Revision 1.46 - (view) (download) (annotate) - [select for diffs] Wed Oct 11 10:58:37 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN Changes since 1.45: +6 -2 lines Diff to previous 1.45 free the URL string if that was allocated Revision 1.45 - (view) (download) (annotate) - [select for diffs] Mon Oct 9 11:12:34 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN Changes since 1.44: +6 -2 lines Diff to previous 1.44 added memory debugging include file Revision 1.44 - (view) (download) (annotate) - [select for diffs] Fri Oct 6 11:03:20 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN Changes since 1.43: +11 -6 lines Diff to previous 1.43 the --interface code doesn't work on win32 and is #ifndef WIN32 now Revision 1.43 - (view) (download) (annotate) - [select for diffs] Fri Oct 6 06:28:39 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN Changes since 1.42: +9 -3 lines Diff to previous 1.42 HTTP resume fix, now the range pointer may be allocated Revision 1.42 - (view) (download) (annotate) - [select for diffs] Tue Oct 3 22:04:04 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN Changes since 1.41: +4 -2 lines Diff to previous 1.41 removed writeinfo stuff Revision 1.41 - (view) (download) (annotate) - [select for diffs] Tue Oct 3 11:03:55 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN Changes since 1.40: +5 -2 lines Diff to previous 1.40 inits the upload_bufsize at connect time Revision 1.40 - (view) (download) (annotate) - [select for diffs] Thu Sep 28 10:27:43 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN CVS Tags: curl-7_3 Changes since 1.39: +4 -3 lines Diff to previous 1.39 7.3 commit Revision 1.39 - (view) (download) (annotate) - [select for diffs] Mon Sep 25 22:16:36 2000 UTC (9 years, 5 months ago) by bagder Branch: MAIN Changes since 1.38: +3 -3 lines Diff to previous 1.38 corrected curl_write() for kerberos Revision 1.38 - (view) (download) (annotate) - [select for diffs] Thu Sep 21 08:50:05 2000 UTC (9 years, 6 months ago) by bagder Branch: MAIN Changes since 1.37: +42 -22 lines Diff to previous 1.37 krb4 support new GetHost() usage new base64 encoder usage Revision 1.37 - (view) (download) (annotate) - [select for diffs] Mon Sep 18 21:54:08 2000 UTC (9 years, 6 months ago) by bagder Branch: MAIN Changes since 1.36: +174 -3 lines Diff to previous 1.36 Stephen Kick's interface fixes Revision 1.36 - (view) (download) (annotate) - [select for diffs] Thu Sep 14 14:05:01 2000 UTC (9 years, 6 months ago) by bagder Branch: MAIN Changes since 1.35: +10 -3 lines Diff to previous 1.35 introduced 'tunnel through http proxy' for ftp Revision 1.35 - (view) (download) (annotate) - [select for diffs] Thu Sep 14 10:41:07 2000 UTC (9 years, 6 months ago) by bagder Branch: MAIN Changes since 1.34: +7 -2 lines Diff to previous 1.34 file:// fix that prevents name lookup and sets no-upload and no-download Revision 1.34 - (view) (download) (annotate) - [select for diffs] Thu Aug 24 14:26:33 2000 UTC (9 years, 6 months ago) by bagder Branch: MAIN CVS Tags: curl-7_2 Changes since 1.33: +5 -3 lines Diff to previous 1.33 #include "setup.h" moved first of all includes Revision 1.33 - (view) (download) (annotate) - [select for diffs] Thu Aug 24 12:33:17 2000 UTC (9 years, 6 months ago) by bagder Branch: MAIN Changes since 1.32: +5 -2 lines Diff to previous 1.32 hostname and large file support added Revision 1.32 - (view) (download) (annotate) - [select for diffs] Thu Aug 17 15:40:26 2000 UTC (9 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_1_1 Changes since 1.31: +2 -5 lines Diff to previous 1.31 removed HAVE_VPRINTF dependence Revision 1.31 - (view) (download) (annotate) - [select for diffs] Fri Aug 11 18:08:50 2000 UTC (9 years, 7 months ago) by bagder Branch: MAIN Changes since 1.30: +7 -5 lines Diff to previous 1.30 Linux name resolving problem fixed with larger name-buffer Revision 1.30 - (view) (download) (annotate) - [select for diffs] Tue Aug 8 13:46:26 2000 UTC (9 years, 7 months ago) by bagder Branch: MAIN Changes since 1.29: +53 -29 lines Diff to previous 1.29 allow zero length user names for http Revision 1.29 - (view) (download) (annotate) - [select for diffs] Mon Jul 31 21:31:27 2000 UTC (9 years, 7 months ago) by bagder Branch: MAIN Changes since 1.28: +4 -4 lines Diff to previous 1.28 made urlfree static, added (void) in front of one of the SSL calls. I did these changes when trying to run lclint on the curl code. Revision 1.28 - (view) (download) (annotate) - [select for diffs] Fri Jul 28 07:56:06 2000 UTC (9 years, 7 months ago) by bagder Branch: MAIN Changes since 1.27: +8 -4 lines Diff to previous 1.27 clear the httproxy bit on cleanup if the allocproxy bit was set Revision 1.27 - (view) (download) (annotate) - [select for diffs] Tue Jul 25 21:17:45 2000 UTC (9 years, 7 months ago) by bagder Branch: MAIN Changes since 1.26: +6 -2 lines Diff to previous 1.26 uses the new curl_close function to clean up the http-specific auth_host Revision 1.26 - (view) (download) (annotate) - [select for diffs] Tue Jul 25 12:13:57 2000 UTC (9 years, 7 months ago) by bagder Branch: MAIN Changes since 1.25: +7 -4 lines Diff to previous 1.25 tiny adjustments to set the start-time before the curl_connect() is called to allow the connect function to better deal with timeouts, as was just added to ftp Revision 1.25 - (view) (download) (annotate) - [select for diffs] Tue Jul 25 07:31:35 2000 UTC (9 years, 7 months ago) by bagder Branch: MAIN Changes since 1.24: +13 -6 lines Diff to previous 1.24 Added CURLOPT_PROXYPORT support Added a missing free() in curl_disconnect() Made (https) connect errors abort better and earlier Revision 1.24 - (view) (download) (annotate) - [select for diffs] Tue Jun 20 15:31:26 2000 UTC (9 years, 9 months ago) by bagder Branch: MAIN Changes since 1.23: +5 -5 lines Diff to previous 1.23 haxx.nu => haxx.se Revision 1.23 - (view) (download) (annotate) - [select for diffs] Tue Jun 20 09:28:09 2000 UTC (9 years, 9 months ago) by bagder Branch: MAIN Changes since 1.22: +8 -2 lines Diff to previous 1.22 autoreferer added, switches off POST on location: following Revision 1.22 - (view) (download) (annotate) - [select for diffs] Fri Jun 16 13:17:07 2000 UTC (9 years, 9 months ago) by bagder Branch: MAIN Changes since 1.21: +3 -5 lines Diff to previous 1.21 progress.mode replaced with progress.callback Revision 1.21 - (view) (download) (annotate) - [select for diffs] Tue Jun 13 08:11:45 2000 UTC (9 years, 9 months ago) by bagder Branch: MAIN Changes since 1.20: +3 -5 lines Diff to previous 1.20 free-twice problem corrected Revision 1.20 - (view) (download) (annotate) - [select for diffs] Thu Jun 8 15:11:39 2000 UTC (9 years, 9 months ago) by bagder Branch: MAIN Changes since 1.19: +11 -6 lines Diff to previous 1.19 added progress callback stuff, changed the callback typedefs to be public Revision 1.19 - (view) (download) (annotate) - [select for diffs] Mon May 29 23:07:22 2000 UTC (9 years, 9 months ago) by bagder Branch: MAIN CVS Tags: v7_0_2beta Changes since 1.18: +11 -2 lines Diff to previous 1.18 made getenv() more threadsafe for win32 Revision 1.18 - (view) (download) (annotate) - [select for diffs] Mon May 29 22:51:13 2000 UTC (9 years, 9 months ago) by bagder Branch: MAIN Changes since 1.17: +22 -18 lines Diff to previous 1.17 David LeBlanc's fixes! Revision 1.17 - (view) (download) (annotate) - [select for diffs] Mon May 22 17:18:55 2000 UTC (9 years, 10 months ago) by bagder Branch: MAIN Changes since 1.16: +3 -3 lines Diff to previous 1.16 Jört Hartroth's updates Revision 1.16 - (view) (download) (annotate) - [select for diffs] Mon May 22 14:15:06 2000 UTC (9 years, 10 months ago) by bagder Branch: MAIN Changes since 1.15: +484 -523 lines Diff to previous 1.15 moved here from the newlib branch Revision 1.15.2.7 - (view) (download) (annotate) - [select for diffs] Mon May 15 23:09:31 2000 UTC (9 years, 10 months ago) by bagder Branch: newlib Changes since 1.15.2.6: +4 -66 lines Diff to previous 1.15.2.6 , to branch point 1.15 , to next main 1.840 more moves towards the "easy" interface Revision 1.15.2.6 - (view) (download) (annotate) - [select for diffs] Sun May 14 13:22:48 2000 UTC (9 years, 10 months ago) by bagder Branch: newlib Changes since 1.15.2.5: +30 -6 lines Diff to previous 1.15.2.5 , to branch point 1.15 many changes Revision 1.15.2.5 - (view) (download) (annotate) - [select for diffs] Tue May 9 22:48:47 2000 UTC (9 years, 10 months ago) by bagder Branch: newlib Changes since 1.15.2.4: +59 -57 lines Diff to previous 1.15.2.4 , to branch point 1.15 slow night, few changes Revision 1.15.2.4 - (view) (download) (annotate) - [select for diffs] Mon May 8 22:35:45 2000 UTC (9 years, 10 months ago) by bagder Branch: newlib Changes since 1.15.2.3: +180 -121 lines Diff to previous 1.15.2.3 , to branch point 1.15 Another step on the way Revision 1.15.2.3 - (view) (download) (annotate) - [select for diffs] Tue May 2 21:33:05 2000 UTC (9 years, 10 months ago) by bagder Branch: newlib Changes since 1.15.2.2: +12 -12 lines Diff to previous 1.15.2.2 , to branch point 1.15 do/done applied more Revision 1.15.2.2 - (view) (download) (annotate) - [select for diffs] Wed Apr 26 23:03:04 2000 UTC (9 years, 10 months ago) by bagder Branch: newlib Changes since 1.15.2.1: +34 -13 lines Diff to previous 1.15.2.1 , to branch point 1.15 many updates Revision 1.15.2.1 - (view) (download) (annotate) - [select for diffs] Wed Apr 26 21:37:19 2000 UTC (9 years, 10 months ago) by bagder Branch: newlib Changes since 1.15: +232 -280 lines Diff to previous 1.15 massive initial newlib commit Revision 1.15 - (view) (download) (annotate) - [select for diffs] Tue Apr 11 21:47:28 2000 UTC (9 years, 11 months ago) by bagder Branch: MAIN Branch point for: newlib Changes since 1.14: +205 -157 lines Diff to previous 1.14 now uses a tiny bit of the new library interface! Revision 1.14 - (view) (download) (annotate) - [select for diffs] Sat Apr 8 19:29:58 2000 UTC (9 years, 11 months ago) by bagder Branch: MAIN Changes since 1.13: +3 -3 lines Diff to previous 1.13 now sends user agent to all requests that go through a http proxy Revision 1.13 - (view) (download) (annotate) - [select for diffs] Tue Apr 4 18:08:34 2000 UTC (9 years, 11 months ago) by bagder Branch: MAIN Changes since 1.12: +2 -3 lines Diff to previous 1.12 Marco's fix got adjusted Revision 1.12 - (view) (download) (annotate) - [select for diffs] Tue Apr 4 17:44:24 2000 UTC (9 years, 11 months ago) by bagder Branch: MAIN Changes since 1.11: +15 -2 lines Diff to previous 1.11 Marco G. Salvagno's OS/2 patch is applied Revision 1.11 - (view) (download) (annotate) - [select for diffs] Sun Apr 2 12:08:12 2000 UTC (9 years, 11 months ago) by bagder Branch: MAIN Changes since 1.10: +11 -3 lines Diff to previous 1.10 James Atwill correctly pointed out that curl didn't follow Location: headers properly when the new URL is an absolute one to a different port than the first URL... Revision 1.10 - (view) (download) (annotate) - [select for diffs] Mon Mar 27 21:36:05 2000 UTC (9 years, 11 months ago) by bagder Branch: MAIN Changes since 1.9: +21 -7 lines Diff to previous 1.9 "H. Daphne Luong" <daphne@tellme.com> pointed out that curl cannot destroy the proxy server data internally as it did, since when doing a location: following it needs the proxy server string several times. Revision 1.9 - (view) (download) (annotate) - [select for diffs] Wed Mar 1 22:05:11 2000 UTC (10 years ago) by bagder Branch: MAIN CVS Tags: curl-6_5, curl-6_5_1, curl-6_5_2 Changes since 1.8: +4 -2 lines Diff to previous 1.8 Added two new time stamp places Revision 1.8 - (view) (download) (annotate) - [select for diffs] Mon Feb 21 23:51:09 2000 UTC (10 years ago) by bagder Branch: MAIN Changes since 1.7: +11 -2 lines Diff to previous 1.7 Added writeout stuff Revision 1.7 - (view) (download) (annotate) - [select for diffs] Wed Feb 16 00:01:50 2000 UTC (10 years, 1 month ago) by bagder Branch: MAIN Changes since 1.6: +3 -2 lines Diff to previous 1.6 Now starts the progress meter timer at once! Revision 1.6 - (view) (download) (annotate) - [select for diffs] Mon Feb 14 23:03:05 2000 UTC (10 years, 1 month ago) by bagder Branch: MAIN Changes since 1.5: +5 -3 lines Diff to previous 1.5 uses the new progress functions Revision 1.5 - (view) (download) (annotate) - [select for diffs] Tue Feb 1 23:57:54 2000 UTC (10 years, 1 month ago) by bagder Branch: MAIN Changes since 1.4: +2 -3 lines Diff to previous 1.4 removed include upload.h Revision 1.4 - (view) (download) (annotate) - [select for diffs] Mon Jan 31 22:20:17 2000 UTC (10 years, 1 month ago) by bagder Branch: MAIN Changes since 1.3: +2 -5 lines Diff to previous 1.3 removed the port number reset again, it is already being made when the location: URL turns out to be an "absolute" one and that should be the only time it is required. Revision 1.3 - (view) (download) (annotate) - [select for diffs] Wed Jan 19 21:57:48 2000 UTC (10 years, 2 months ago) by bagder Branch: MAIN Changes since 1.2: +6 -4 lines Diff to previous 1.2 - Oskar Liljeblad <osk@hem.passagen.se> pointed out and corrected a problem in the Location: following system that made curl following a location: to a different protocol to fail. Revision 1.2 - (view) (download) (annotate) - [select for diffs] Mon Jan 10 23:36:15 2000 UTC (10 years, 2 months ago) by bagder Branch: MAIN Changes since 1.1: +3 -0 lines Diff to previous 1.1 syncing with local edit Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch) Wed Dec 29 14:21:41 1999 UTC (10 years, 2 months ago) by bagder Branch: bagder CVS Tags: start Changes since 1.1: +0 -0 lines Diff to previous 1.1 , to next main 1.840 new Revision 1.1 - (view) (download) (annotate) - [select for diffs] Wed Dec 29 14:21:41 1999 UTC (10 years, 2 months ago) by bagder Branch: MAIN Branch point for: bagder Initial revision This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision. |
Page updated November 16, 2009.
web site info