| |
|
|
|
Log of /RELEASE-NOTES
Revision 1.1159 - (view) (download) (annotate) - [select for diffs] Mon Mar 15 22:40:42 2010 UTC (5 days, 22 hours ago) by bagder Branch: MAIN CVS Tags: HEAD Changes since 1.1158: +3 -1 lines Diff to previous 1.1158 - Constantine Sapuntzakis brought a patch: The problem mentioned on Dec 10 2009 (http://curl.haxx.se/bug/view.cgi?id=2905220) was only partially fixed. Partially because an easy handle can be associated with many connections in the cache (e.g. if there is a redirect during the lifetime of the easy handle). The previous patch only cleaned up the first one. The new fix now removes the easy handle from all connections, not just the first one. Revision 1.1158 - (view) (download) (annotate) - [select for diffs] Sat Mar 6 18:42:06 2010 UTC (2 weeks, 1 day ago) by bagder Branch: MAIN Changes since 1.1157: +1 -0 lines Diff to previous 1.1157 - Ben Greear brought a patch that fixed the rate limiting logic for TFTP when the easy interface was used. Revision 1.1157 - (view) (download) (annotate) - [select for diffs] Fri Mar 5 22:53:30 2010 UTC (2 weeks, 1 day ago) by bagder Branch: MAIN Changes since 1.1156: +1 -0 lines Diff to previous 1.1156 Daniel Johnson provided fixes for building with the clang compiler Revision 1.1156 - (view) (download) (annotate) - [select for diffs] Fri Mar 5 03:15:19 2010 UTC (2 weeks, 2 days ago) by yangtse Branch: MAIN Changes since 1.1155: +1 -0 lines Diff to previous 1.1155 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.1155 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 22:02:56 2010 UTC (2 weeks, 4 days ago) by bagder Branch: MAIN Changes since 1.1154: +2 -1 lines Diff to previous 1.1154 - [Daniel Johnson] I've been trying to build libcurl with clang on Darwin and ran into some issues with the GSSAPI tests in configure.ac. The tests first try to determine the include dirs and libs and set CPPFLAGS and LIBS accordingly. It then checks for the headers and finally sets LIBS a second time, causing the libs to be included twice. The first setting of LIBS seems redundant and should be left out, since the first part is otherwise just about finding headers. My second issue is that 'krb5-config --libs gssapi' on Darwin is less than useless and returns junk that, while it happens to work with gcc, causes clang to choke. For example, --libs returns $CFLAGS along with the libs, which is really retarded. Simply setting 'LIBS="$LIBS -lgssapi_krb5 -lresolv"' on Darwin is sufficient. Revision 1.1154 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 21:20:22 2010 UTC (2 weeks, 4 days ago) by bagder Branch: MAIN Changes since 1.1153: +2 -1 lines Diff to previous 1.1153 - Based on patch provided by Jacob Moshenko, the transfer logic now properly makes sure that when using sub-second timeouts, there's no final bad 1000ms wait. Previously, a sub-second timeout would often make the elapsed time end up the time rounded up to the nearest second (e.g. 1s for 200ms timeout) Revision 1.1153 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 13:41:18 2010 UTC (2 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1152: +2 -1 lines Diff to previous 1.1152 - Andrei Benea filed bug report #2956698 and pointed out that the CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function call. He provided the patch to fix it too. http://curl.haxx.se/bug/view.cgi?id=2956698 Revision 1.1152 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 13:34:57 2010 UTC (2 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1151: +2 -1 lines Diff to previous 1.1151 - Markus Duft pointed out in bug #2961796 that even though Interix has a poll() function it doesn't quite work the way we want it so we must disable it, and he also provided a patch for it. http://curl.haxx.se/bug/view.cgi?id=2961796 Revision 1.1151 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 13:26:23 2010 UTC (2 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1150: +3 -1 lines Diff to previous 1.1150 - Made the pingpong timeout code properly deal with the response timeout AND the global timeout if set. Also, as was reported in the bug report #2956437 by Ryan Chan, the time stamp to use as basis for the per command timeout was not set properly in the DONE phase for FTP (and not for SMTP) so I fixed that just now. This was a regression compared to 7.19.7 due to the conversion of FTP code over to the generic pingpong concepts. http://curl.haxx.se/bug/view.cgi?id=2956437 Revision 1.1150 - (view) (download) (annotate) - [select for diffs] Mon Mar 1 22:14:47 2010 UTC (2 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1149: +2 -1 lines Diff to previous 1.1149 - Ben Greear provided an update for TFTP that fixes upload. Revision 1.1149 - (view) (download) (annotate) - [select for diffs] Mon Mar 1 22:10:55 2010 UTC (2 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1148: +1 -1 lines Diff to previous 1.1148 SSL, not SSH, SSL Revision 1.1148 - (view) (download) (annotate) - [select for diffs] Mon Mar 1 21:59:07 2010 UTC (2 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1147: +2 -1 lines Diff to previous 1.1147 - Wesley Miaw reported bug #2958179 which identified a case of looping during OpenSSL based SSL handshaking even though the multi interface was used and there was no good reason for it. http://curl.haxx.se/bug/view.cgi?id=2958179 Revision 1.1147 - (view) (download) (annotate) - [select for diffs] Fri Feb 26 22:55:30 2010 UTC (3 weeks, 1 day ago) by bagder Branch: MAIN Changes since 1.1146: +3 -1 lines Diff to previous 1.1146 - Pat Ray in bug #2958474 pointed out an off-by-one case when receiving a chunked-encoding trailer. http://curl.haxx.se/bug/view.cgi?id=2958474 Revision 1.1146 - (view) (download) (annotate) - [select for diffs] Thu Feb 25 06:59:04 2010 UTC (3 weeks, 3 days ago) by yangtse Branch: MAIN Changes since 1.1145: +1 -0 lines Diff to previous 1.1145 Fixed bug report #2958074 indicating (http://curl.haxx.se/bug/view.cgi?id=2958074) that curl on Windows with option --trace-time did not use local time when timestamping trace lines. This could also happen on other systems depending on time souurce. Revision 1.1145 - (view) (download) (annotate) - [select for diffs] Sat Feb 20 22:29:59 2010 UTC (4 weeks ago) by bagder Branch: MAIN Changes since 1.1144: +1 -0 lines Diff to previous 1.1144 - Fixed the SMTP compliance by making sure RCPT TO addresses are specified properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now get angle bracket wrapping automatically by libcurl unless the recipient starts with an angle bracket as then the app is assumed to deal with that properly on its own. Revision 1.1144 - (view) (download) (annotate) - [select for diffs] Sat Feb 20 21:56:48 2010 UTC (4 weeks ago) by bagder Branch: MAIN Changes since 1.1143: +1 -0 lines Diff to previous 1.1143 - I made the SMTP code expect a 250 response back from the server after the full DATA has been sent, and I modified the test SMTP server to also send that response. As usual, the DONE operation that is made after a completed transfer is still not doable in a non-blocking way so this waiting for 250 is unfortunately made blockingly. Revision 1.1143 - (view) (download) (annotate) - [select for diffs] Sat Feb 13 21:30:17 2010 UTC (5 weeks ago) by bagder Branch: MAIN Changes since 1.1142: +2 -1 lines Diff to previous 1.1142 - Martin Hager reported and fixed a problem with a missing quote in libcurl.m4 (http://curl.haxx.se/bug/view.cgi?id=2951319) Revision 1.1142 - (view) (download) (annotate) - [select for diffs] Sat Feb 13 17:51:31 2010 UTC (5 weeks, 1 day ago) by bagder Branch: MAIN Changes since 1.1141: +2 -1 lines Diff to previous 1.1141 - Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake. Revision 1.1141 - (view) (download) (annotate) - [select for diffs] Fri Feb 12 22:23:47 2010 UTC (5 weeks, 1 day ago) by bagder Branch: MAIN Changes since 1.1140: +2 -1 lines Diff to previous 1.1140 - Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses in the same RCPT TO line, when they should be sent in separate single commands. I updated test case 802 to verify this. - I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl tool which made it try to output it as string for the --libcurl feature which could lead to crashes. Revision 1.1140 - (view) (download) (annotate) - [select for diffs] Thu Feb 11 07:36:34 2010 UTC (5 weeks, 3 days ago) by yangtse Branch: MAIN Changes since 1.1139: +2 -2 lines Diff to previous 1.1139 mention last changes Revision 1.1139 - (view) (download) (annotate) - [select for diffs] Tue Feb 9 11:37:10 2010 UTC (5 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1138: +5 -51 lines Diff to previous 1.1138 start working on 7.20.1 Revision 1.1138 - (view) (download) (annotate) - [select for diffs] Tue Feb 9 09:35:48 2010 UTC (5 weeks, 5 days ago) by bagder Branch: MAIN CVS Tags: curl-7_20_0 Changes since 1.1137: +3 -1 lines Diff to previous 1.1137 - When downloading compressed content over HTTP and the app as asked libcurl
to automatically uncompress it with the CURLOPT_ENCODING option, libcurl
could wrongly provide the callback with more data than what the maximum
documented amount. An application could thus get tricked into badness if the
maximum limit was trusted to be enforced by libcurl itself (as it is
documented).
This is further detailed and explained in the libcurl security advisory
20100209 at
http://curl.haxx.se/docs/adv_20100209.html
Revision 1.1137 - (view) (download) (annotate) - [select for diffs] Tue Feb 2 12:58:49 2010 UTC (6 weeks, 5 days ago) by yangtse Branch: MAIN Changes since 1.1136: +1 -0 lines Diff to previous 1.1136 - Symbol CURL_FORMAT_OFF_T now obsoleted, will be removed in a future release, symbol will not be available when building with CURL_NO_OLDIES defined. Use of CURL_FORMAT_CURL_OFF_T is preferred since 7.19.0 Revision 1.1136 - (view) (download) (annotate) - [select for diffs] Mon Feb 1 21:42:44 2010 UTC (6 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1135: +1 -0 lines Diff to previous 1.1135 We introduce a loop in lib/multi.c around all calls to multi_runsingle() and simply check for CURLM_CALL_MULTI_PERFORM internally. This has the added benefit that this goes in line with my long-term wishes to get rid of the CURLM_CALL_MULTI_PERFORM all together from the public API. Revision 1.1135 - (view) (download) (annotate) - [select for diffs] Wed Jan 27 18:10:35 2010 UTC (7 weeks, 4 days ago) by yangtse Branch: MAIN Changes since 1.1134: +2 -1 lines Diff to previous 1.1134 mention asynchronous DNS lookups enhancements Revision 1.1134 - (view) (download) (annotate) - [select for diffs] Tue Jan 26 22:59:43 2010 UTC (7 weeks, 4 days ago) by bagder Branch: MAIN Changes since 1.1133: +1 -1 lines Diff to previous 1.1133 - Mike Crowe made libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the proxy that cannot be resolved when using c-ares. This matches the behaviour when not using c-ares. Revision 1.1133 - (view) (download) (annotate) - [select for diffs] Sat Jan 23 20:14:39 2010 UTC (8 weeks, 1 day ago) by zagor Branch: MAIN Changes since 1.1132: +4 -2 lines Diff to previous 1.1132 Mention -J change Revision 1.1132 - (view) (download) (annotate) - [select for diffs] Thu Jan 21 13:58:30 2010 UTC (8 weeks, 3 days ago) by bagder Branch: MAIN Changes since 1.1131: +4 -3 lines Diff to previous 1.1131 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.1131 - (view) (download) (annotate) - [select for diffs] Tue Jan 19 23:19:59 2010 UTC (2 months ago) by bagder Branch: MAIN Changes since 1.1130: +1 -0 lines Diff to previous 1.1130 - As was pointed out on the http-state mailing list, the order of cookies in a HTTP Cookie: header _needs_ to be sorted on the path length in the cases where two cookies using the same name are set more than once using (overlapping) paths. Realizing this, identically named cookies must be sorted correctly. But detecting only identically named cookies and take care of them individually is harder than just to blindly and unconditionally sort all cookies based on their path lengths. All major browsers also already do this, so this makes our behavior one step closer to them in the cookie area. Test case 8 was the only one that broke due to this change and I updated it accordingly. Revision 1.1130 - (view) (download) (annotate) - [select for diffs] Tue Jan 19 21:39:11 2010 UTC (2 months ago) by bagder Branch: MAIN Changes since 1.1129: +2 -1 lines Diff to previous 1.1129 - David McCreedy brought a fix and a new test case (129) to make libcurl work again when downloading files over FTP using ASCII and it turns out that the final size of the file is not the same as the initial size the server reported. This is very common since servers don't take the newline conversions into account. Revision 1.1129 - (view) (download) (annotate) - [select for diffs] Mon Jan 11 23:15:10 2010 UTC (2 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1128: +2 -1 lines Diff to previous 1.1128 - Gil Weber reported a peculiar flaw with the multi interface when doing SFTP transfers: curl_multi_fdset() would return -1 and not set and file descriptors several times during a transfer of a single file. It turned out to be due to two different flaws now fixed. Gil's excellent recipe helped me nail this. Revision 1.1128 - (view) (download) (annotate) - [select for diffs] Mon Jan 11 21:38:35 2010 UTC (2 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1127: +1 -0 lines Diff to previous 1.1127 progress callback called repeatedly during slow connects Revision 1.1127 - (view) (download) (annotate) - [select for diffs] Sat Jan 9 00:03:33 2010 UTC (2 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1126: +1 -1 lines Diff to previous 1.1126 struct Curl_sh_entry's 'inuse' member was no longer used and is now removed Revision 1.1126 - (view) (download) (annotate) - [select for diffs] Fri Jan 8 23:45:23 2010 UTC (2 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1125: +3 -1 lines Diff to previous 1.1125 - Johan van Selst found and fixed a OpenSSL session ref count leak: ossl_connect_step3() increments an SSL session handle reference counter on each call. When sessions are re-used this reference counter may be incremented many times, but it will be decremented only once when done (by Curl_ossl_session_free()); and the internal OpenSSL data will not be freed if this reference count remains positive. When a session is re-used the reference counter should be corrected by explicitly calling SSL_SESSION_free() after each consecutive SSL_get1_session() to avoid introducing a memory leak. (http://curl.haxx.se/bug/view.cgi?id=2926284) Revision 1.1125 - (view) (download) (annotate) - [select for diffs] Wed Jan 6 23:04:17 2010 UTC (2 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1124: +1 -0 lines Diff to previous 1.1124 - Make sure the progress callback is called repeatedly even during very slow name resolves when c-ares is used for resolving. Revision 1.1124 - (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.1123: +1 -0 lines Diff to previous 1.1123 Julien Chaffraix fixed so that the fragment part in an URL is not sent to the server anymore Revision 1.1123 - (view) (download) (annotate) - [select for diffs] Sat Jan 2 22:09:31 2010 UTC (2 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1122: +1 -0 lines Diff to previous 1.1122 - Make curl support --ssl and --ssl-reqd instead of the previous FTP-specific versions --ftp-ssl and --ftp-ssl-reqd as these options are now used to control SSL/TLS for IMAP, POP3 and SMTP as well in addition to FTP. The old option names are still working but the new ones are the prefered ones (listed and documented). Revision 1.1122 - (view) (download) (annotate) - [select for diffs] Fri Jan 1 14:44:44 2010 UTC (2 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1121: +4 -3 lines Diff to previous 1.1121 - 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.1121 - (view) (download) (annotate) - [select for diffs] Wed Dec 30 19:37:53 2009 UTC (2 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1120: +1 -0 lines Diff to previous 1.1120 VMS build system enhancements by Steven M. Schweda and Craig A. Berry Revision 1.1120 - (view) (download) (annotate) - [select for diffs] Fri Dec 25 23:32:01 2009 UTC (2 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1119: +2 -1 lines Diff to previous 1.1119 - Renato Botelho and Peter Pentchev brought a patch that makes the libcurl headers work correctly even on FreeBSD systems before v8. Revision 1.1119 - (view) (download) (annotate) - [select for diffs] Sat Dec 19 19:20:26 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.1118: +1 -1 lines Diff to previous 1.1118 fixed a precaution check in the cookie code, pointed out by Julien Chaffraix Revision 1.1118 - (view) (download) (annotate) - [select for diffs] Thu Dec 17 13:29:41 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.1117: +1 -0 lines Diff to previous 1.1117 - David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when available. Revision 1.1117 - (view) (download) (annotate) - [select for diffs] Mon Dec 14 23:16:09 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.1116: +3 -1 lines Diff to previous 1.1116 - 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.1116 - (view) (download) (annotate) - [select for diffs] Sat Dec 12 22:05:12 2009 UTC (3 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1115: +4 -2 lines Diff to previous 1.1115 IMAP, POP3 and SMTP support Revision 1.1115 - (view) (download) (annotate) - [select for diffs] Thu Dec 10 21:02:11 2009 UTC (3 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1114: +2 -1 lines Diff to previous 1.1114 - Siegfried Gyuricsko found out that the curl manual said --retry would retry on FTP errors in the transient 5xx range. Transient FTP errors are in the 4xx range. The code itself only tried on 5xx errors that occured _at login_. Now the retry code retries on all FTP transfer failures that ended with a 4xx response. (http://curl.haxx.se/bug/view.cgi?id=2911279) Revision 1.1114 - (view) (download) (annotate) - [select for diffs] Thu Dec 10 20:20:15 2009 UTC (3 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1113: +1 -0 lines Diff to previous 1.1113 - Constantine Sapuntzakis figured out a case which would lead to libcurl accessing alredy freed memory and thus crash when using HTTPS (with OpenSSL), multi interface and the CURLOPT_DEBUGFUNCTION and a certain order of cleaning things up. I fixed it. (http://curl.haxx.se/bug/view.cgi?id=2891591) Revision 1.1113 - (view) (download) (annotate) - [select for diffs] Mon Dec 7 20:25:17 2009 UTC (3 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1112: +1 -0 lines Diff to previous 1.1112 - Martin Storsjo made libcurl use the Expect: 100-continue header for posts with unknown size. Previously it was only used for posts with a known size larger than 1024 bytes. Revision 1.1112 - (view) (download) (annotate) - [select for diffs] Tue Dec 1 12:04:55 2009 UTC (3 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1111: +2 -1 lines Diff to previous 1.1111 - If the Expect: 100-continue header has been set by the application through curl_easy_setopt with CURLOPT_HTTPHEADER, the library should set data->state.expect100header accordingly - the current code (in 7.19.7 at least) doesn't handle this properly. Martin Storsjo provided the fix! Revision 1.1111 - (view) (download) (annotate) - [select for diffs] Sun Nov 29 19:12:00 2009 UTC (3 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1110: +1 -1 lines Diff to previous 1.1110 a binding for Falcon Revision 1.1110 - (view) (download) (annotate) - [select for diffs] Fri Nov 27 23:53:50 2009 UTC (3 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1109: +1 -1 lines Diff to previous 1.1109 7.20.0 is the planned next version number Revision 1.1109 - (view) (download) (annotate) - [select for diffs] Fri Nov 27 23:46:29 2009 UTC (3 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1108: +4 -1 lines Diff to previous 1.1108 - Markus Koetter provided a polished and updated version of Chad Monroe's TFTP rework patch that now integrates TFTP properly into libcurl so that it can be used non-blocking with the multi interface and more. BLKSIZE also works. The --tftp-blksize option was added to allow setting the TFTP BLKSIZE from the command line. Revision 1.1108 - (view) (download) (annotate) - [select for diffs] Mon Nov 23 16:48:32 2009 UTC (3 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.1107: +1 -1 lines Diff to previous 1.1107 - David Byron modified Makefile.dist vc8 and vc9 targets in order to allow finer granularity control when generating src and lib makefiles. Revision 1.1107 - (view) (download) (annotate) - [select for diffs] Mon Nov 23 13:56:46 2009 UTC (3 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1106: +2 -1 lines Diff to previous 1.1106 - Bjorn Augustsson reported a bug which made curl not report any problems even though it failed to write a very small download to disk (done in a single fwrite call). It turned out to be because fwrite() returned success, but there was insufficient error-checking for the fclose() call which tricked curl to believe things were fine. Revision 1.1106 - (view) (download) (annotate) - [select for diffs] Fri Nov 20 19:32:49 2009 UTC (3 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1105: +1 -0 lines Diff to previous 1.1105 - 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.1105 - (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.1104: +2 -1 lines Diff to previous 1.1104 - 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.1104 - (view) (download) (annotate) - [select for diffs] Tue Nov 17 22:53:55 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.1103: +1 -0 lines Diff to previous 1.1103 - 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.1103 - (view) (download) (annotate) - [select for diffs] Tue Nov 17 18:11:07 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.1102: +3 -1 lines Diff to previous 1.1102 - Marc Kleine-Budde fixed: curl saved the LDFLAGS set during configure into its pkg-config file. So -Wl stuff ended up in the .pc file, which is really bad, and breaks if there are multiple -Wl in our LDFLAGS (which are in PTXdist). bug #2893592 (http://curl.haxx.se/bug/view.cgi?id=2893592) Revision 1.1102 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 19:23:26 2009 UTC (4 months ago) by claesjac Branch: MAIN Changes since 1.1101: +1 -0 lines Diff to previous 1.1101 Added '--configure' option to curl-config to display original configure arguments when curl was built Revision 1.1101 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 09:13:47 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.1100: +2 -1 lines Diff to previous 1.1100 - Claes Jakobsson restored the configure functionality to detect NSS when --with-nss is set but not "yes". I think we can still improve that to check for pkg-config in that path etc, but at least this patch brings back the same functionality we had before. Revision 1.1100 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 07:53:34 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.1099: +1 -1 lines Diff to previous 1.1099 - Camille Moncelier added support for the file type SSL_FILETYPE_ENGINE for the client certificate. It also disable the key name test as some engines can select a private key/cert automatically (When there is only one key and/or certificate on the hardware device used by the engine) Revision 1.1099 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 02:30:30 2009 UTC (4 months ago) by yangtse Branch: MAIN Changes since 1.1098: +1 -0 lines Diff to previous 1.1098 - 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.1098 - (view) (download) (annotate) - [select for diffs] Wed Nov 11 21:19:49 2009 UTC (4 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1097: +2 -1 lines Diff to previous 1.1097 Add last change credit Revision 1.1097 - (view) (download) (annotate) - [select for diffs] Wed Nov 11 21:15:35 2009 UTC (4 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1096: +1 -0 lines Diff to previous 1.1096 - Marco Maggi reported that compilation failed when configured --with-gssapi and GNU GSS installed due to a missing mutual exclusion of header files in the Kerberos 5 code path. He also verified that my patch worked for him. Revision 1.1096 - (view) (download) (annotate) - [select for diffs] Wed Nov 11 09:31:37 2009 UTC (4 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1095: +2 -1 lines Diff to previous 1.1095 - Constantine Sapuntzakis posted bug #2891595 (http://curl.haxx.se/bug/view.cgi?id=2891595) which identified how an entry in the DNS cache would linger too long if the request that added it was in use that long. He also provided the patch that now makes libcurl capable of still doing a request while the DNS hash entry may get timed out. Revision 1.1095 - (view) (download) (annotate) - [select for diffs] Wed Nov 11 09:01:44 2009 UTC (4 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1094: +2 -1 lines Diff to previous 1.1094 - Christian Schmitz noticed that the progress meter/callback was not properly used during the FTP connection phase (after the actual TCP connect), while it of course should be. I also made the speed check get called correctly so that really slow servers will trigger that properly too. Revision 1.1094 - (view) (download) (annotate) - [select for diffs] Thu Nov 5 15:04:03 2009 UTC (4 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1093: +1 -0 lines Diff to previous 1.1093 I removed leading 'curl' path on the 'curlbuild.h' include statement in curl.h, adjusting auto-makefiles include path, to enhance portability to OS's without an orthogonal directory tree structure such as OS/400. Revision 1.1093 - (view) (download) (annotate) - [select for diffs] Wed Nov 4 23:09:17 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1092: +1 -1 lines Diff to previous 1.1092 - I fixed several problems with the transfer progress meter. It showed the wrong percentage for small files, most notable for <1000 bytes and could easily end up showing more than 100% at the end. It also didn't show any percentage, transfer size or estimated transfer times when transferring less than 100 bytes. Revision 1.1092 - (view) (download) (annotate) - [select for diffs] Wed Nov 4 13:11:43 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1091: +6 -43 lines Diff to previous 1.1091 start over towards 7.19.8 Revision 1.1091 - (view) (download) (annotate) - [select for diffs] Wed Nov 4 12:13:20 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_7 Changes since 1.1090: +1 -1 lines Diff to previous 1.1090 syntax Revision 1.1090 - (view) (download) (annotate) - [select for diffs] Mon Nov 2 18:49:56 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1089: +2 -1 lines Diff to previous 1.1089 - As reported independent by both Stan van de Burgt and Didier Brisebourg, CURLINFO_SIZE_DOWNLOAD (the -w variable size_download) didn't work when getting data from ldap! Revision 1.1089 - (view) (download) (annotate) - [select for diffs] Sat Oct 31 18:51:51 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1088: +2 -1 lines Diff to previous 1.1088 - Gabriel Kuri reported a problem with CURLINFO_CONTENT_LENGTH_DOWNLOAD if the download was 0 bytes, as libcurl would then return the size as unknown (-1) and not 0. I wrote a fix and test case 566 to verify it. Revision 1.1088 - (view) (download) (annotate) - [select for diffs] Fri Oct 30 22:28:56 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1087: +3 -1 lines Diff to previous 1.1087 - Liza Alenchery mentioned a problem with re-used SCP connection when a bad auth is used, as it caused a crash. I failed to repeat the issue, but still made a change that now forces the TCP connection used for a freed SCP session to get closed and not be re-used. Revision 1.1087 - (view) (download) (annotate) - [select for diffs] Fri Oct 30 22:24:48 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1086: +1 -0 lines Diff to previous 1.1086 - "Tom" posted a bug report that mentioned how libcurl did wrong when doing a POST using a read callback, with Digest authentication and "Transfer-Encoding: chunked" enforced. I would then cause the first request to be wrongly sent and then basically hang until the server closed the connection. I fixed the problem and added test case 565 to verify it. Revision 1.1086 - (view) (download) (annotate) - [select for diffs] Sun Oct 25 18:15:14 2009 UTC (4 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1085: +2 -1 lines Diff to previous 1.1085 - Dima Barsky made the curl cookie parser accept cookies even with blank or unparsable expiry dates and then treat them as session cookies - previously libcurl would reject cookies with a date format it couldn't parse. Research shows that the major browser treat such cookies as session cookies. I modified test 8 and 31 to verify this. Revision 1.1085 - (view) (download) (annotate) - [select for diffs] Wed Oct 21 14:56:26 2009 UTC (4 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1084: +1 -0 lines Diff to previous 1.1084 - Attempt to use pkg-config for finding out libssh2 installation details during configure. Revision 1.1084 - (view) (download) (annotate) - [select for diffs] Wed Oct 21 12:36:55 2009 UTC (4 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1083: +1 -1 lines Diff to previous 1.1083 s/koresh/Johan van Selst/ Revision 1.1083 - (view) (download) (annotate) - [select for diffs] Wed Oct 21 12:29:52 2009 UTC (4 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1082: +1 -0 lines Diff to previous 1.1082 - A patch in bug report #2883177 (http://curl.haxx.se/bug/view.cgi?id=2883177) by user 'koresh' introduced the --crlfile option to curl, which makes curl tell libcurl about a file with CRL (certificate revocation list) data to read. Revision 1.1082 - (view) (download) (annotate) - [select for diffs] Sun Oct 18 21:56:19 2009 UTC (5 months ago) by bagder Branch: MAIN Changes since 1.1081: +1 -1 lines Diff to previous 1.1081 - Ray Dassen provided a patch in Debian's bug tracker (bug number #551461) that now makes curl_getdate(3) actually handles RFC 822 formatted dates that use the "single letter military timezones". http://www.rfc-ref.org/RFC-TEXTS/822/chapter5.html has the details. Revision 1.1081 - (view) (download) (annotate) - [select for diffs] Sun Oct 18 01:11:25 2009 UTC (5 months ago) by bagder Branch: MAIN Changes since 1.1080: +1 -0 lines Diff to previous 1.1080 - Fixed memory leak in the SCP/SFTP code as it never freed the knownhosts data! Revision 1.1080 - (view) (download) (annotate) - [select for diffs] Sun Oct 18 00:18:27 2009 UTC (5 months ago) by bagder Branch: MAIN Changes since 1.1079: +2 -1 lines Diff to previous 1.1079 John Dennis filed bug report #2873666 (http://curl.haxx.se/bug/view.cgi?id=2873666) which identified a problem which made libcurl loop infinitely when given incorrect credentials when using HTTP GSS negotiate authentication. Revision 1.1079 - (view) (download) (annotate) - [select for diffs] Sun Oct 18 00:10:13 2009 UTC (5 months ago) by bagder Branch: MAIN Changes since 1.1078: +2 -0 lines Diff to previous 1.1078 - Kevin Baughman found a double close() problem with libcurl-NSS, as when libcurl called NSS to close the SSL "session" it also closed the actual socket. Revision 1.1078 - (view) (download) (annotate) - [select for diffs] Sat Oct 17 17:33:19 2009 UTC (5 months ago) by yangtse Branch: MAIN Changes since 1.1077: +2 -1 lines Diff to previous 1.1077 Fix invalid file name characters handling on Windows Revision 1.1077 - (view) (download) (annotate) - [select for diffs] Thu Oct 1 07:59:45 2009 UTC (5 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1076: +2 -1 lines Diff to previous 1.1076 - Tom Mueller correctly reported in bug report #2870221 (http://curl.haxx.se/bug/view.cgi?id=2870221) that libcurl returned an incorrect return code from the internal trynextip() function which caused him grief. This is a regression that was introduced in 7.19.1 and I find it strange it hasn't hit us harder, but I won't persue into figuring out exactly why. Revision 1.1076 - (view) (download) (annotate) - [select for diffs] Thu Oct 1 07:05:07 2009 UTC (5 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1075: +3 -1 lines Diff to previous 1.1075 - Constantine Sapuntzakis: The current implementation will always set SO_SNDBUF to CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger. The patch doesn't do a setsockopt if SO_SNDBUF is already greater than CURL_WRITE_SIZE. This should help folks who have set up their computer with large send buffers. Revision 1.1075 - (view) (download) (annotate) - [select for diffs] Sun Sep 27 21:34:13 2009 UTC (5 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1074: +1 -0 lines Diff to previous 1.1074 - I introduced a maximum limit for received HTTP headers. It is controlled by the define CURL_MAX_HTTP_HEADER which is even exposed in the public header file to allow for users to fairly easy rebuild libcurl with a modified limit. The rationale for a fixed limit is that libcurl is realloc()ing a buffer to be able to put a full header into it, so that it can call the header callback with the entire header, but that also risk getting it into trouble if a server by mistake or willingly sends a header that is more or less without an end. The limit is set to 100K. Revision 1.1074 - (view) (download) (annotate) - [select for diffs] Sat Sep 26 20:51:51 2009 UTC (5 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1073: +3 -1 lines Diff to previous 1.1073 - John P. McCaskey posted a bug report that showed how libcurl did wrong when saving received cookies with no given path, if the path in the request had a query part. That is means a question mark (?) and characters on the right side of that. I wrote test case 1105 and fixed this problem. Revision 1.1073 - (view) (download) (annotate) - [select for diffs] Fri Sep 25 18:09:38 2009 UTC (5 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1072: +2 -1 lines Diff to previous 1.1072 - Chris Mumford filed bug report #2861587 (http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used the OpenSSL function X509_load_crl_file() wrongly and failed if it would load a CRL file with more than one certificate within. This is now fixed. Revision 1.1072 - (view) (download) (annotate) - [select for diffs] Thu Sep 24 03:40:30 2009 UTC (5 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1071: +0 -1 lines Diff to previous 1.1071 revert HPUX change since it already works fine Revision 1.1071 - (view) (download) (annotate) - [select for diffs] Wed Sep 23 22:16:29 2009 UTC (5 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1070: +1 -0 lines Diff to previous 1.1070 builds thread-safer on HPUX Revision 1.1070 - (view) (download) (annotate) - [select for diffs] Wed Sep 16 20:44:18 2009 UTC (6 months ago) by bagder Branch: MAIN Changes since 1.1069: +2 -1 lines Diff to previous 1.1069 - Sven Anders reported that we introduced a cert verfication flaw for OpenSSL- powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name field in the certficate it had to match and so even if non-DNS and non-IP entry was present it caused the verification to fail. Revision 1.1069 - (view) (download) (annotate) - [select for diffs] Thu Sep 10 21:06:50 2009 UTC (6 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1068: +3 -1 lines Diff to previous 1.1068 - Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epoch start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0 which internally then is treated as a session cookie. That particular date is now made to get the value of 1. Revision 1.1068 - (view) (download) (annotate) - [select for diffs] Wed Sep 2 21:05:47 2009 UTC (6 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1067: +1 -1 lines Diff to previous 1.1067 - Daniel Johnson founded a flaw in the code convering sftp-errors to libcurl errors. Revision 1.1067 - (view) (download) (annotate) - [select for diffs] Tue Sep 1 14:27:01 2009 UTC (6 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1066: +1 -1 lines Diff to previous 1.1066 - Peter Sylvester made a debug featuer for Curl_resolv() that now will force libcurl to resolve 'localhost' whatever name you use in the URL *if* you set the --interface option to (exactly) "LocalHost". This will enable us to write tests for custom hosts names but still use a local host server. Revision 1.1066 - (view) (download) (annotate) - [select for diffs] Tue Sep 1 06:53:02 2009 UTC (6 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1065: +3 -1 lines Diff to previous 1.1065 - configure now tries to use pkg-config for a number of sub-dependencies even when cross-compiling. The key to success is then you properly setup PKG_CONFIG_PATH before invoking configure. I also improved how NSS is detected by trying nss-config if pkg-config isn't present, and as a last resort just use the lib name and force the user to setup the LIBS/LDFLAGS/CFLAGS etc properly. The previous last resort would add a range of various libs that would almost never be quite correct. Revision 1.1065 - (view) (download) (annotate) - [select for diffs] Mon Aug 31 20:49:30 2009 UTC (6 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1064: +4 -0 lines Diff to previous 1.1064 - When using the multi interface with FTP and you asked for NOBODY, you did no QUOTE commands and the request used the same path as the connection had already changed to, it would decide that no commands would be necessary for the "DO" action and that was not handled properly but libcurl would instead hang. Revision 1.1064 - (view) (download) (annotate) - [select for diffs] Mon Aug 24 11:38:59 2009 UTC (6 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1063: +1 -0 lines Diff to previous 1.1063 - Marc de Bruin pointed out that configure --with-gnutls=PATH didn't work properly and provided a fix. http://curl.haxx.se/bug/view.cgi?id=2843008 Revision 1.1063 - (view) (download) (annotate) - [select for diffs] Mon Aug 24 10:57:17 2009 UTC (6 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1062: +4 -2 lines Diff to previous 1.1062 - Eric Wong introduced support for the new option -T. (dot) that makes curl read stdin in a non-blocking fashion. This also brings back -T- (minus) to the previous blocking behavior since it could break stuff for people at times. Revision 1.1062 - (view) (download) (annotate) - [select for diffs] Fri Aug 21 12:01:36 2009 UTC (6 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1061: +2 -1 lines Diff to previous 1.1061 - Andre Guibert de Bruet pointed out a missing return code check for a strdup() that could lead to segfault if it returned NULL. I extended his suggest patch to now have Curl_retry_request() return a regular return code and better check that. Revision 1.1061 - (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.1060: +5 -1 lines Diff to previous 1.1060 - 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.1060 - (view) (download) (annotate) - [select for diffs] Thu Aug 13 08:51:45 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1059: +2 -2 lines Diff to previous 1.1059 mention yesterday's changes Revision 1.1059 - (view) (download) (annotate) - [select for diffs] Wed Aug 12 11:24:52 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1058: +6 -43 lines Diff to previous 1.1058 start over fresh again towards 7.19.7 Revision 1.1058 - (view) (download) (annotate) - [select for diffs] Wed Aug 12 08:19:39 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN CVS Tags: curl-7_19_6 Changes since 1.1057: +3 -1 lines Diff to previous 1.1057 - Carsten Lange reported a bug and provided a patch for TFTP upload and the sending of the TSIZE option. I don't like fixing bugs just hours before a release, but since it was broken and the patch fixes this for him I decided to get it in anyway. Revision 1.1057 - (view) (download) (annotate) - [select for diffs] Tue Aug 11 21:48:58 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1056: +2 -0 lines Diff to previous 1.1056 - Peter Sylvester made the HTTPS test server use specific certificates for each test, so that the test suite can now be used to actually test the verification of cert names etc. This made an error show up in the OpenSSL- specific code where it would attempt to match the CN field even if a subjectAltName exists that doesn't match. This is now fixed and verified in test 311. Revision 1.1056 - (view) (download) (annotate) - [select for diffs] Tue Aug 11 20:57:15 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1055: +1 -1 lines Diff to previous 1.1055 credit Revision 1.1055 - (view) (download) (annotate) - [select for diffs] Sun Aug 2 22:38:15 2009 UTC (7 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1054: +1 -1 lines Diff to previous 1.1054 clarified configure detection of GnuTLS Revision 1.1054 - (view) (download) (annotate) - [select for diffs] Sat Aug 1 22:11:58 2009 UTC (7 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1053: +2 -1 lines Diff to previous 1.1053 - Curt Bogmine reported a problem with SNI enabled on a particular server. We should introduce an option to disable SNI, but as we're in feature freeze now I've addressed the obvious bug here (pointed out by Peter Sylvester): we shouldn't try to enable SNI when SSLv2 or SSLv3 is explicitly selected. Code for OpenSSL and GnuTLS was fixed. NSS doesn't seem to have a particular option for SNI, or are we simply not using it? Revision 1.1053 - (view) (download) (annotate) - [select for diffs] Sat Aug 1 21:56:59 2009 UTC (7 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1052: +2 -1 lines Diff to previous 1.1052 - Scott Cantor posted the bug report #2829955 (http://curl.haxx.se/bug/view.cgi?id=2829955) mentioning the recent SSL cert verification flaw found and exploited by Moxie Marlinspike. The presentation he did at Black Hat is available here: https://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike Apparently at least one CA allowed a subjectAltName or CN that contain a zero byte, and thus clients that assumed they would never have zero bytes were exploited to OK a certificate that didn't actually match the site. Like if the name in the cert was "example.com\0theatualsite.com", libcurl would happily verify that cert for example.com. libcurl now better use the length of the extracted name, not assuming it is zero terminated. Revision 1.1052 - (view) (download) (annotate) - [select for diffs] Sat Aug 1 11:09:02 2009 UTC (7 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1051: +3 -1 lines Diff to previous 1.1051 - Tanguy Fautre pointed out that OpenSSL's function RAND_screen() (present only in some OpenSSL installs - like on Windows) isn't thread-safe and we agreed that moving it to the global_init() function is a decent way to deal with this situation. Revision 1.1051 - (view) (download) (annotate) - [select for diffs] Sat Aug 1 11:02:10 2009 UTC (7 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1050: +2 -1 lines Diff to previous 1.1050 - 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.1050 - (view) (download) (annotate) - [select for diffs] Mon Jul 27 18:36:56 2009 UTC (7 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1049: +3 -1 lines Diff to previous 1.1049 - All the quote options (CURLOPT_QUOTE, CURLOPT_POSTQUOTE and CURLOPT_PREQUOTE) now accept a preceeding asterisk before the command to send when using FTP, as a sign that libcurl shall simply ignore the response from the server instead of treating it as an error. Not treating a 400+ FTP response code as an error means that failed commands will not abort the chain of commands, nor will they cause the connection to get disconnected. Revision 1.1049 - (view) (download) (annotate) - [select for diffs] Sun Jul 26 17:33:36 2009 UTC (7 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1048: +1 -0 lines Diff to previous 1.1048 - Bug report #2825989 (http://curl.haxx.se/bug/view.cgi?id=2825989) pointed out that OpenSSL-powered libcurl didn't support the SHA-2 digest algorithm, and provided the solution too: to use OpenSSL_add_all_algorithms() instead of the older SSLeay_* alternative. OpenSSL_add_all_algorithms was added in OpenSSL 0.9.5 Revision 1.1048 - (view) (download) (annotate) - [select for diffs] Wed Jul 22 22:49:01 2009 UTC (7 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1047: +2 -0 lines Diff to previous 1.1047 - 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.1047 - (view) (download) (annotate) - [select for diffs] Wed Jul 22 09:48:32 2009 UTC (7 months, 4 weeks ago) by mmarek Branch: MAIN Changes since 1.1046: +2 -1 lines Diff to previous 1.1046 - David Binderman found a memory and fd leak in lib/gtls.c:load_file() (https://bugzilla.novell.com/523919). When looking at the code, I found that also the ptr pointer can leak. Revision 1.1046 - (view) (download) (annotate) - [select for diffs] Wed Jul 8 07:00:40 2009 UTC (8 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1045: +3 -1 lines Diff to previous 1.1045 - Constantine Sapuntzakis posted bug report #2813123 (http://curl.haxx.se/bug/view.cgi?id=2813123) and an a patch that fixes the problem: Url A is accessed using auth. Url A redirects to Url B (on a different server0. Url B reuses a persistent connection. Url B has auth, even though it's on a different server. Note: if Url B does not reuse a persistent connection, auth is not sent. Revision 1.1045 - (view) (download) (annotate) - [select for diffs] Mon Jun 29 20:46:50 2009 UTC (8 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1044: +1 -0 lines Diff to previous 1.1044 my CURLINFO_CERTINFO fix Revision 1.1044 - (view) (download) (annotate) - [select for diffs] Mon Jun 29 20:46:01 2009 UTC (8 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1043: +2 -2 lines Diff to previous 1.1043 - Markus Koetter made CURLOPT_FTPPORT (and curl's -P/--ftpport) support a port range if given colon-separated after the host name/address part. Like "192.168.0.1:2000-10000" Revision 1.1043 - (view) (download) (annotate) - [select for diffs] Tue Jun 16 18:03:28 2009 UTC (9 months ago) by bagder Branch: MAIN Changes since 1.1042: +2 -1 lines Diff to previous 1.1042 - Reuven Wachtfogel made curl -o - properly produce a binary output on windows (no newline translations). Use -B/--use-ascii if you rather get the ascii approach. Revision 1.1042 - (view) (download) (annotate) - [select for diffs] Tue Jun 16 13:16:28 2009 UTC (9 months ago) by mmarek Branch: MAIN Changes since 1.1041: +1 -0 lines Diff to previous 1.1041 - 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.1041 - (view) (download) (annotate) - [select for diffs] Mon Jun 15 21:13:00 2009 UTC (9 months ago) by bagder Branch: MAIN Changes since 1.1040: +2 -0 lines Diff to previous 1.1040 - Eric Wong's patch: This allows curl(1) to be used as a client-side tunnel for arbitrary stream protocols by abusing chunked transfer encoding in both the HTTP request and HTTP response. This requires server support for sending a response while a request is still being read, of course. If attempting to read from stdin returns EAGAIN, then we pause our sender. This leaves curl to attempt to read from the socket while reading from stdin (and thus sending) is paused. Revision 1.1040 - (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.1039: +1 -0 lines Diff to previous 1.1039 - 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.1039 - (view) (download) (annotate) - [select for diffs] Tue Jun 9 00:49:34 2009 UTC (9 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1038: +1 -1 lines Diff to previous 1.1038 initialize fread callback pointer to avoid compiler warning Revision 1.1038 - (view) (download) (annotate) - [select for diffs] Mon Jun 8 21:25:17 2009 UTC (9 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1037: +1 -1 lines Diff to previous 1.1037 - Claes Jakobsson provided a patch for libcurl-NSS that fixed a bad refcount issue with client certs that caused issues like segfaults. http://curl.haxx.se/mail/lib-2009-05/0316.html Revision 1.1037 - (view) (download) (annotate) - [select for diffs] Mon Jun 8 21:12:59 2009 UTC (9 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1036: +1 -0 lines Diff to previous 1.1036 - Triggered by bug report #2798852 and the patch in there, I fixed configure to detect gnutls build options with pkg-config only and not libgnutls-config anymore since GnuTLS has stopped distributing that tool. If an explicit path is given to configure, we will instead guess on how to link and use that lib. I did not use the patch from the bug report. Revision 1.1036 - (view) (download) (annotate) - [select for diffs] Mon Jun 8 13:55:18 2009 UTC (9 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1035: +1 -0 lines Diff to previous 1.1035 djgpp build fix Revision 1.1035 - (view) (download) (annotate) - [select for diffs] Sun Jun 7 22:26:44 2009 UTC (9 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1034: +1 -1 lines Diff to previous 1.1034 Bill Hoffman (6 June 2009) - Added some cmake docs and fixed socklen_t in the build. Revision 1.1034 - (view) (download) (annotate) - [select for diffs] Sun Jun 7 22:21:22 2009 UTC (9 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1033: +2 -1 lines Diff to previous 1.1033 - Eric Wong fixed --no-buffer to actually switch off output buffering. Been broken since 7.19.0 Revision 1.1033 - (view) (download) (annotate) - [select for diffs] Fri Jun 5 16:32:37 2009 UTC (9 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1032: +1 -0 lines Diff to previous 1.1032 mention last changes Revision 1.1032 - (view) (download) (annotate) - [select for diffs] Fri Jun 5 06:19:29 2009 UTC (9 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1031: +1 -9 lines Diff to previous 1.1031 remove conflict markers Revision 1.1031 - (view) (download) (annotate) - [select for diffs] Fri Jun 5 06:18:42 2009 UTC (9 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1030: +10 -0 lines Diff to previous 1.1030 - Setting the Content-Length: header from your app when you do a POST or PUT is almost always a VERY BAD IDEA. Yet there are still apps out there doing this, and now recently it triggered a bug/side-effect in libcurl as when libcurl sends a POST or PUT with NTLM, it sends an empty post first when it knows it will just get a 401/407 back. If the app then replaced the Content-Length header, it caused the server to wait for input that libcurl wouldn't send. Aaron Oneal reported this problem in bug report #2799008 http://curl.haxx.se/bug/view.cgi?id=2799008) and helped us verify the fix. Revision 1.1030 - (view) (download) (annotate) - [select for diffs] Thu Jun 4 19:11:11 2009 UTC (9 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1029: +2 -1 lines Diff to previous 1.1029 allow building libcurl for VxWorks Revision 1.1029 - (view) (download) (annotate) - [select for diffs] Mon Jun 1 09:40:09 2009 UTC (9 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1028: +1 -0 lines Diff to previous 1.1028 - Claes Jakobsson fixed the configure script to better find and use NSS without pkg-config. Revision 1.1028 - (view) (download) (annotate) - [select for diffs] Mon Jun 1 09:20:49 2009 UTC (9 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1027: +2 -1 lines Diff to previous 1.1027 credit John E. Malmberg Revision 1.1027 - (view) (download) (annotate) - [select for diffs] Wed May 27 22:01:04 2009 UTC (9 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1026: +2 -1 lines Diff to previous 1.1026 - Claes Jakobsson fixed libcurl-NSS to build fine even without the PK11_CreateGenericObject() function. Revision 1.1026 - (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.1025: +3 -1 lines Diff to previous 1.1025 - 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.1025 - (view) (download) (annotate) - [select for diffs] Wed May 27 21:15:38 2009 UTC (9 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1024: +1 -1 lines Diff to previous 1.1024 - Andre Guibert de Bruet found a call to a OpenSSL function that didn't check for a failure properly. Revision 1.1024 - (view) (download) (annotate) - [select for diffs] Wed May 27 21:11:11 2009 UTC (9 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1023: +2 -1 lines Diff to previous 1.1023 - Frank McGeough provided a small OpenSSL #include fix to make libcurl compile fine with Nokia 5th edition 1.0 SDK for Symbian. Revision 1.1023 - (view) (download) (annotate) - [select for diffs] Mon May 25 12:23:22 2009 UTC (9 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1022: +1 -0 lines Diff to previous 1.1022 - bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed out that the cookie parser would leak memory when it parses cookies that are received with domain, path etc set multiple times in the same header. While such a cookie is questionable, they occur in the wild and libcurl no longer leaks memory for them. I added such a header to test case 8. Revision 1.1022 - (view) (download) (annotate) - [select for diffs] Tue May 19 20:54:31 2009 UTC (10 months ago) by bagder Branch: MAIN Changes since 1.1021: +2 -2 lines Diff to previous 1.1021 - Kamil Dudka brought the patch from the Redhat bug entry https://bugzilla.redhat.com/show_bug.cgi?id=427966 which was libcurl closing a bad file descriptor when closing down the FTP data connection. Caolan McNamara seems to be the original author of it. Revision 1.1021 - (view) (download) (annotate) - [select for diffs] Mon May 18 07:58:00 2009 UTC (10 months ago) by bagder Branch: MAIN Changes since 1.1020: +5 -45 lines Diff to previous 1.1020 start climbing to 7.19.6 Revision 1.1020 - (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.1019: +2 -1 lines Diff to previous 1.1019 - 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.1019 - (view) (download) (annotate) - [select for diffs] Mon May 11 09:55:28 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1018: +3 -1 lines Diff to previous 1.1018 - Balint Szilakszi reported a memory leak when libcurl did gzip decompression of streams that had some parts (legitimately) missing. We now provide and use a proper cleanup function for the content encoding submodule. http://curl.haxx.se/mail/lib-2009-05/0092.html Revision 1.1018 - (view) (download) (annotate) - [select for diffs] Mon May 11 09:13:49 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1017: +2 -1 lines Diff to previous 1.1017 - Kamil Dudka provided a fix for libcurl-NSS reported by Michael Cronenworth at https://bugzilla.redhat.com/show_bug.cgi?id=453612#c12 If an incorrect password is given while loading a private key, libcurl ends up in an infinite loop consuming memory. The bug is critical. Revision 1.1017 - (view) (download) (annotate) - [select for diffs] Mon May 11 08:55:58 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1016: +2 -1 lines Diff to previous 1.1016 - I fixed the problem with doing NTLM, POST and then following a 302 redirect, as reported by Ebenezer Ikonne (on curl-users) and Laurent Rabret (on curl-library). The transfer was mistakenly marked to get more data to send but since it didn't actually have that, it just hung there... Revision 1.1016 - (view) (download) (annotate) - [select for diffs] Fri May 8 11:05:52 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1015: +2 -1 lines Diff to previous 1.1015 Ah, this was committed by mistake as part of my previous commit but it seems to work so I'll let it remain and here's the comment about it! From Lenaic's mail posted to curl-library Date: Fri, 1 May 2009 22:46:14 +0200. Revision 1.1015 - (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.1014: +1 -0 lines Diff to previous 1.1014 - 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.1014 - (view) (download) (annotate) - [select for diffs] Thu May 7 09:31:24 2009 UTC (10 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1013: +3 -1 lines Diff to previous 1.1013 - Man page *roff problems fixed thanks to input from Colin Watson. Problems reported in the Debian package. Revision 1.1013 - (view) (download) (annotate) - [select for diffs] Thu May 7 08:30:43 2009 UTC (10 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1012: +1 -0 lines Diff to previous 1.1012 - Vijay G filed bug report #2723236 (http://curl.haxx.se/bug/view.cgi?id=2723236) identifying a problem with libcurl's TFTP code and its lack of dealing with the OACK packet. Revision 1.1012 - (view) (download) (annotate) - [select for diffs] Mon May 4 22:20:09 2009 UTC (10 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1011: +1 -1 lines Diff to previous 1.1011 - Inspired by Michael Smith's session id fix for OpenSSL, I did the corresponding fix in the GnuTLS code: make sure to store the new session id in case the re-used one is rejected. Revision 1.1011 - (view) (download) (annotate) - [select for diffs] Mon May 4 21:57:14 2009 UTC (10 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1010: +2 -1 lines Diff to previous 1.1010 - Michael Smith posted bug report #2786255 (http://curl.haxx.se/bug/view.cgi?id=2786255) with a patch, identifying how libcurl did not deal with SSL session ids properly if the server rejected a re-use of one. Starting now, it will forget the rejected one and remember the new. This change was for OpenSSL only, it is likely that other SSL lib code needs similar fixes. Revision 1.1010 - (view) (download) (annotate) - [select for diffs] Mon May 4 09:47:02 2009 UTC (10 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1009: +1 -0 lines Diff to previous 1.1009 David McCreedy's "transfer.c fixes for CURL_DO_LINEEND_CONV and non-ASCII platform HTTP requests" patch Revision 1.1009 - (view) (download) (annotate) - [select for diffs] Sat May 2 02:37:34 2009 UTC (10 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1008: +2 -1 lines Diff to previous 1.1008 Use build-time configured curl_socklen_t instead of socklen_t Revision 1.1008 - (view) (download) (annotate) - [select for diffs] Fri May 1 22:55:08 2009 UTC (10 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1007: +2 -1 lines Diff to previous 1.1007 Mention David McCreedy's patches applied today Revision 1.1007 - (view) (download) (annotate) - [select for diffs] Wed Apr 29 11:30:03 2009 UTC (10 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1006: +1 -0 lines Diff to previous 1.1006 - Based on bug report #2723219 (http://curl.haxx.se/bug/view.cgi?id=2723219) I've now made TFTP "connections" not being kept for re-use within libcurl. TFTP is UDP-based so the benefit was really low (if even existing) to begin with so instead of tracking down to fix this problem we instead removed the re-use. I also enabled test case 1099 that I wrote a few days ago to verify that this change fixes the reported problem. Revision 1.1006 - (view) (download) (annotate) - [select for diffs] Tue Apr 28 20:27:06 2009 UTC (10 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1005: +2 -1 lines Diff to previous 1.1005 - Constantine Sapuntzakis filed bug report #2783090 (http://curl.haxx.se/bug/view.cgi?id=2783090) pointing out that on windows we need to grow the SO_SNDBUF buffer somewhat to get really good upload speeds. http://support.microsoft.com/kb/823764 has the details. Friends confirmed that simply adding 32 to CURL_MAX_WRITE_SIZE is enough. Revision 1.1005 - (view) (download) (annotate) - [select for diffs] Tue Apr 28 11:19:10 2009 UTC (10 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1004: +4 -1 lines Diff to previous 1.1004 - Bug report #2709004 (http://curl.haxx.se/bug/view.cgi?id=2709004) by Tim Chen pointed out how curl couldn't upload with resume when reading from a pipe. This ended up with the introduction of a new return code for the CURLOPT_SEEKFUNCTION callback that basically says that the seek failed but that libcurl may try to resolve the situation anyway. In our case this means libcurl will attempt to instead read that much data from the stream instead of seeking and that way curl can now upload with resume when data is read from a stream! Revision 1.1004 - (view) (download) (annotate) - [select for diffs] Sun Apr 26 11:56:23 2009 UTC (10 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1003: +2 -1 lines Diff to previous 1.1003 - Bug report #2779733 (http://curl.haxx.se/bug/view.cgi?id=2779733) by Sven Wegener pointed out that CURLINFO_APPCONNECT_TIME didn't work with the multi interface and provided a patch that fixed the problem! Revision 1.1003 - (view) (download) (annotate) - [select for diffs] Fri Apr 24 21:56:01 2009 UTC (10 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1002: +1 -1 lines Diff to previous 1.1002 - Kamil Dudka fixed another NSS-related leak when client certs were used. Revision 1.1002 - (view) (download) (annotate) - [select for diffs] Thu Apr 23 22:08:36 2009 UTC (10 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1001: +1 -1 lines Diff to previous 1.1001 for is docs remarks Revision 1.1001 - (view) (download) (annotate) - [select for diffs] Mon Apr 20 21:41:17 2009 UTC (11 months ago) by bagder Branch: MAIN Changes since 1.1000: +3 -2 lines Diff to previous 1.1000 - Leanic Lefever reported a crash and did some detailed research on why and how it occurs (http://curl.haxx.se/mail/lib-2009-04/0289.html). The conclusion was that if an error is detected and Curl_done() is called for the connection, ftp_done() could at times return another error code that then would take precedence and that new code confused existing logic that works for the first error code (CURLE_SEND_ERROR) only. Revision 1.1000 - (view) (download) (annotate) - [select for diffs] Mon Apr 20 17:53:06 2009 UTC (11 months ago) by bagder Branch: MAIN Changes since 1.999: +2 -1 lines Diff to previous 1.999 - Gisle Vanem noticed that --libtool would produce bogus strings at times for OBJECTPOINT options. Now we've introduced a new function - my_setopt_str - within the app for setting plain string options to avoid the risk of this mistake happening. Revision 1.999 - (view) (download) (annotate) - [select for diffs] Fri Apr 17 22:36:13 2009 UTC (11 months ago) by bagder Branch: MAIN Changes since 1.998: +3 -1 lines Diff to previous 1.998 mention Pramod Sharma and "persistent connections when doing FTP over a HTTP proxy" Revision 1.998 - (view) (download) (annotate) - [select for diffs] Mon Apr 13 18:01:02 2009 UTC (11 months, 1 week ago) by bagder Branch: MAIN Changes since 1.997: +2 -1 lines Diff to previous 1.997 - 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.997 - (view) (download) (annotate) - [select for diffs] Mon Apr 13 17:42:10 2009 UTC (11 months, 1 week ago) by bagder Branch: MAIN Changes since 1.996: +2 -1 lines Diff to previous 1.996 - Toshio Kuratomi reported a memory leak problem with libcurl+NSS that turned out to be leaking cacerts. Kamil Dudka helped me complete the fix. The issue is found in Redhat's bug tracker: https://bugzilla.redhat.com/show_bug.cgi?id=453612 There are still memory leaks present, but they seem to have other reasons. Revision 1.996 - (view) (download) (annotate) - [select for diffs] Fri Apr 10 02:50:23 2009 UTC (11 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.995: +2 -1 lines Diff to previous 1.995 Daniel Johnson improved the MacOSX-Framework shell script to now perform all the steps required to build a Mac OS X four way fat ppc/i386/ppc64/x86_64 libcurl.framework. Four way fat framework requires OS X 10.5 SDK or later. Revision 1.995 - (view) (download) (annotate) - [select for diffs] Wed Apr 8 01:25:34 2009 UTC (11 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.994: +1 -1 lines Diff to previous 1.994 Sun compilers specific preprocessor block removed from curlbuild.h.dist Revision 1.994 - (view) (download) (annotate) - [select for diffs] Thu Apr 2 18:50:39 2009 UTC (11 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.993: +1 -0 lines Diff to previous 1.993 Fix curl_off_t definition for builds done using Sun compilers and a non-configured libcurl. In this case curl_off_t data type was gated to the off_t data type which depends on the _FILE_OFFSET_BITS. This configuration is exactly the unwanted configuration for our curl_off_t data type which must not depend on such setting. This breaks ABI for libcurl libraries built with Sun compilers which were built without having run the configure script with _FILE_OFFSET_BITS different than 64 and using the ILP32 data model. Revision 1.993 - (view) (download) (annotate) - [select for diffs] Thu Apr 2 04:41:03 2009 UTC (11 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.992: +2 -1 lines Diff to previous 1.992 Added the curl_easy_recv return code fix Revision 1.992 - (view) (download) (annotate) - [select for diffs] Wed Mar 18 12:48:51 2009 UTC (12 months ago) by bagder Branch: MAIN Changes since 1.991: +3 -1 lines Diff to previous 1.991 - Kamil Dudka brought a patch that enables 6 additional crypto algorithms when NSS is used. These ciphers were added in NSS 3.4 and require to be enabled explicitly. Revision 1.991 - (view) (download) (annotate) - [select for diffs] Fri Mar 13 09:58:15 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.990: +2 -0 lines Diff to previous 1.990 - Use libssh2_version() to present the libssh2 version in case the libssh2 library is found to support it. Revision 1.990 - (view) (download) (annotate) - [select for diffs] Thu Mar 12 13:18:25 2009 UTC (12 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.989: +1 -0 lines Diff to previous 1.989 Fix TELNET transfers not being aborted upon write callback failures Revision 1.989 - (view) (download) (annotate) - [select for diffs] Wed Mar 11 04:15:33 2009 UTC (12 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.988: +2 -1 lines Diff to previous 1.988 Added TELNET timeout support for Windows builds Revision 1.988 - (view) (download) (annotate) - [select for diffs] Mon Mar 9 12:21:47 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.987: +2 -1 lines Diff to previous 1.987 - Frank Hempel found out a bug and provided the fix: curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE option. It only enabled the cookie engine in the destination handle if data->cookies is not NULL (where data is the source handle). In case of a newly initialized handle which just had the cookie support enabled by a curl_easy_setopt(handle, CURL_COOKIEFILE, "")-call, handle->cookies was still NULL because the setopt-call only appends the value to data->change.cookielist, hence duplicating this handle would not have the cookie engine switched on. We also concluded that the slist-functionality would be suitable for being put in its own module rather than simply hanging out in lib/sendf.c so I created lib/slist.[ch] for them. Revision 1.987 - (view) (download) (annotate) - [select for diffs] Mon Mar 9 09:24:31 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.986: +1 -1 lines Diff to previous 1.986 - Andreas Farber made the 'buildconf' script check for the presence of m4 scripts to make it detect a bad checkout earlier. People with older checkouts who don't do cvs update with the -d option won't get the new dirs and then will get funny outputs that can be a bit hard to understand and fix. Revision 1.986 - (view) (download) (annotate) - [select for diffs] Sun Mar 8 22:56:55 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.985: +1 -0 lines Diff to previous 1.985 - Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the allocation of the memory BIO was not being properly checked. Revision 1.985 - (view) (download) (annotate) - [select for diffs] Sun Mar 8 22:52:05 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.984: +3 -1 lines Diff to previous 1.984 - Andre Guibert de Bruet fixed the gnutls-using code: There are a few places in the gnutls code where we were checking for negative values for errors, when the man pages state that GNUTLS_E_SUCCESS is returned on success and other values indicate error conditions. Revision 1.984 - (view) (download) (annotate) - [select for diffs] Sun Mar 8 22:42:50 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.983: +1 -1 lines Diff to previous 1.983 - Bill Egert pointed out (http://curl.haxx.se/bug/view.cgi?id=2671602) that curl didn't use sprintf() in a way that is documented to work in POSIX but since we use our own printf() code (from libcurl) that shouldn't be a problem. Nonetheless I modified the code to not rely on such particular features and to not cause further raised eyebrowse with no good reason. Revision 1.983 - (view) (download) (annotate) - [select for diffs] Thu Mar 5 01:23:14 2009 UTC (12 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.982: +2 -2 lines Diff to previous 1.982 Fix NTLM authentication memory leak on SSPI enabled Windows builds Revision 1.982 - (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.981: +3 -2 lines Diff to previous 1.981 - David James brought a patch that make libcurl close (all) dead connections whenever you attempt to open a new connection. Revision 1.981 - (view) (download) (annotate) - [select for diffs] Tue Mar 3 10:41:11 2009 UTC (12 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.980: +1 -1 lines Diff to previous 1.980 15 additional contributor from the 7.19.4 RELEASE-NOTES Revision 1.980 - (view) (download) (annotate) - [select for diffs] Mon Mar 2 23:44:42 2009 UTC (12 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.979: +5 -48 lines Diff to previous 1.979 start over on the journey towards 7.19.5 Revision 1.979 - (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.978: +8 -2 lines Diff to previous 1.978 - 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.978 - (view) (download) (annotate) - [select for diffs] Mon Mar 2 09:03:11 2009 UTC (12 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.977: +1 -1 lines Diff to previous 1.977 the Eiffel binding Revision 1.977 - (view) (download) (annotate) - [select for diffs] Fri Feb 27 12:07:14 2009 UTC (12 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.976: +3 -1 lines Diff to previous 1.976 - Senthil Raja Velu reported a problem when CURLOPT_INTERFACE and CURLOPT_LOCALPORT were used together (the local port bind failed), and Markus Koetter provided the fix! Revision 1.976 - (view) (download) (annotate) - [select for diffs] Wed Feb 25 12:51:17 2009 UTC (12 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.975: +1 -0 lines Diff to previous 1.975 - As Daniel Fandrich figured out, we must do the GnuTLS initing in the curl_global_init() function to properly maintain the performing functions thread-safe. We've previously (28 April 2007) moved the init to a later time just to avoid it to fail very early when libgcrypt dislikes the situation, but that move was bad and the fix should rather be in libgcrypt or elsewhere. Revision 1.975 - (view) (download) (annotate) - [select for diffs] Tue Feb 24 08:30:09 2009 UTC (12 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.974: +2 -1 lines Diff to previous 1.974 - Brian J. Murrell found out that Negotiate proxy authentication didn't work. It happened because the code used the struct for server-based auth all the time for both proxy and server auth which of course was wrong. Revision 1.974 - (view) (download) (annotate) - [select for diffs] Mon Feb 23 18:45:00 2009 UTC (12 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.973: +3 -1 lines Diff to previous 1.973 - After a bug reported by James Cheng I've made curl_easy_getinfo() for CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD return -1 if the sizes aren't know. Previously these returned 0, make it impossible to detect the difference between actually zero and unknown. Revision 1.973 - (view) (download) (annotate) - [select for diffs] Mon Feb 23 12:39:06 2009 UTC (12 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.972: +3 -1 lines Diff to previous 1.972 Daniel Johnson provided a shell script that will perform all the steps needed to build a Mac OS X fat ppc/i386 or ppc64/x86_64 libcurl.framework Revision 1.972 - (view) (download) (annotate) - [select for diffs] Fri Feb 20 12:10:23 2009 UTC (12 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.971: +2 -1 lines Diff to previous 1.971 Mark Incley noticed VS2008 compilation halting when building for Windows 2000 Revision 1.971 - (view) (download) (annotate) - [select for diffs] Fri Feb 20 08:19:19 2009 UTC (12 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.970: +4 -1 lines Diff to previous 1.970 the FTP multi interface bug Revision 1.970 - (view) (download) (annotate) - [select for diffs] Fri Feb 20 08:16:03 2009 UTC (12 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.969: +1 -1 lines Diff to previous 1.969 - Linus Nielsen Feltzing reported and helped me repeat and fix a problem with FTP with the multi interface: when a transfer fails, like when aborted by a write callback, the control connection was wrongly closed and thus not re-used properly. This change is also an attempt to cleanup the code somewhat in this area, as now the FTP code attempts to keep (better) track on pending responses necessary to get read in ftp_done(). Revision 1.969 - (view) (download) (annotate) - [select for diffs] Thu Feb 19 10:36:20 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.968: +2 -1 lines Diff to previous 1.968 - Patrik Thunstrom reported a problem and helped me repeat it. It turned out libcurl did a superfluous 1000ms wait when doing SFTP downloads! We read data with libssh2 while doing the "DO" operation for SFTP and then when we were about to start getting data for the actual file part, the "TRANSFER" part, we waited for socket action (in 1000ms) before doing a libssh2-read. But in this case libssh2 had already read and buffered the data so we ended up always just waiting 1000ms before we get working on the data! Revision 1.968 - (view) (download) (annotate) - [select for diffs] Tue Feb 17 12:18:51 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.967: +3 -1 lines Diff to previous 1.967 - Kamil Dudka made NSS-powered builds compile and run again! Revision 1.967 - (view) (download) (annotate) - [select for diffs] Tue Feb 17 09:07:45 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.966: +2 -0 lines Diff to previous 1.966 - 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.966 - (view) (download) (annotate) - [select for diffs] Sat Feb 14 09:09:10 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.965: +2 -1 lines Diff to previous 1.965 - Andre Guibert de Bruet found and fixed a memory leak in the content encoding code, which could happen on libz errors. Revision 1.965 - (view) (download) (annotate) - [select for diffs] Thu Feb 12 20:48:41 2009 UTC (13 months ago) by danf Branch: MAIN Changes since 1.964: +1 -0 lines Diff to previous 1.964 Added support for Digest and NTLM authentication using GnuTLS. Revision 1.964 - (view) (download) (annotate) - [select for diffs] Thu Feb 12 08:05:23 2009 UTC (13 months, 1 week ago) by bagder Branch: MAIN Changes since 1.963: +1 -1 lines Diff to previous 1.963 credit Jocelyn Jaubert for his bug report and associated work Revision 1.963 - (view) (download) (annotate) - [select for diffs] Wed Feb 11 21:47:15 2009 UTC (13 months, 1 week ago) by bagder Branch: MAIN Changes since 1.962: +1 -0 lines Diff to previous 1.962 - CURLINFO_CONDITION_UNMET was added to allow an application to get to know if the condition in the previous request was unmet. This is typically a time condition set with CURLOPT_TIMECONDITION and was previously not possible to reliably figure out. From bug report #2565128 (http://curl.haxx.se/bug/view.cgi?id=2565128) Revision 1.962 - (view) (download) (annotate) - [select for diffs] Tue Feb 10 13:06:25 2009 UTC (13 months, 1 week ago) by bagder Branch: MAIN Changes since 1.961: +1 -0 lines Diff to previous 1.961 Added docs/libcurl/symbols-in-versions Revision 1.961 - (view) (download) (annotate) - [select for diffs] Tue Feb 3 22:28:41 2009 UTC (13 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.960: +3 -1 lines Diff to previous 1.960 - Hidemoto Nakada provided a small fix that makes it possible to get the CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with CURLOPT_NOBODY set true. Revision 1.960 - (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.959: +3 -1 lines Diff to previous 1.959 - 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.959 - (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.958: +2 -1 lines Diff to previous 1.958 - 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.958 - (view) (download) (annotate) - [select for diffs] Sat Jan 31 20:25:55 2009 UTC (13 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.957: +1 -0 lines Diff to previous 1.957 - When building with c-ares 1.6.1 (not yet released) or later and IPv6 support enabled, we can now take advantage of its brand new AF_UNSPEC support in ares_gethostbyname(). This makes test case 241 finally run fine for me wtih this setup since it now parses the "::1 ip6-localhost" line fine in my /etc/hosts file! Revision 1.957 - (view) (download) (annotate) - [select for diffs] Sat Jan 31 18:38:52 2009 UTC (13 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.956: +2 -1 lines Diff to previous 1.956 - Scott Cantor filed bug report #2550061 (http://curl.haxx.se/bug/view.cgi?id=2550061) mentioning that I failed to properly make sure that the VC9 makefiles got included in the latest release. I've now fixed the release script and verified it so next release will hopefully include them properly! Revision 1.956 - (view) (download) (annotate) - [select for diffs] Wed Jan 28 21:34:07 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.955: +6 -3 lines Diff to previous 1.955 - 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.955 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 22:43:07 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.954: +2 -1 lines Diff to previous 1.954 - 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.954 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 14:37:29 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.953: +2 -2 lines Diff to previous 1.953 wrap line at col 80 Revision 1.953 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 14:36:20 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.952: +4 -1 lines Diff to previous 1.952 - The "-no_ticket" option was introduced in Openssl0.9.8j. It's a flag to disable "rfc4507bis session ticket support". rfc4507bis was later turned into the proper RFC5077 it seems: http://tools.ietf.org/html/rfc5077 The enabled extension concerns the session management. I wonder how often libcurl stops a connection and then resumes a TLS session. also, sending the session data is some overhead. .I suggest that you just use your proposed patch (which explicitly disables TICKET). If someone writes an application with libcurl and openssl who wants to enable the feature, one can do this in the SSL callback. Sharad Gupta brought this to my attention. Peter Sylvester helped me decide on the proper action. Revision 1.952 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 13:19:04 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.951: +2 -1 lines Diff to previous 1.951 - Alexey Borzov filed bug report #2535504 (http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with quoted quotation marks in HTTP Digest headers didn't work. I've now added test case 1095 that verifies my fix. Revision 1.951 - (view) (download) (annotate) - [select for diffs] Sun Jan 25 23:26:29 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.950: +4 -4 lines Diff to previous 1.950 - 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.950 - (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.949: +1 -0 lines Diff to previous 1.949 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.949 - (view) (download) (annotate) - [select for diffs] Tue Jan 20 06:24:26 2009 UTC (13 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.948: +2 -2 lines Diff to previous 1.948 - Lisa Xu pointed out that the ssh.obj file was missing from the lib/Makefile.vc6 file (and thus from the vc8 and vc9 ones too). Revision 1.948 - (view) (download) (annotate) - [select for diffs] Mon Jan 19 10:25:47 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.947: +1 -1 lines Diff to previous 1.947 700 friendly contributors after the new ones in 7.19.3 were added Revision 1.947 - (view) (download) (annotate) - [select for diffs] Mon Jan 19 10:11:25 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.946: +5 -45 lines Diff to previous 1.946 start over on our journey towards 7.19.4... Revision 1.946 - (view) (download) (annotate) - [select for diffs] Fri Jan 16 08:36:40 2009 UTC (14 months ago) by bagder Branch: MAIN CVS Tags: curl-7_19_3 Changes since 1.945: +2 -1 lines Diff to previous 1.945 - Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both 32 bit and 64 bit. Revision 1.945 - (view) (download) (annotate) - [select for diffs] Thu Jan 15 08:32:58 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.944: +1 -1 lines Diff to previous 1.944 - Tim Ansell fixed a compiler warning in lib/cookie.c Revision 1.944 - (view) (download) (annotate) - [select for diffs] Tue Jan 13 23:24:06 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.943: +3 -1 lines Diff to previous 1.943 Grant Erickson fixed timeouts for TFTP Revision 1.943 - (view) (download) (annotate) - [select for diffs] Tue Jan 13 22:21:14 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.942: +2 -1 lines Diff to previous 1.942 - Michael Wallner fixed a NULL pointer deref when calling curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no cookies data. Revision 1.942 - (view) (download) (annotate) - [select for diffs] Tue Jan 13 22:05:48 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.941: +2 -1 lines Diff to previous 1.941 Stefan Teleman's curlbuild.h fix for SunPro compilers Revision 1.941 - (view) (download) (annotate) - [select for diffs] Sun Jan 11 23:47:01 2009 UTC (14 months, 1 week ago) by bagder Branch: MAIN Changes since 1.940: +2 -2 lines Diff to previous 1.940 changed the wording to possibly make some sense Revision 1.940 - (view) (download) (annotate) - [select for diffs] Sun Jan 11 23:41:50 2009 UTC (14 months, 1 week ago) by bagder Branch: MAIN Changes since 1.939: +2 -1 lines Diff to previous 1.939 - Based on bug report #2498665 (http://curl.haxx.se/bug/view.cgi?id=2498665) by Daniel Black, I've now added magic to the configure script that makes it use pkg-config to detect gnutls details as well if the existing method (using libgnutls-config) fails. While doing this, I cleaned up and unified the pkg-config usage when detecting openssl and nss as well. Revision 1.939 - (view) (download) (annotate) - [select for diffs] Sun Jan 11 22:05:38 2009 UTC (14 months, 1 week ago) by bagder Branch: MAIN Changes since 1.938: +1 -1 lines Diff to previous 1.938 credit Karl Moerder properly Revision 1.938 - (view) (download) (annotate) - [select for diffs] Sun Jan 11 13:34:05 2009 UTC (14 months, 1 week ago) by bagder Branch: MAIN Changes since 1.937: +1 -0 lines Diff to previous 1.937 - Karl M brought the patch that creates vc9 Makefiles, and I made 'maketgz' now use the actual makefile targets to do the VC8 and VC9 makefiles. Revision 1.937 - (view) (download) (annotate) - [select for diffs] Sat Jan 10 22:10:57 2009 UTC (14 months, 1 week ago) by bagder Branch: MAIN Changes since 1.936: +3 -1 lines Diff to previous 1.936 - Emil Romanus fixed: When using the multi interface over HTTP and the server returns a Location header, the running easy handle will get stuck in the CURLM_STATE_PERFORM state, leaving the external event loop stuck waiting for data from the ingoing socket (when using the curl_multi_socket_action stuff). While this bug was pretty hard to find, it seems to require only a one-line fix. The break statement on line 1374 in multi.c caused the function to skip the call to multistate(). How to reproduce this bug? Well, that's another question. evhiperfifo.c in the examples directory chokes on this bug only _sometimes_, probably depending on how fast the URLs are added. One way of testing the bug out is writing to hiper.fifo from more than one source at the same time. Revision 1.936 - (view) (download) (annotate) - [select for diffs] Thu Jan 8 00:31:49 2009 UTC (14 months, 1 week ago) by danf Branch: MAIN Changes since 1.935: +1 -0 lines Diff to previous 1.935 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.935 - (view) (download) (annotate) - [select for diffs] Wed Jan 7 14:10:35 2009 UTC (14 months, 1 week ago) by bagder Branch: MAIN Changes since 1.934: +2 -1 lines Diff to previous 1.934 - Rob Crittenden did once again provide an NSS update: I have to jump through a few hoops now with the NSS library initialization since another part of an application may have already initialized NSS by the time Curl gets invoked. This patch is more careful to only shutdown the NSS library if Curl did the initialization. It also adds in a bit of code to set the default ciphers if the app that call NSS_Init* did not call NSS_SetDomesticPolicy() or set specific ciphers. One might argue that this lets other application developers get lazy and/or they aren't using the NSS API correctly, and you'd be right. But still, this will avoid terribly difficult-to-trace crashes and is generally helpful. Revision 1.934 - (view) (download) (annotate) - [select for diffs] Wed Dec 31 20:36:08 2008 UTC (14 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.933: +1 -1 lines Diff to previous 1.933 credit Bas Revision 1.933 - (view) (download) (annotate) - [select for diffs] Mon Dec 29 22:25:50 2008 UTC (14 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.932: +2 -1 lines Diff to previous 1.932 - 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.932 - (view) (download) (annotate) - [select for diffs] Sun Dec 28 22:00:36 2008 UTC (14 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.931: +2 -1 lines Diff to previous 1.931 - Peter Korsgaard fixed building libcurl with "configure --with-ssl --disable-verbose". Revision 1.931 - (view) (download) (annotate) - [select for diffs] Sat Dec 27 23:25:31 2008 UTC (14 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.930: +2 -2 lines Diff to previous 1.930 libssh2 0.19 became 1.0 instead Revision 1.930 - (view) (download) (annotate) - [select for diffs] Mon Dec 22 13:12:36 2008 UTC (14 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.929: +1 -0 lines Diff to previous 1.929 - Given a recent enough libssh2, libcurl can now seek/resume with SFTP even on file indexes beyond 2 or 4GB. Revision 1.929 - (view) (download) (annotate) - [select for diffs] Mon Dec 22 13:07:14 2008 UTC (14 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.928: +2 -1 lines Diff to previous 1.928 - Anthony Bryan provided a set of patches that cleaned up manual language, corrected spellings and more. Revision 1.928 - (view) (download) (annotate) - [select for diffs] Sat Dec 20 22:03:22 2008 UTC (14 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.927: +1 -0 lines Diff to previous 1.927 - Igor Novoseltsev fixed a bad situation for the multi_socket() API when doing pipelining, as libcurl could then easily get confused and A) work on the handle that was not "first in queue" on a pipeline, or even B) tell the app to REMOVE a socket while it was in use by a second handle in a pipeline. Both errors caused hanging or stalling applications. Revision 1.927 - (view) (download) (annotate) - [select for diffs] Fri Dec 19 22:58:22 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.926: +2 -0 lines Diff to previous 1.926 - curl_multi_timeout() could return a timeout value of 0 even though nothing was actually ready to get done, as the internal time resolution is higher than the returned millisecond timer. Therefore it could cause applications running on fast processors to do short bursts of busy-loops. curl_multi_timeout() will now only return 0 if the timeout is actually alreay triggered. Revision 1.926 - (view) (download) (annotate) - [select for diffs] Fri Dec 19 21:14:52 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.925: +3 -1 lines Diff to previous 1.925 - 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.925 - (view) (download) (annotate) - [select for diffs] Wed Dec 17 12:32:41 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.924: +1 -0 lines Diff to previous 1.924 - SCP and SFTP with the multi interface had the same flaw: the 'DONE' operation didn't complete properly if the EAGAIN equivalent was returned but libcurl would simply continue with a half-completed close operation performed. This ruined persistent connection re-use and cause some SSH-protocol errors in general. The correction is unfortunately adding a blocking function - doing it entirely non-blocking should be considered for a better fix. Revision 1.924 - (view) (download) (annotate) - [select for diffs] Mon Dec 15 23:04:51 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.923: +1 -0 lines Diff to previous 1.923 - libssh2_sftp_last_error() was wrongly used at some places in libcurl which made libcurl sometimes not properly abort problematic SFTP transfers. Revision 1.923 - (view) (download) (annotate) - [select for diffs] Fri Dec 12 08:36:57 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.922: +1 -1 lines Diff to previous 1.922 credit Mark Karpeles for his report and work Revision 1.922 - (view) (download) (annotate) - [select for diffs] Fri Dec 12 03:24:59 2008 UTC (15 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.921: +2 -1 lines Diff to previous 1.921 Patrick Monnerat fixed a build regression, introduced in 7.19.2, affecting OS/400 compilations with IPv6 enabled. Revision 1.921 - (view) (download) (annotate) - [select for diffs] Thu Dec 11 23:52:56 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.920: +1 -0 lines Diff to previous 1.920 - Bug report #2416182 titled "crash in ConnectionExists when using duphandle+curl_mutli" (http://curl.haxx.se/bug/view.cgi?id=2416182) showed that curl_easy_duphandle() wrongly also copied the pointer to the connection cache, which was plain wrong and caused a segfault if the handle would be used in a different multi handle than the handle it was duplicated from. Revision 1.920 - (view) (download) (annotate) - [select for diffs] Thu Dec 11 22:22:46 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.919: +2 -1 lines Diff to previous 1.919 - 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.919 - (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.918: +1 -1 lines Diff to previous 1.918 - 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.918 - (view) (download) (annotate) - [select for diffs] Tue Dec 9 15:02:37 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.917: +2 -1 lines Diff to previous 1.917 - Ken Hirsch simplified how libcurl does FTPS: now it doesn't assume any particular state for the control connection like it did before for implicit FTPS (libcurl assumed such control connections to be encrypted while some FTPS servers such as FileZilla assumes such connections to be clear mode). Use the CURLOPT_USE_SSL option to set your desired level. Revision 1.917 - (view) (download) (annotate) - [select for diffs] Mon Dec 8 20:20:51 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.916: +3 -1 lines Diff to previous 1.916 - Fred Machado posted about a weird FTP problem on the curl-users list and when researching it, it turned out he got a 550 response back from a SIZE command and then I fell over the text in RFC3659 that says: The presence of the 550 error response to a SIZE command MUST NOT be taken by the client as an indication that the file cannot be transferred in the current MODE and TYPE. In other words: the change I did on September 30th 2008 and that has been included in the last two releases were a regression and a bad idea. We MUST NOT take a 550 response from SIZE as a hint that the file doesn't exist. Revision 1.916 - (view) (download) (annotate) - [select for diffs] Mon Dec 8 13:52:20 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.915: +1 -0 lines Diff to previous 1.915 - Christian Krause filed bug #2221237 (http://curl.haxx.se/bug/view.cgi?id=2221237) that identified an infinite loop during GSS authentication given some specific conditions. With his patience and great feedback I managed to narrow down the problem and eventually fix it although I can't test any of this myself! Revision 1.915 - (view) (download) (annotate) - [select for diffs] Wed Dec 3 15:21:02 2008 UTC (15 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.914: +2 -1 lines Diff to previous 1.914 - 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.914 - (view) (download) (annotate) - [select for diffs] Wed Dec 3 15:08:09 2008 UTC (15 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.913: +2 -1 lines Diff to previous 1.913 - Pawel Kierski pointed out a mistake in the cookie code that could lead to a bad fclose() after a fatal error had occured. (http://curl.haxx.se/bug/view.cgi?id=2382219) Revision 1.913 - (view) (download) (annotate) - [select for diffs] Mon Nov 24 13:59:51 2008 UTC (15 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.912: +2 -5 lines Diff to previous 1.912 - Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19 function when built to support SCP and SFTP that helps the library to know in which direction a particular libssh2 operation would return EAGAIN so that libcurl knows what socket conditions to wait for before trying the function call again. Previously (and still when using libssh2 0.18 or earlier), libcurl will busy-loop in this situation when the easy interface is used! Revision 1.912 - (view) (download) (annotate) - [select for diffs] Wed Nov 19 22:00:14 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.911: +2 -1 lines Diff to previous 1.911 - I removed the default use of "Pragma: no-cache" from libcurl when a proxy is used. It has been used since forever but it was never a good idea to use unless explicitly asked for. Revision 1.911 - (view) (download) (annotate) - [select for diffs] Wed Nov 19 14:22:01 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.910: +1 -0 lines Diff to previous 1.910 - Christian Krause reported and fixed a memory leak that would occur with HTTP GSS/kerberos authentication (http://curl.haxx.se/bug/view.cgi?id=2284386) Revision 1.910 - (view) (download) (annotate) - [select for diffs] Wed Nov 19 10:15:19 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.909: +4 -1 lines Diff to previous 1.909 - 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.909 - (view) (download) (annotate) - [select for diffs] Sun Nov 16 12:42:53 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.908: +2 -1 lines Diff to previous 1.908 Christian Krause fixed a build failure when building with gss support enabled and FTP disabled. Revision 1.908 - (view) (download) (annotate) - [select for diffs] Sat Nov 15 23:47:01 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.907: +4 -2 lines Diff to previous 1.907 my recent changes Revision 1.907 - (view) (download) (annotate) - [select for diffs] Thu Nov 13 13:24:00 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.906: +5 -9 lines Diff to previous 1.906 and we are now on the 7.19.3 road Revision 1.906 - (view) (download) (annotate) - [select for diffs] Thu Nov 13 12:42:20 2008 UTC (16 months ago) by bagder Branch: MAIN CVS Tags: curl-7_19_2 Changes since 1.905: +2 -1 lines Diff to previous 1.905 7.19.2 coming up Revision 1.905 - (view) (download) (annotate) - [select for diffs] Tue Nov 11 22:19:27 2008 UTC (16 months, 1 week ago) by bagder Branch: MAIN Changes since 1.904: +3 -1 lines Diff to previous 1.904 - Rainer Canavan filed bug #2255627 (http://curl.haxx.se/bug/view.cgi?id=2255627) which pointed out that a program using libcurl's multi interface to download a HTTPS page with a libcurl built powered by OpenSSL, would easily get silly and instead hand over SSL details as data instead of the actual HTTP headers and body. This happened because libcurl would consider the connection handshake done too early. This problem was introduced at September 22nd 2008 with my fix of the bug #2107377 The correct fix is now instead done within the GnuTLS-handling code, as both the OpenSSL and the NSS code already deal with this situation in similar fashion. I added test case 560 in an attempt to verify this fix, but unfortunately it didn't trigger it even before this fix! Revision 1.904 - (view) (download) (annotate) - [select for diffs] Tue Nov 11 01:12:18 2008 UTC (16 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.903: +2 -2 lines Diff to previous 1.903 Related with bug #2230535 (http://curl.haxx.se/bug/view.cgi?id=2230535) Daniel Fandrich noticed that curl_addrinfo was also missing in the build process of other four non-configure platforms. Added now. Revision 1.903 - (view) (download) (annotate) - [select for diffs] Fri Nov 7 18:33:20 2008 UTC (16 months, 1 week ago) by danf Branch: MAIN Changes since 1.902: +2 -1 lines Diff to previous 1.902 The getifaddrs() version of Curl_if2ip() crashed when used on a Linux system with a TEQL load-balancing device configured, which doesn't have an address. Thanks to Adam Sampson for spotting this (bug #2234923). Revision 1.902 - (view) (download) (annotate) - [select for diffs] Fri Nov 7 01:42:35 2008 UTC (16 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.901: +1 -1 lines Diff to previous 1.901 give credit where credit is due Revision 1.901 - (view) (download) (annotate) - [select for diffs] Thu Nov 6 19:11:46 2008 UTC (16 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.900: +1 -1 lines Diff to previous 1.900 Bug #2230535 (http://curl.haxx.se/bug/view.cgi?id=2230535) pointed out a problem with MSVC 6 makefile that caused a build failure. It was noted that the curl_addrinfo.obj reference was missing. I took the opportunity to sort the list in which this was missing. Revision 1.900 - (view) (download) (annotate) - [select for diffs] Wed Nov 5 12:17:31 2008 UTC (16 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.899: +4 -40 lines Diff to previous 1.899 and we're back on square one working on the next release... Revision 1.899 - (view) (download) (annotate) - [select for diffs] Tue Nov 4 22:36:50 2008 UTC (16 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_1 Changes since 1.898: +1 -1 lines Diff to previous 1.898 oops, use the correct option name Revision 1.898 - (view) (download) (annotate) - [select for diffs] Tue Nov 4 09:57:36 2008 UTC (16 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.897: +2 -1 lines Diff to previous 1.897 CURLINFO_FILETIME now works for file:// transfers as well Revision 1.897 - (view) (download) (annotate) - [select for diffs] Mon Nov 3 17:39:40 2008 UTC (16 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.896: +1 -0 lines Diff to previous 1.896 Sync up with reality Revision 1.896 - (view) (download) (annotate) - [select for diffs] Sat Nov 1 23:49:54 2008 UTC (16 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.895: +4 -1 lines Diff to previous 1.895 Daniel Johnson reported and fixed ipv4 name resolves when libcurl is built with ipv6-enabled c-ares Revision 1.895 - (view) (download) (annotate) - [select for diffs] Wed Oct 29 19:06:48 2008 UTC (16 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.894: +2 -1 lines Diff to previous 1.894 Fixed a bug that caused a few bytes of garbage to be sent after a curl_easy_pause() during a chunky upload. Reported by Steve Roskowski. Revision 1.894 - (view) (download) (annotate) - [select for diffs] Wed Oct 22 15:10:56 2008 UTC (16 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.893: +4 -3 lines Diff to previous 1.893 fixed language, added the Solaris _REENTRANT thing Revision 1.893 - (view) (download) (annotate) - [select for diffs] Thu Oct 16 20:21:22 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.892: +2 -1 lines Diff to previous 1.892 - 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.892 - (view) (download) (annotate) - [select for diffs] Wed Oct 15 21:43:48 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.891: +2 -1 lines Diff to previous 1.891 - 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.891 - (view) (download) (annotate) - [select for diffs] Wed Oct 15 07:31:31 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.890: +1 -1 lines Diff to previous 1.890 credit to John Wilkinson Revision 1.890 - (view) (download) (annotate) - [select for diffs] Thu Oct 9 19:23:50 2008 UTC (17 months, 1 week ago) by danf Branch: MAIN Changes since 1.889: +1 -0 lines Diff to previous 1.889 Fixed the --interface option to work with IPv6 connections on glibc systems supporting getifaddrs(). Also fixed a problem where an IPv6 address could be chosen instead of an IPv4 one for --interface when it involved a name lookup. Revision 1.889 - (view) (download) (annotate) - [select for diffs] Wed Oct 8 22:01:23 2008 UTC (17 months, 1 week ago) by bagder Branch: MAIN Changes since 1.888: +1 -0 lines Diff to previous 1.888 - Bug #2152270 (http://curl.haxx.se/bug/view.cgi?id=2152270) identified and fixed a CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing: Any subsequent transfer with a redirect leaks memory, eventually crashing the process potentially. Any subsequent transfer WITHOUT a redirect causes the most recent redirect that DID occur on some previous transfer to still be reported. Revision 1.888 - (view) (download) (annotate) - [select for diffs] Wed Oct 8 21:42:29 2008 UTC (17 months, 1 week ago) by bagder Branch: MAIN Changes since 1.887: +1 -0 lines Diff to previous 1.887 - Igor filed bug #2111613 (http://curl.haxx.se/bug/view.cgi?id=2111613) that eventually identified a flaw in how the multi_socket interface in some cases missed to call the timeout callback when easy interfaces are removed and added within the same millisecond. Revision 1.887 - (view) (download) (annotate) - [select for diffs] Wed Oct 8 10:39:43 2008 UTC (17 months, 1 week ago) by bagder Branch: MAIN Changes since 1.886: +4 -2 lines Diff to previous 1.886 - 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.886 - (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.885: +1 -0 lines Diff to previous 1.885 - 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.885 - (view) (download) (annotate) - [select for diffs] Tue Oct 7 18:14:11 2008 UTC (17 months, 1 week ago) by bagder Branch: MAIN Changes since 1.884: +1 -1 lines Diff to previous 1.884 oops, counted one of them twice! Revision 1.884 - (view) (download) (annotate) - [select for diffs] Tue Oct 7 18:10:16 2008 UTC (17 months, 1 week ago) by bagder Branch: MAIN Changes since 1.883: +1 -1 lines Diff to previous 1.883 two more bindings Revision 1.883 - (view) (download) (annotate) - [select for diffs] Tue Sep 30 09:51:58 2008 UTC (17 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.882: +1 -0 lines Diff to previous 1.882 - The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZE gets a 550 response back for the cases where a download (or NOBODY) is wanted. It still allows a 550 as response if the SIZE is used as part of an upload process (like if resuming an upload is requested and the file isn't there before the upload). I also modified the FTP test server and a few test cases accordingly to match this modified behavior. Revision 1.882 - (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.881: +2 -1 lines Diff to previous 1.881 - 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.881 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 13:21:21 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.880: +2 -1 lines Diff to previous 1.880 - Ian Lynagh provided a patch that now makes CURLOPT_RANGE work fine for SFTP downloads! Revision 1.880 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 12:36:47 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.879: +1 -1 lines Diff to previous 1.879 credit Maxim Ivanov Revision 1.879 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 12:22:10 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.878: +1 -0 lines Diff to previous 1.878 - Bug #2107803 (http://curl.haxx.se/bug/view.cgi?id=2107803) "no CURLINFO_REDIRECT_URL in multi mode" also contained a patch that fixed the problem. Revision 1.878 - (view) (download) (annotate) - [select for diffs] Thu Sep 25 22:35:58 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.877: +1 -1 lines Diff to previous 1.877 give proper credit! Revision 1.877 - (view) (download) (annotate) - [select for diffs] Thu Sep 25 14:09:22 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.876: +1 -0 lines Diff to previous 1.876 - Fixed the HTTP Digest auth code to not behave badly when getting a blank realm with realm="". http://curl.haxx.se/bug/view.cgi?id=2126435 Revision 1.876 - (view) (download) (annotate) - [select for diffs] Tue Sep 23 11:00:01 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.875: +3 -1 lines Diff to previous 1.875 - Introducing Jamie Lokier's function for date to epoch conversion used in the date parser function. This makes our function less dependent on system- provided functions and instead we do all the magic ourselves. We also no longer depend on the TZ environment variable. Revision 1.875 - (view) (download) (annotate) - [select for diffs] Tue Sep 23 10:27:04 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.874: +2 -1 lines Diff to previous 1.874 - Rob Crittenden brought a patch to "add some locking for thread-safety to NSS implementation". Revision 1.874 - (view) (download) (annotate) - [select for diffs] Mon Sep 22 23:12:02 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.873: +3 -1 lines Diff to previous 1.873 - Made the SOCKS code use the new Curl_read_plain() function to fix the bug Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html - recv() errors other than those equal to EAGAIN now cause proper CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now disabled it until we can figure out another way to exercise that logic. Revision 1.873 - (view) (download) (annotate) - [select for diffs] Mon Sep 22 20:42:13 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.872: +2 -1 lines Diff to previous 1.872 - Michael Goffioul filed bug report #2107377 "Problem with mutli + GnuTLS + proxy" (http://curl.haxx.se/bug/view.cgi?id=2107377) that showed how a multi interface using program didn't work when built with GnuTLS and a CONNECT request was done over a proxy (basically test 502 over a proxy to a HTTPS site). It turned out the ssl connect function would get called twice which caused the second call to fail. Revision 1.872 - (view) (download) (annotate) - [select for diffs] Sat Sep 20 12:44:44 2008 UTC (17 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.871: +2 -1 lines Diff to previous 1.871 fix regression in configure script which affected OpenSSL builds on MSYS Revision 1.871 - (view) (download) (annotate) - [select for diffs] Tue Sep 9 18:45:52 2008 UTC (18 months, 1 week ago) by danf Branch: MAIN Changes since 1.870: +2 -1 lines Diff to previous 1.870 Mike Revi discovered some swapped speed switches documented in the curl man page. Revision 1.870 - (view) (download) (annotate) - [select for diffs] Mon Sep 8 12:15:09 2008 UTC (18 months, 1 week ago) by bagder Branch: MAIN Changes since 1.869: +2 -1 lines Diff to previous 1.869 Dmitry Kurochkin fixed pipelining over proxy using the multi interface Revision 1.869 - (view) (download) (annotate) - [select for diffs] Mon Sep 8 11:36:19 2008 UTC (18 months, 1 week ago) by bagder Branch: MAIN Changes since 1.868: +2 -1 lines Diff to previous 1.868 - Stefan Krause pointed out that libcurl would wrongly send away cookies to sites in cases where the cookie clearly has a very old expiry date. The condition was simply that libcurl's date parser would fail to convert the date and it would then count as a (timed-based) match. Starting now, a missed date due to an unsupported date format or date range will now cause the cookie to not match. Revision 1.868 - (view) (download) (annotate) - [select for diffs] Fri Sep 5 17:59:01 2008 UTC (18 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.867: +1 -0 lines Diff to previous 1.867 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.867 - (view) (download) (annotate) - [select for diffs] Fri Sep 5 16:13:20 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.866: +3 -2 lines Diff to previous 1.866 - 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.866 - (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.865: +4 -2 lines Diff to previous 1.865 - 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.865 - (view) (download) (annotate) - [select for diffs] Fri Sep 5 09:37:37 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.864: +2 -1 lines Diff to previous 1.864 - Dmitriy Sergeyev pointed out that curl_easy_pause() didn't unpause properly during certain conditions. I also changed this code to use realloc() based on Daniel Fandrich's suggestion. Revision 1.864 - (view) (download) (annotate) - [select for diffs] Fri Sep 5 00:16:35 2008 UTC (18 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.863: +3 -2 lines Diff to previous 1.863 sync with reality Revision 1.863 - (view) (download) (annotate) - [select for diffs] Tue Sep 2 12:07:08 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.862: +2 -2 lines Diff to previous 1.862 - Keith Mok added supported_protocols and supported_features to the pkg-config file for libcurl, and while doing that fix he unified with curl-config.in how the supported protocols and features are extracted and used, so both those tools should now always be synced. Revision 1.862 - (view) (download) (annotate) - [select for diffs] Mon Sep 1 15:29:24 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.861: +1 -1 lines Diff to previous 1.861 an impressive 672 contributors (counter after the 7.19.0 release) Revision 1.861 - (view) (download) (annotate) - [select for diffs] Mon Sep 1 15:26:28 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.860: +5 -62 lines Diff to previous 1.860 clear the way for 7.19.1 work! Revision 1.860 - (view) (download) (annotate) - [select for diffs] Mon Sep 1 14:38:40 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_0 Changes since 1.859: +0 -4 lines Diff to previous 1.859 the web mirror system is dropped Revision 1.859 - (view) (download) (annotate) - [select for diffs] Mon Sep 1 14:27:24 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.858: +3 -0 lines Diff to previous 1.858 mention the curl_off_t changes first Revision 1.858 - (view) (download) (annotate) - [select for diffs] Fri Aug 29 10:47:59 2008 UTC (18 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.857: +1 -0 lines Diff to previous 1.857 - When libcurl was doing a HTTP POST and the server would respond with "Connection: close" and actually close the connection after the response-body, libcurl could still have outstanding data to send and it would not properly notice this and stop sending. This caused weirdness and sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222 Note that there are still reasons to consider libcurl's behavior when getting a >= 400 response code while sending data, as Craig Perras' note "http upload: how to stop on error" specifies: http://curl.haxx.se/mail/archive-2008-08/0138.html Revision 1.857 - (view) (download) (annotate) - [select for diffs] Thu Aug 28 07:37:29 2008 UTC (18 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.856: +1 -0 lines Diff to previous 1.856 - 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.856 - (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.855: +1 -0 lines Diff to previous 1.855 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.855 - (view) (download) (annotate) - [select for diffs] Sat Aug 23 12:11:38 2008 UTC (18 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.854: +1 -0 lines Diff to previous 1.854 - Constantine Sapuntzakis fixed a bug when doing proxy CONNECT with the multi interface, and the proxy would send Connection: close during the authentication phase. http://curl.haxx.se/bug/view.cgi?id=2069047 Revision 1.854 - (view) (download) (annotate) - [select for diffs] Fri Aug 22 22:57:25 2008 UTC (18 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.853: +3 -1 lines Diff to previous 1.853 Fixed a problem when --dump-header - was given with more than one URL, which caused an error when the second header was dumped due to stdout being closed. Added test case 1066 to verify. Also fixed a potential problem where a closed file descriptor might be used for an upload when more than one URL is given. Revision 1.853 - (view) (download) (annotate) - [select for diffs] Fri Aug 22 11:11:33 2008 UTC (18 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.852: +1 -0 lines Diff to previous 1.852 Improved curl_m*printf() integral data type size and signedness handling Revision 1.852 - (view) (download) (annotate) - [select for diffs] Fri Aug 22 07:59:42 2008 UTC (18 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.851: +1 -1 lines Diff to previous 1.851 Jamie Lokier is always helpful and this time around too... Revision 1.851 - (view) (download) (annotate) - [select for diffs] Wed Aug 20 19:29:02 2008 UTC (19 months ago) by bagder Branch: MAIN Changes since 1.850: +1 -0 lines Diff to previous 1.850 - Phil Pellouchoud pointed out that the windows version of libcurl had a memory leak because it never called the OpenSSL function CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a missing define in config-win32.h! Revision 1.850 - (view) (download) (annotate) - [select for diffs] Wed Aug 13 10:57:11 2008 UTC (19 months, 1 week ago) by bagder Branch: MAIN Changes since 1.849: +0 -1 lines Diff to previous 1.849 on second thought, let's remove this number from here since it doesn't really belong among the release numbers anyway Revision 1.849 - (view) (download) (annotate) - [select for diffs] Wed Aug 13 10:55:23 2008 UTC (19 months, 1 week ago) by bagder Branch: MAIN Changes since 1.848: +1 -1 lines Diff to previous 1.848 dead mirrors removed => http://curl.haxx.se/mail/lib-2008-08/0208.html Revision 1.848 - (view) (download) (annotate) - [select for diffs] Wed Aug 13 00:43:46 2008 UTC (19 months, 1 week ago) by danf Branch: MAIN Changes since 1.847: +3 -0 lines Diff to previous 1.847 Added a few user-visible bug fixes Revision 1.847 - (view) (download) (annotate) - [select for diffs] Tue Aug 12 07:21:39 2008 UTC (19 months, 1 week ago) by bagder Branch: MAIN Changes since 1.846: +2 -1 lines Diff to previous 1.846 - Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel _directory_ if that happened to appear in the path! Revision 1.846 - (view) (download) (annotate) - [select for diffs] Tue Aug 12 03:00:25 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.845: +1 -1 lines Diff to previous 1.845 Added macros for minimum-width signed and unsigned curl_off_t integer constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro used internally to provide its functionality is thanks to Lars Nilsson. Revision 1.845 - (view) (download) (annotate) - [select for diffs] Mon Aug 11 20:29:36 2008 UTC (19 months, 1 week ago) by bagder Branch: MAIN Changes since 1.844: +1 -0 lines Diff to previous 1.844 - Constantine Sapuntzakis filed bug report #2042430 (http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows SSPI code is not thread safe". This was due to libcurl using static variables to tell wether to load the necessary SSPI DLL, but now the loading has been moved to the more suitable curl_global_init() call. Revision 1.844 - (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.843: +3 -1 lines Diff to previous 1.843 - 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.843 - (view) (download) (annotate) - [select for diffs] Thu Aug 7 00:29:08 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.842: +1 -0 lines Diff to previous 1.842 Initial support of curlbuild.h and curlrules.h which allows to have a curl_off_t data type no longer gated to off_t. Revision 1.842 - (view) (download) (annotate) - [select for diffs] Mon Aug 4 22:07:51 2008 UTC (19 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.841: +2 -1 lines Diff to previous 1.841 - Yehoshua Hershberg found a problem that would make libcurl re-use a connection with the multi interface even if a previous use of it caused a CURLE_PEER_FAILED_VERIFICATION to get returned. I now make sure that failed SSL connections properly close the connections. Revision 1.841 - (view) (download) (annotate) - [select for diffs] Mon Aug 4 22:00:22 2008 UTC (19 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.840: +2 -1 lines Diff to previous 1.840 - Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 and proved how PUT and POST with a redirect could lead to a "hang" due to the data stream not being rewound properly when it had to in order to get sent properly (again) to the subsequent URL. This is now fixed and these test cases are no longer disabled. Revision 1.840 - (view) (download) (annotate) - [select for diffs] Sun Aug 3 22:20:58 2008 UTC (19 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.839: +1 -0 lines Diff to previous 1.839 - Test case 1041 (added by Daniel Fandrich April 14th) proved a bug where PUT with -C - sent garbage in the Content-Range: header. I fixed this problem by making sure libcurl always sets the size of the _entire_ upload if an app attemps to do resumed uploads since libcurl simply cannot know the size of what is currently at the server end. Test 1041 is no longer disabled. Revision 1.839 - (view) (download) (annotate) - [select for diffs] Sun Aug 3 21:50:56 2008 UTC (19 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.838: +1 -1 lines Diff to previous 1.838 refer to the new option by its real name Revision 1.838 - (view) (download) (annotate) - [select for diffs] Sat Aug 2 01:44:13 2008 UTC (19 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.837: +1 -0 lines Diff to previous 1.837 No longer test availability of the gdi32 library, nor use it for linking, even when we have been doing this since revision 1.47 of configure.ac 4 years and 5 months ago when cross-compiling a Windows target. We actually don't use any function from the Windows GDI (Graphics Device Interface) related with drawing or graphics-related operations. Revision 1.837 - (view) (download) (annotate) - [select for diffs] Fri Aug 1 18:41:14 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.836: +1 -0 lines Diff to previous 1.836 Added support for --append on SFTP uploads. Unfortunately, OpenSSH doesn't support this so it goes untested. Revision 1.836 - (view) (download) (annotate) - [select for diffs] Fri Aug 1 03:17:39 2008 UTC (19 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.835: +1 -0 lines Diff to previous 1.835 Sync up with reality Revision 1.835 - (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.834: +1 -0 lines Diff to previous 1.834 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.834 - (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.833: +2 -1 lines Diff to previous 1.833 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.833 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 21:57:27 2008 UTC (19 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.832: +1 -1 lines Diff to previous 1.832 another option added, bump counter Revision 1.832 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 21:55:26 2008 UTC (19 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.831: +1 -0 lines Diff to previous 1.831 - 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.831 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 21:24:59 2008 UTC (19 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.830: +2 -0 lines Diff to previous 1.830 - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies a true bug in libcurl built with OpenSSL. It made curl_easy_getinfo() more or less always return 0 for CURLINFO_SSL_VERIFYRESULT because the function that would set it to something non-zero would return before the assign in almost all error cases. The internal variable is now set to non-zero from the start of the function only to get cleared later on if things work out fine. Revision 1.830 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 00:09:03 2008 UTC (19 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.829: +1 -0 lines Diff to previous 1.829 Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOS and OS/2. Revision 1.829 - (view) (download) (annotate) - [select for diffs] Sun Jul 27 02:34:27 2008 UTC (19 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.828: +1 -0 lines Diff to previous 1.828 Added feature in runtests.pl to select tests based on key word. Revision 1.828 - (view) (download) (annotate) - [select for diffs] Sat Jul 26 21:15:47 2008 UTC (19 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.827: +2 -1 lines Diff to previous 1.827 - David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two problems, and providing the fix for them: - CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is designed for but paused _receiving_ of data! - libcurl didn't internally set the read counter to zero when this return code was detected, which would potentially lead to junk getting sent to the server. Revision 1.827 - (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.826: +1 -0 lines Diff to previous 1.826 - 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.826 - (view) (download) (annotate) - [select for diffs] Thu Jul 10 18:01:44 2008 UTC (20 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.825: +3 -1 lines Diff to previous 1.825 Peter Lamberg filed bug report #2015126: "poll gives WSAEINVAL when POLLPRI is set in fdset.events" (http://curl.haxx.se/bug/view.cgi?id=2015126) which exactly pinpointed the problem only triggered on Windows Vista, provided reference to docs and also a fix. There is much work behind Peter Lamberg's excellent bug report. Thank You! Revision 1.825 - (view) (download) (annotate) - [select for diffs] Wed Jul 9 18:39:49 2008 UTC (20 months, 1 week ago) by bagder Branch: MAIN Changes since 1.824: +2 -1 lines Diff to previous 1.824 - Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and I edited it slightly. Now you should be able to use IPv6 addresses fine even with libcurl built to use c-ares. Revision 1.824 - (view) (download) (annotate) - [select for diffs] Mon Jul 7 20:37:07 2008 UTC (20 months, 1 week ago) by bagder Branch: MAIN Changes since 1.823: +2 -1 lines Diff to previous 1.823 - Scott Barrett provided a test case for a segfault in the FTP code and the fix for it. It occured when you did a FTP transfer using CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being cleared properly. Scott's test case is now known as test 539 and it verifies the fix. Revision 1.823 - (view) (download) (annotate) - [select for diffs] Thu Jul 3 08:47:53 2008 UTC (20 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.822: +2 -1 lines Diff to previous 1.822 Phil Blundell provided a fix for libcurl's treatment of unexpected 1xx response codes. Previously libcurl would hang on such occurances. I added test case 1033 to verify. Revision 1.822 - (view) (download) (annotate) - [select for diffs] Thu Jul 3 06:56:03 2008 UTC (20 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.821: +1 -0 lines Diff to previous 1.821 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.821 - (view) (download) (annotate) - [select for diffs] Wed Jul 2 03:04:56 2008 UTC (20 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.820: +1 -1 lines Diff to previous 1.820 fallback to gettimeofday when monotonic clock is unavailable at run-time Revision 1.820 - (view) (download) (annotate) - [select for diffs] Tue Jul 1 21:53:47 2008 UTC (20 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.819: +3 -1 lines Diff to previous 1.819 - Rolland Dudemaine provided fixes to get libcurl to build for the INTEGRITY operating system. Revision 1.819 - (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.818: +3 -1 lines Diff to previous 1.818 - 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.818 - (view) (download) (annotate) - [select for diffs] Sun Jun 29 03:19:20 2008 UTC (20 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.817: +2 -1 lines Diff to previous 1.817 John Lightsey filed bug report #1999181: "CLOCK_MONOTONIC always fails on some systems" (http://curl.haxx.se/bug/view.cgi?id=1999181). The problem was that the configure script did not use the _POSIX_MONOTONIC_CLOCK feature test macro when checking monotonic clock availability. This is now fixed and the monotonic clock will not be used unless the feature test macro is defined with a value greater than zero indicating always supported. Revision 1.817 - (view) (download) (annotate) - [select for diffs] Sun Jun 22 20:38:16 2008 UTC (20 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.816: +2 -1 lines Diff to previous 1.816 - Eduard Bloch filed the debian bug report #487567 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that libcurl used Content-Range: instead of Range when doing a range request with --head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to verify. Revision 1.816 - (view) (download) (annotate) - [select for diffs] Fri Jun 20 11:15:54 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.815: +3 -1 lines Diff to previous 1.815 - Phil Pellouchoud found a case where libcurl built with NSS failed to handshake with a SSLv2 server, and it turned out to be because it didn't recognize the cipher named "rc4-md5". In our list that cipher was named plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported that it made things work for him again. Revision 1.815 - (view) (download) (annotate) - [select for diffs] Fri Jun 20 10:43:32 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.814: +2 -1 lines Diff to previous 1.814 - Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxy crashed libcurl. This is now addressed by making sure we use "plain send" internally when doing the socks handshake instead of the Curl_write() function which is designed to use the "target" protocol. That's then SCP or SFTP in this case. I also took the opportunity and cleaned up some ssh- related #ifdefs in the code for readability. Revision 1.814 - (view) (download) (annotate) - [select for diffs] Thu Jun 19 21:32:51 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.813: +2 -1 lines Diff to previous 1.813 - Christopher Palow fixed a curl_multi_socket() issue which previous caused libcurl to not tell the app properly when a socket was closed (when the name resolve done by c-ares is done) and then immediately re-created and put to use again (for the actual connection). Since the closure will make the "watch status" get lost in several event-based systems libcurl will need to tell the app about this close/re-create case. Revision 1.813 - (view) (download) (annotate) - [select for diffs] Thu Jun 19 08:31:22 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.812: +2 -1 lines Diff to previous 1.812 - 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.812 - (view) (download) (annotate) - [select for diffs] Wed Jun 18 22:01:55 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.811: +3 -1 lines Diff to previous 1.811 - Rob Crittenden brought a fix for the NSS layer that makes libcurl no longer always fire up a new connection rather than using the existing one when the multi interface is used. Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=450140 Revision 1.811 - (view) (download) (annotate) - [select for diffs] Fri Jun 13 00:03:16 2008 UTC (21 months, 1 week ago) by danf Branch: MAIN Changes since 1.810: +1 -1 lines Diff to previous 1.810 Fixed curl-config --ca which wasn't being exported by configure. Revision 1.810 - (view) (download) (annotate) - [select for diffs] Sun Jun 8 21:04:46 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.809: +1 -1 lines Diff to previous 1.809 the next release is now called 7.19.0 Revision 1.809 - (view) (download) (annotate) - [select for diffs] Sun Jun 8 20:53:49 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.808: +3 -1 lines Diff to previous 1.808 - curl the tool now deals with its command line options somewhat differently! All boolean options (such as -O, -I, -v etc), both short and long versions, now always switch on/enable the option named. Using the same option multiple times thus make no difference. To switch off one of those options, you need to use the long version of the option and type --no-OPTION. Like to disable verbose mode you use --no-verbose! - Added --remote-name-all to curl, which if used changes the default for all given URLs to be dealt with as if -O is used. So if you want to disable that for a specific URL after --remote-name-all has been used, you muse use -o - or --no-remote-name. Revision 1.808 - (view) (download) (annotate) - [select for diffs] Fri Jun 6 20:52:32 2008 UTC (21 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.807: +3 -2 lines Diff to previous 1.807 - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_ISSUERCERT, for OpenSSL, NSS and GnuTLS-built libcurls. Revision 1.807 - (view) (download) (annotate) - [select for diffs] Fri Jun 6 18:40:21 2008 UTC (21 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.806: +3 -2 lines Diff to previous 1.806 - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_CRLFILE, for OpenSSL, NSS and GnuTLS-built libcurls. Revision 1.806 - (view) (download) (annotate) - [select for diffs] Fri Jun 6 17:33:35 2008 UTC (21 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.805: +2 -2 lines Diff to previous 1.805 - Added CURLINFO_PRIMARY_IP as a new information retrievable with curl_easy_getinfo. It returns a pointer to a string with the most recently used IP address. Modified test case 500 to also verify this feature. The implementing of this feature was sponsored by Lenny Rachitsky at NeuStar. Revision 1.805 - (view) (download) (annotate) - [select for diffs] Wed Jun 4 16:05:48 2008 UTC (21 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.804: +7 -39 lines Diff to previous 1.804 start working on 7.18.3! Revision 1.804 - (view) (download) (annotate) - [select for diffs] Tue Jun 3 18:03:11 2008 UTC (21 months, 2 weeks ago) by danf Branch: MAIN CVS Tags: curl-7_18_2 Changes since 1.803: +1 -0 lines Diff to previous 1.803 Fixed a problem where telnet data would be lost if an EWOULDBLOCK condition were encountered. Revision 1.803 - (view) (download) (annotate) - [select for diffs] Wed May 28 20:56:20 2008 UTC (21 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.802: +2 -1 lines Diff to previous 1.802 - Emil Romanus found a problem and helped me repeat it. It occured when using the curl_multi_socket() API with HTTP pipelining enabled and could lead to the pipeline basically stalling for a very long period of time until it took off again. Revision 1.802 - (view) (download) (annotate) - [select for diffs] Wed May 28 20:31:55 2008 UTC (21 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.801: +2 -1 lines Diff to previous 1.801 - Jeff Weber reported memory leaks with aborted SCP and SFTP transfers and provided excellent repeat recipes. I fixed the cases I managed to reproduce but Jeff still got some (SCP) problems even after these fixes: http://curl.haxx.se/mail/lib-2008-05/0342.html Revision 1.801 - (view) (download) (annotate) - [select for diffs] Mon May 26 20:39:42 2008 UTC (21 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.800: +1 -0 lines Diff to previous 1.800 - Bug report #1973352 (http://curl.haxx.se/bug/view.cgi?id=1973352) identified how the HTTP redirect following code didn't properly follow to a new URL if the new url was but a query string such as "Location: ?moo=foo". Test case 1031 was added to verify this fix. Revision 1.800 - (view) (download) (annotate) - [select for diffs] Mon May 26 15:09:28 2008 UTC (21 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.799: +2 -1 lines Diff to previous 1.799 Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS Revision 1.799 - (view) (download) (annotate) - [select for diffs] Mon May 26 03:10:34 2008 UTC (21 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.798: +2 -1 lines Diff to previous 1.798 David Rosenstrauch reported that header files spnegohelp.h and openssl/objects.h were needed to compile SPNEGO support. Revision 1.798 - (view) (download) (annotate) - [select for diffs] Sat May 24 11:20:11 2008 UTC (21 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.797: +1 -1 lines Diff to previous 1.797 Nikolai Kondrashov for his man page update Revision 1.797 - (view) (download) (annotate) - [select for diffs] Mon May 19 20:58:12 2008 UTC (22 months ago) by bagder Branch: MAIN Changes since 1.796: +1 -0 lines Diff to previous 1.796 - When trying to repeat a multi interface problem I fell over a few multi
interface problems:
o with pipelining disabled, the state should never be set to WAITDO but
rather go straight to DO
o we had multiple states for which the internal function returned no socket
at all to wait for, with the effect that libcurl calls the socket callback
(when curl_multi_socket() is used) with REMOVE prematurely (as it would be
added again within very shortly)
o when in DO and DOING states, the HTTP and HTTPS protocol handler functions
didn't return that the socket should be waited for writing, but instead it
was treated as if no socket was needing monitoring so again REMOVE was
called prematurely.
Revision 1.796 - (view) (download) (annotate) - [select for diffs] Mon May 12 21:43:27 2008 UTC (22 months, 1 week ago) by bagder Branch: MAIN Changes since 1.795: +3 -2 lines Diff to previous 1.795 - Introducing curl_easy_send() and curl_easy_recv(). They can be used to send and receive data over a connection previously setup with curl_easy_perform() and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to show how they can be used. Revision 1.795 - (view) (download) (annotate) - [select for diffs] Fri May 9 16:31:51 2008 UTC (22 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.794: +1 -0 lines Diff to previous 1.794 Internal time differences now use monotonic time source if available. This also implies the removal of the winmm.lib dependency for WIN32. Revision 1.794 - (view) (download) (annotate) - [select for diffs] Fri May 9 12:59:24 2008 UTC (22 months, 1 week ago) by bagder Branch: MAIN Changes since 1.793: +1 -0 lines Diff to previous 1.793 - Stefan Krause reported a busy-looping case when using the multi interface and doing CONNECT to a proxy. The app would then busy-loop until the proxy completed its response. Revision 1.793 - (view) (download) (annotate) - [select for diffs] Wed May 7 21:02:21 2008 UTC (22 months, 1 week ago) by bagder Branch: MAIN Changes since 1.792: +2 -1 lines Diff to previous 1.792 - Liam Healy filed the debian bug report #480044 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044) identifying a segfault when using krb5 ftp, but the krb4 code had the same problem. Revision 1.792 - (view) (download) (annotate) - [select for diffs] Wed May 7 15:41:41 2008 UTC (22 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.791: +2 -1 lines Diff to previous 1.791 Christopher Palow provided the patch (edited by me) that introduces the use of microsecond resolution keys for internal splay trees. http://curl.haxx.se/mail/lib-2008-04/0513.html Revision 1.791 - (view) (download) (annotate) - [select for diffs] Sat May 3 22:04:39 2008 UTC (22 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.790: +3 -1 lines Diff to previous 1.790 - Yuriy Sosov pointed out a configure fix for detecting c-ares when that is built debug-enabled. Revision 1.790 - (view) (download) (annotate) - [select for diffs] Sat May 3 21:45:12 2008 UTC (22 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.789: +2 -1 lines Diff to previous 1.789 - Ben Van Hof filed bug report #1945240: "libcurl sometimes sends body twice when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240). The problem was that when libcurl rewound a stream meant for upload when it would prepare for a second request, it could accidentally continue the sending of the rewound data on the first request instead of on the second. Ben also provided test case 1030 that verifies this fix. Revision 1.789 - (view) (download) (annotate) - [select for diffs] Sat May 3 13:43:35 2008 UTC (22 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.788: +3 -2 lines Diff to previous 1.788 - Jean-Francois Bertrand reported a libcurl crash with CURLOPT_TCP_NODELAY since libcurl used getprotobyname() and that isn't thread-safe. We now switched to use IPPROTO_TCP unconditionally, but perhaps the proper fix is to detect the thread-safe version of the function and use that. http://curl.haxx.se/mail/lib-2008-05/0011.html Revision 1.788 - (view) (download) (annotate) - [select for diffs] Thu May 1 21:34:34 2008 UTC (22 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.787: +2 -1 lines Diff to previous 1.787 - Bart Whiteley provided a patch that made libcurl work properly when an app uses the CURLOPT_OPENSOCKETFUNCTION callback to create a unix domain socket to a http server. Revision 1.787 - (view) (download) (annotate) - [select for diffs] Wed Apr 30 21:20:09 2008 UTC (22 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.786: +1 -0 lines Diff to previous 1.786 - 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.786 - (view) (download) (annotate) - [select for diffs] Mon Apr 28 21:29:17 2008 UTC (22 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.785: +6 -2 lines Diff to previous 1.785 - Norbert Frese filed bug report #1951588: "Problem with curlftpfs and libcurl" (http://curl.haxx.se/bug/view.cgi?id=1951588) which seems to be an identical report to what Denis Golovan reported in http://curl.haxx.se/mail/lib-2008-02/0108.html The FTP code didn't reset the user/password pointers properly even though there might've been a new struct/cconnection getting used. Revision 1.785 - (view) (download) (annotate) - [select for diffs] Tue Apr 22 22:53:53 2008 UTC (22 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.784: +2 -1 lines Diff to previous 1.784 Added support for running on Symbian OS. Revision 1.784 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 19:01:42 2008 UTC (23 months ago) by mmarek Branch: MAIN Changes since 1.783: +3 -1 lines Diff to previous 1.783 allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html Revision 1.783 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 15:26:34 2008 UTC (23 months ago) by bagder Branch: MAIN Changes since 1.782: +1 -1 lines Diff to previous 1.782 - Stefan Krause reported a case where the OpenSSL handshake phase wasn't properly acknowledging the timeout values, like if you pulled the network plug in the midst of it. Revision 1.782 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 15:20:07 2008 UTC (23 months ago) by bagder Branch: MAIN Changes since 1.781: +1 -1 lines Diff to previous 1.781 mention Sandor as contributor Revision 1.781 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 14:42:07 2008 UTC (23 months ago) by bagder Branch: MAIN Changes since 1.780: +2 -1 lines Diff to previous 1.780 - Brock Noland reported that curl behaved differently depending on which order you used -i and -I. Revision 1.780 - (view) (download) (annotate) - [select for diffs] Sat Apr 12 11:50:51 2008 UTC (23 months, 1 week ago) by bagder Branch: MAIN Changes since 1.779: +2 -1 lines Diff to previous 1.779 - Andre Guibert de Bruet found and fixed a case where malloc() was called but was not checked for a NULL return, in the Negotiate code. Revision 1.779 - (view) (download) (annotate) - [select for diffs] Mon Apr 7 09:26:31 2008 UTC (23 months, 1 week ago) by mmarek Branch: MAIN Changes since 1.778: +3 -1 lines Diff to previous 1.778 - Fix the MIT / Heimdal check for good:
Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are
available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> is available.
Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if
GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should
avoid breakage in case we wrongly recognize Heimdal as MIT again.
Revision 1.778 - (view) (download) (annotate) - [select for diffs] Sat Apr 5 21:13:44 2008 UTC (23 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.777: +2 -1 lines Diff to previous 1.777 - Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly Revision 1.777 - (view) (download) (annotate) - [select for diffs] Thu Apr 3 21:44:49 2008 UTC (23 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.776: +2 -1 lines Diff to previous 1.776 - 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.776 - (view) (download) (annotate) - [select for diffs] Thu Apr 3 20:56:59 2008 UTC (23 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.775: +2 -1 lines Diff to previous 1.775 Scott Barrett added support for CURLOPT_NOBODY over SFTP Revision 1.775 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 10:02:24 2008 UTC (23 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.774: +2 -2 lines Diff to previous 1.774 - Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an application to provide data for a multipart with the read callback. Note that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the stream option is used. This feature is verified by the new test case 554. This feature was sponsored by Xponaut. Revision 1.774 - (view) (download) (annotate) - [select for diffs] Sun Mar 30 09:22:45 2008 UTC (23 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.773: +6 -49 lines Diff to previous 1.773 back to a blank for 7.18.2 Revision 1.773 - (view) (download) (annotate) - [select for diffs] Thu Mar 27 23:13:57 2008 UTC (23 months, 3 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_18_1 Changes since 1.772: +2 -1 lines Diff to previous 1.772 - Stephen Collyer pointed out that configure --with-libssh2 without a given path didn't work properly but now it does! Revision 1.772 - (view) (download) (annotate) - [select for diffs] Thu Mar 27 13:07:12 2008 UTC (23 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.771: +1 -1 lines Diff to previous 1.771 - As found out and reported by Dan Petitt, libcurl didn't show progress/call the progress callback for the first (potentially huge) piece of body data sent together with the POST request headers in the initial send(). Revision 1.771 - (view) (download) (annotate) - [select for diffs] Tue Mar 25 19:23:26 2008 UTC (23 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.770: +1 -1 lines Diff to previous 1.770 spell! Revision 1.770 - (view) (download) (annotate) - [select for diffs] Tue Mar 25 19:19:49 2008 UTC (23 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.769: +2 -0 lines Diff to previous 1.769 - 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.769 - (view) (download) (annotate) - [select for diffs] Sat Mar 22 22:00:21 2008 UTC (23 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.768: +1 -0 lines Diff to previous 1.768 - Fixed the problem with doing a zero byte SCP transfer, verified with test case 617 (which was added by Daniel Fandrich 5 Mar 2008). Revision 1.768 - (view) (download) (annotate) - [select for diffs] Thu Mar 20 20:16:01 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.767: +2 -1 lines Diff to previous 1.767 Jes reported the curl-config bug Revision 1.767 - (view) (download) (annotate) - [select for diffs] Thu Mar 20 20:08:44 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.766: +1 -0 lines Diff to previous 1.766 Fixed a problem where curl-config --protocols could erroneously show LDAPS support when curl didn't even have regular LDAP support. It looks like this could happen when the --enable-ldaps configure switch is given but configure couldn't find the LDAP headers or libraries. Revision 1.766 - (view) (download) (annotate) - [select for diffs] Thu Mar 20 08:09:24 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.765: +2 -0 lines Diff to previous 1.765 - 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.765 - (view) (download) (annotate) - [select for diffs] Tue Mar 18 22:59:04 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.764: +1 -0 lines Diff to previous 1.764 Fixed an infinite loop when given an invalid SFTP quote command. Revision 1.764 - (view) (download) (annotate) - [select for diffs] Tue Mar 18 08:14:37 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.763: +5 -4 lines Diff to previous 1.763 - Added curl_easy_getinfo typechecker. - Added macros for curl_share_setopt and curl_multi_setopt to check at least the correct number of arguments. Revision 1.763 - (view) (download) (annotate) - [select for diffs] Thu Mar 13 21:43:39 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.762: +1 -0 lines Diff to previous 1.762 - Brian Ulm figured out that if you did an SFTP upload with CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the handle and uploaded another file to another directory that needed to be created, the second upload would fail. Another case of a state variable that wasn't properly reset between requests. - I rewrote the 100-continue code to use a single state variable instead of the previous two ones. I think it made the logic somewhat clearer. Revision 1.762 - (view) (download) (annotate) - [select for diffs] Tue Mar 11 22:55:23 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.761: +3 -1 lines Diff to previous 1.761 - Dmitry Popov filed bug report #1911069 (http://curl.haxx.se/bug/view.cgi?id=1911069) that identified a race condition in the name resolver code when the DNS cache is shared between multiple easy handles, each running in simultaneous threads that could cause crashes. Revision 1.761 - (view) (download) (annotate) - [select for diffs] Tue Mar 11 13:14:16 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.760: +1 -0 lines Diff to previous 1.760 - Added a macro for curl_easy_setopt() that accepts three arguments and simply does nothing with them, just to make sure libcurl users always use three arguments to this function. Due to its use of ... for the third argument, it is otherwise hard to detect abuse. Revision 1.760 - (view) (download) (annotate) - [select for diffs] Tue Mar 11 07:37:40 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.759: +3 -0 lines Diff to previous 1.759 - Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html , http://curl.haxx.se/mail/lib-2008-02/0292.html ) Revision 1.759 - (view) (download) (annotate) - [select for diffs] Sun Mar 9 11:37:48 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.758: +3 -1 lines Diff to previous 1.758 - Brian Ulm reported a crash when doing a second SFTP transfer on a re-used easy handle if curl_easy_reset() was used between them. I fixed it and Brian verified that it cured his problem. - Brian Ulm reported that if you first tried to download a non-existing SFTP file and then fetched an existing one and re-used the handle, libcurl would still report the second one as non-existing as well! I fixed it abd Brian verified that it cured his problem. Revision 1.758 - (view) (download) (annotate) - [select for diffs] Thu Mar 6 17:22:45 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.757: +2 -1 lines Diff to previous 1.757 Fix the gssapi configure check to detect newer MIT Kerberos (patch by Michael Calmer) Revision 1.757 - (view) (download) (annotate) - [select for diffs] Thu Mar 6 03:48:34 2008 UTC (2 years ago) by yangtse Branch: MAIN Changes since 1.756: +1 -0 lines Diff to previous 1.756 Regression fix: select/poll calls will only be retried upon EINTR failures as it previously was in lib/select.c revision 1.29 In this way Curl_socket_ready() and Curl_poll() will again fail on any select/poll errors different than EINTR. Revision 1.756 - (view) (download) (annotate) - [select for diffs] Tue Mar 4 11:53:15 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.755: +2 -1 lines Diff to previous 1.755 Mike Protts brought a patch that makes resumed transfers work with SFTP. Revision 1.755 - (view) (download) (annotate) - [select for diffs] Sat Mar 1 22:32:03 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.754: +3 -1 lines Diff to previous 1.754 - Anatoli Tubman found and fixed a crash with Negotiate authentication used on a re-used connection where both requests used Negotiate. Revision 1.754 - (view) (download) (annotate) - [select for diffs] Mon Feb 25 07:51:39 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.753: +1 -0 lines Diff to previous 1.753 - Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that forces it to prefer SSLv3. Revision 1.753 - (view) (download) (annotate) - [select for diffs] Sat Feb 23 12:27:45 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.752: +2 -1 lines Diff to previous 1.752 - Sam Listopad provided a patch in feature-request #1900014 http://curl.haxx.se/bug/feature.cgi?id=1900014 that makes libcurl (built to use OpenSSL) support a full chain of certificates in a given PKCS12 certificate. Revision 1.752 - (view) (download) (annotate) - [select for diffs] Fri Feb 22 22:53:01 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.751: +1 -1 lines Diff to previous 1.751 - Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model options as the lib/Makefile.vc6 already did. Revision 1.751 - (view) (download) (annotate) - [select for diffs] Thu Feb 21 17:52:17 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.750: +2 -1 lines Diff to previous 1.750 - Zmey Petroff found a crash when libcurl accessed a NULL pointer, which happened if you set the connection cache size to 1 and for example failed to login to an FTP site. Bug report #1896698 (http://curl.haxx.se/bug/view.cgi?id=1896698) Revision 1.750 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 12:18:08 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.749: +1 -0 lines Diff to previous 1.749 - Fixed test case 405 to not fail when libcurl is built with GnuTLS Revision 1.749 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 09:56:26 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.748: +2 -1 lines Diff to previous 1.748 - 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.748 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 08:28:02 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.747: +4 -1 lines Diff to previous 1.747 - 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.747 - (view) (download) (annotate) - [select for diffs] Mon Feb 18 11:35:12 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.746: +1 -0 lines Diff to previous 1.746 - We're no longer providing a very old ca-bundle in the curl tarball. You can get a fresh one downloaded and created with 'make ca-bundle' or you can get one from here => http://curl.haxx.se/docs/caextract.html if you want a fresh new one extracted from Mozilla's recent list of ca certs. The configure option --with-ca-bundle now lets you specify what file to use as default ca bundle for your build. If not specified, the configure script will check a few known standard places for a global ca cert to use. Revision 1.746 - (view) (download) (annotate) - [select for diffs] Sun Feb 17 13:49:58 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.745: +5 -3 lines Diff to previous 1.745 - Jerome Muffat-Meridol helped me fix Curl_done() to close the current connection by force when it was called before the entire request is completed, simply because we can't know if the connection really can be re-used safely at that point. Revision 1.745 - (view) (download) (annotate) - [select for diffs] Fri Feb 15 22:37:00 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.744: +2 -0 lines Diff to previous 1.744 - Made the gnutls code path not even try to get the server cert if no peer verification is requested. Previously it would even return failure if gnutls failed to get the server cert even though no verification was asked for. - Fix my Curl_timeleft() leftover mistake in the gnutls code Revision 1.744 - (view) (download) (annotate) - [select for diffs] Fri Feb 15 09:29:57 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.743: +2 -2 lines Diff to previous 1.743 new mirror and mirror recount after cleansing Revision 1.743 - (view) (download) (annotate) - [select for diffs] Fri Feb 15 08:56:06 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.742: +2 -1 lines Diff to previous 1.742 - Pooyan McSporran found and fixed a flaw where you first would do a normal http request and then you'd reuse the handle and replace the Accept: header, as then libcurl would send two Accept: headers! Revision 1.742 - (view) (download) (annotate) - [select for diffs] Sun Feb 10 04:20:10 2008 UTC (2 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.741: +1 -0 lines Diff to previous 1.741 Bug report #1888932 (http://curl.haxx.se/bug/view.cgi?id=1888932) points out and provides test program that demonstrates that libcurl might not set error description message for error CURLE_COULDNT_RESOLVE_HOST for Windows threaded name resolver builds. Fixed now. Revision 1.741 - (view) (download) (annotate) - [select for diffs] Fri Feb 8 22:02:00 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.740: +2 -1 lines Diff to previous 1.740 - Mike Hommey filed and fixed bug report #1889856 (http://curl.haxx.se/bug/view.cgi?id=1889856): When using the gnutls ssl layer, cleaning-up and reinitializing curl ends up with https requests failing with "ASN1 parser: Element was not found" errors. Obviously a regression added in 7.16.3. Revision 1.740 - (view) (download) (annotate) - [select for diffs] Fri Feb 8 11:16:44 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.739: +1 -0 lines Diff to previous 1.739 Günter Knauf added lib/mk-ca-bundle.pl which gets the Firefox ca bundle and creates a suitable ca-bundle.crt file in PEM format for use with curl. The recommended way to run it is to use 'make ca-bundle' in the build tree root. Revision 1.739 - (view) (download) (annotate) - [select for diffs] Thu Feb 7 22:25:04 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.738: +2 -1 lines Diff to previous 1.738 - Refactored a lot of timeout code into a few functions in an attempt to make them all use the same (hopefully correct) logic to make it less error-prone and easier to introduce library-wide where it should be used. Revision 1.738 - (view) (download) (annotate) - [select for diffs] Wed Feb 6 19:01:13 2008 UTC (2 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.737: +1 -0 lines Diff to previous 1.737 Fix problem in strdup replacement when dealing with absolutely huge strings. Revision 1.737 - (view) (download) (annotate) - [select for diffs] Thu Jan 31 12:21:57 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.736: +2 -2 lines Diff to previous 1.736 - Niklas Angebrand made the cookie support in libcurl properly deal with the "HttpOnly" feature introduced by Microsoft and apparently also supported by Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly is now supported when received from servers in HTTP headers, when written to cookie jars and when read from existing cookie jars. Revision 1.736 - (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.735: +2 -2 lines Diff to previous 1.735 - Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously crash! Revision 1.735 - (view) (download) (annotate) - [select for diffs] Tue Jan 29 12:31:11 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.734: +1 -1 lines Diff to previous 1.734 - Michal Marek fixed minor mistake in test case 553 that prevented it from working on other IP-addresses or port numbers. Revision 1.734 - (view) (download) (annotate) - [select for diffs] Mon Jan 28 21:19:15 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.733: +8 -66 lines Diff to previous 1.733 start over on 7.18.1 Revision 1.733 - (view) (download) (annotate) - [select for diffs] Fri Jan 25 23:33:45 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_18_0 Changes since 1.732: +4 -1 lines Diff to previous 1.732 - Kevin Reed filed bug report #1879375 (http://curl.haxx.se/bug/view.cgi?id=1879375) which describes how libcurl got lost in this scenario: proxy tunnel (or HTTPS over proxy), ask to do any proxy authentication and the proxy replies with an auth (like NTLM) and then closes the connection after that initial informational response. libcurl would not properly re-initialize the connection to the proxy and continue the auth negotiation like supposed. It does now however, as it will now detect if one or more authentication methods were available and asked for, and will thus retry the connection and continue from there. - I made the progress callback get called properly during proxy CONNECT. Revision 1.732 - (view) (download) (annotate) - [select for diffs] Thu Jan 24 17:17:18 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.731: +1 -1 lines Diff to previous 1.731 and Igor Franchuk is his name! Revision 1.731 - (view) (download) (annotate) - [select for diffs] Wed Jan 23 22:22:12 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.730: +1 -0 lines Diff to previous 1.730 "Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so did "SESS". Fixed now. Revision 1.730 - (view) (download) (annotate) - [select for diffs] Mon Jan 21 23:48:58 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.729: +2 -0 lines Diff to previous 1.729 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.729 - (view) (download) (annotate) - [select for diffs] Sun Jan 20 11:29:30 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.728: +2 -2 lines Diff to previous 1.728 Judson provided an example, and the added mirror adds the count Revision 1.728 - (view) (download) (annotate) - [select for diffs] Sun Jan 20 11:07:43 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.727: +2 -1 lines Diff to previous 1.727 http://curl.very-clever.com/ is a new mirror in Nuremberg, Germany Revision 1.727 - (view) (download) (annotate) - [select for diffs] Fri Jan 18 21:51:11 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.726: +2 -1 lines Diff to previous 1.726 Lau Hang Kin found and fixed a problem with the multi interface when doing CONNECT over a proxy. curl_multi_fdset() didn't report back the socket properly during that state, due to a missing case in the switch in the multi_getsock() function. Revision 1.726 - (view) (download) (annotate) - [select for diffs] Thu Jan 17 22:43:29 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.725: +1 -0 lines Diff to previous 1.725 curl-java 0.2.1 Revision 1.725 - (view) (download) (annotate) - [select for diffs] Wed Jan 16 22:08:37 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.724: +2 -1 lines Diff to previous 1.724 Nathan Coulter's patch that makes runtests.pl respect the PATH when figuring out what valgrind to run. Revision 1.724 - (view) (download) (annotate) - [select for diffs] Wed Jan 16 21:01:30 2008 UTC (2 years, 2 months ago) by yangtse Branch: MAIN Changes since 1.723: +1 -0 lines Diff to previous 1.723 fix handling of out of memory in the command line tool that afected data url encoded HTTP POSTs when reading it from a file. Revision 1.723 - (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.722: +1 -0 lines Diff to previous 1.722 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.722 - (view) (download) (annotate) - [select for diffs] Tue Jan 15 23:19:02 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.721: +1 -0 lines Diff to previous 1.721 Calls to Curl_failf() are not supposed to provide a trailing newline as the function itself adds that. Fixed on 50 or something strings! Revision 1.721 - (view) (download) (annotate) - [select for diffs] Mon Jan 14 22:02:14 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.720: +3 -1 lines Diff to previous 1.720 Joe Malicki filed bug report #1871269 (http://curl.haxx.se/bug/view.cgi?id=1871269) and we could fix his hang- problem that occurred when doing a large HTTP POST request with the response-body read from a callback. Revision 1.720 - (view) (download) (annotate) - [select for diffs] Sat Jan 12 22:56:12 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.719: +1 -0 lines Diff to previous 1.719 I re-arranged the curl --help output. All the options are now sorted on their long option names and all descriptions are one-liners. Revision 1.719 - (view) (download) (annotate) - [select for diffs] Sat Jan 12 22:10:53 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.718: +4 -3 lines Diff to previous 1.718 Eric Landes provided the patch (edited by me) that introduces the --keepalive-time to curl to set the keepalive probe interval. I also took the opportunity to rename the recently added no-keep-alive option to no-keepalive to keep a consistent naming and to avoid getting two dashes in these option names. Eric also provided an update to the man page for the new option. Revision 1.718 - (view) (download) (annotate) - [select for diffs] Fri Jan 11 14:20:41 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.717: +1 -0 lines Diff to previous 1.717 Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it already worked for FTP:// URLs Revision 1.717 - (view) (download) (annotate) - [select for diffs] Thu Jan 10 22:14:02 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.716: +1 -0 lines Diff to previous 1.716 Michal Marek made curl-config --libs not include /usr/lib64 in the output (it already before skipped /usr/lib). /usr/lib64 is the default library directory on many 64bit systems and it's unlikely that anyone would use the path privately on systems where it's not. Revision 1.716 - (view) (download) (annotate) - [select for diffs] Thu Jan 10 10:30:19 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.715: +8 -7 lines Diff to previous 1.715 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.715 - (view) (download) (annotate) - [select for diffs] Thu Jan 10 09:17:07 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.714: +1 -0 lines Diff to previous 1.714 Nikitinskit Dmitriy filed bug report #1868255 (http://curl.haxx.se/bug/view.cgi?id=1868255) with a patch. It identifies and fixes a problem with parsing WWW-Authenticate: headers with additional spaces in the line that the parser wasn't written to deal with. Revision 1.714 - (view) (download) (annotate) - [select for diffs] Tue Jan 8 14:52:06 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.713: +3 -2 lines Diff to previous 1.713 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.713 - (view) (download) (annotate) - [select for diffs] Sun Jan 6 10:50:57 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.712: +2 -1 lines Diff to previous 1.712 Jeff Johnson filed bug report #1863171 (http://curl.haxx.se/bug/view.cgi?id=1863171) where he pointed out that libcurl's date parser didn't accept a +1300 time zone which actually is used fairly often (like New Zealand's Dailight Savings Time), so I modified the parser to now accept up to and including -1400 to +1400. Revision 1.712 - (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.711: +2 -3 lines Diff to previous 1.711 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.711 - (view) (download) (annotate) - [select for diffs] Sat Jan 5 21:04:18 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.710: +4 -2 lines Diff to previous 1.710 Added Daniel Egger and extended the --no-keep-alive description Revision 1.710 - (view) (download) (annotate) - [select for diffs] Fri Jan 4 23:01:00 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.709: +5 -3 lines Diff to previous 1.709 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.709 - (view) (download) (annotate) - [select for diffs] Wed Jan 2 22:23:27 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.708: +1 -1 lines Diff to previous 1.708 I removed the socklen_t use from the public curl/curl.h header and instead made it an unsigned int. The type was only used in the curl_sockaddr struct definition (only used by the curl_opensocket_callback). On all platforms I could find information about, socklen_t is 32 unsigned bits large so I don't think this will break the API or ABI. The main reason for this change is of course for all the platforms that don't have a socklen_t definition in their headers to build fine again. Providing our own configure magic and custom definition of socklen_t on those systems proved to work but was a lot of cruft, code and extra magic needed - when this very small change of type seems harmless and still solves the missing socklen_t problem. Revision 1.708 - (view) (download) (annotate) - [select for diffs] Wed Jan 2 21:40:11 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.707: +3 -2 lines Diff to previous 1.707 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.707 - (view) (download) (annotate) - [select for diffs] Tue Jan 1 21:11:26 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.706: +2 -1 lines Diff to previous 1.706 Mohun Biswas pointed out that --libcurl generated a source code with an int function but without a return statement. While fixing that, I also took care about adding some better comments for the generated code. Revision 1.706 - (view) (download) (annotate) - [select for diffs] Wed Dec 26 23:29:35 2007 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.705: +3 -1 lines Diff to previous 1.705 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.705 - (view) (download) (annotate) - [select for diffs] Mon Dec 24 23:45:48 2007 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.704: +2 -1 lines Diff to previous 1.704 Gary Maxwell filed bug report #1856628 (http://curl.haxx.se/bug/view.cgi?id=1856628) and provided a fix for the (small) memory leak in the SSL session ID caching code. It happened when a previous entry in the cache was re-used. Revision 1.704 - (view) (download) (annotate) - [select for diffs] Tue Dec 18 18:33:24 2007 UTC (2 years, 3 months ago) by yangtse Branch: MAIN Changes since 1.703: +1 -0 lines Diff to previous 1.703 (http://curl.haxx.se/mail/archive-2007-12/0039.html) reported and fixed a file truncation problem on Windows build targets triggered when retrying a download with curl. Revision 1.703 - (view) (download) (annotate) - [select for diffs] Tue Dec 18 10:36:32 2007 UTC (2 years, 3 months ago) by yangtse Branch: MAIN Changes since 1.702: +2 -2 lines Diff to previous 1.702 pollfd struct and WSA_poll fixes for Windows Vista already present in CVS Revision 1.702 - (view) (download) (annotate) - [select for diffs] Mon Dec 17 21:19:43 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.701: +2 -1 lines Diff to previous 1.701 Mateusz Loskot pointed out that VC++ 9.0 (2008) has the pollfd struct and defines in the SDK somehow differently so we have to add a define to the config-win32.h file to make select.h compile nicely. Revision 1.701 - (view) (download) (annotate) - [select for diffs] Thu Dec 13 10:00:06 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.700: +2 -1 lines Diff to previous 1.700 David Wright filed bug report #1849764 (http://curl.haxx.se/bug/view.cgi?id=1849764) with an included fix. He identified a problem for re-used connections that previously had sent Expect: 100-continue and in some situations the subsequent POST (that didn't use Expect:) still had the internal flag set for its use. David's fix (that makes the setting of the flag in every single request unconditionally) is fine and is now used! Revision 1.700 - (view) (download) (annotate) - [select for diffs] Wed Dec 12 11:22:15 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.699: +4 -2 lines Diff to previous 1.699 Gilles Blanc made the curl tool enable SO_KEEPALIVE for the connections and added the --no-keep-alive option that can disable that on demand. Revision 1.699 - (view) (download) (annotate) - [select for diffs] Sun Dec 9 22:31:53 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.698: +1 -1 lines Diff to previous 1.698 Andrew Moise filed bug report #1847501 (http://curl.haxx.se/bug/view.cgi?id=1847501) and pointed out a memcpy() that should be memmove() in the convert_lineends() function. Revision 1.698 - (view) (download) (annotate) - [select for diffs] Wed Dec 5 21:20:14 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.697: +2 -1 lines Diff to previous 1.697 Spacen Jasset reported a problem with doing POST (with data read with a callback) over a proxy when NTLM is used as auth with the proxy. The bug also concerned Digest and was limited to using callback only. Spacen worked with us to provide a useful patch. I added the test case 547 and 548 to verify two variations of POST over proxy with NTLM. Revision 1.697 - (view) (download) (annotate) - [select for diffs] Mon Dec 3 22:44:47 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.696: +1 -1 lines Diff to previous 1.696 Ray Pekowski filed bug report #1842029 Revision 1.696 - (view) (download) (annotate) - [select for diffs] Mon Dec 3 11:49:20 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.695: +1 -0 lines Diff to previous 1.695 SSL session id caching bugfix Revision 1.695 - (view) (download) (annotate) - [select for diffs] Mon Dec 3 11:41:36 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.694: +1 -0 lines Diff to previous 1.694 mention "no longer default-appends ;type= on FTP URLs thru proxies" as a bug fix even if kind of implied by the new option Revision 1.694 - (view) (download) (annotate) - [select for diffs] Sun Dec 2 23:38:23 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.693: +2 -1 lines Diff to previous 1.693 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.693 - (view) (download) (annotate) - [select for diffs] Thu Nov 29 22:15:22 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.692: +3 -0 lines Diff to previous 1.692 ftp resumed upload and long Digest nonces Revision 1.692 - (view) (download) (annotate) - [select for diffs] Thu Nov 22 16:35:07 2007 UTC (2 years, 3 months ago) by yangtse Branch: MAIN Changes since 1.691: +1 -0 lines Diff to previous 1.691 Provide a socklen_t definition in curl.h for Win32 API build targets which don't have one. Revision 1.691 - (view) (download) (annotate) - [select for diffs] Thu Nov 22 09:36:28 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.690: +1 -1 lines Diff to previous 1.690 Alessandro Vesely helped me improve the --data-urlencode's syntax, parser and documentation. Revision 1.690 - (view) (download) (annotate) - [select for diffs] Tue Nov 20 23:17:08 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.689: +4 -1 lines Diff to previous 1.689 While inspecting the Negotiate code, I noticed how the proxy auth was using the same state struct as the host auth, so both could never be used at the same time! I fixed it (without being able to check) to use two separate structs to allow authentication using Negotiate on host and proxy simultanouesly. Revision 1.689 - (view) (download) (annotate) - [select for diffs] Tue Nov 20 10:08:42 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.688: +2 -2 lines Diff to previous 1.688 Introuced --data-urlencode to the curl tool for easier url encoding of the data sent in a post. Revision 1.688 - (view) (download) (annotate) - [select for diffs] Sun Nov 18 09:45:05 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.687: +2 -1 lines Diff to previous 1.687 Rob Crittenden fixed SSL connections with NSS done with the multi-interface Revision 1.687 - (view) (download) (annotate) - [select for diffs] Thu Nov 15 23:42:21 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.686: +4 -2 lines Diff to previous 1.686 Ates Goral identified a problem in http.c:add_buffer_send() when a debug callback was used, as it could wrongly pass on a bad size for the outgoing HTTP header. The bad size would be a very large value as it was a wrapped size_t content. This happened when the whole HTTP request failed to get sent in one single send. http://curl.haxx.se/mail/lib-2007-11/0165.html Revision 1.686 - (view) (download) (annotate) - [select for diffs] Wed Nov 14 00:48:12 2007 UTC (2 years, 4 months ago) by yangtse Branch: MAIN Changes since 1.685: +1 -0 lines Diff to previous 1.685 Fix a variable potential wrapping in add_buffer() when using absolutely huge send buffer sizes Revision 1.685 - (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.684: +3 -1 lines Diff to previous 1.684 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.684 - (view) (download) (annotate) - [select for diffs] Sun Nov 11 14:20:15 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.683: +3 -2 lines Diff to previous 1.683 new ruby binding, curl-multi version 0.1 Revision 1.683 - (view) (download) (annotate) - [select for diffs] Thu Nov 8 10:22:49 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.682: +3 -2 lines Diff to previous 1.682 Bug report #1823487 (http://curl.haxx.se/bug/view.cgi?id=1823487) pointed out that SFTP requests didn't use persistent connections. Neither did SCP ones. I gave the SSH code a good beating and now both SCP and SFTP should use persistent connections fine. I also did a bunch for indent changes as well as a bug fix for the "keyboard interactive" auth. Revision 1.682 - (view) (download) (annotate) - [select for diffs] Tue Nov 6 17:18:27 2007 UTC (2 years, 4 months ago) by yangtse Branch: MAIN Changes since 1.681: +1 -0 lines Diff to previous 1.681 Bug report #1824894 (http://curl.haxx.se/bug/view.cgi?id=1824894) pointed out a problem in curl.h when building C++ apps with MSVC. To fix it, the inclusion of header files in curl.h is moved outside of the C++ extern "C" linkage block. Revision 1.681 - (view) (download) (annotate) - [select for diffs] Mon Nov 5 15:43:41 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.680: +2 -2 lines Diff to previous 1.680 tclcurl and a mirror recount when bad ones have been cut out Revision 1.680 - (view) (download) (annotate) - [select for diffs] Thu Nov 1 21:49:59 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.679: +2 -1 lines Diff to previous 1.679 Toby Peterson patched a memory problem in the command line tool that happened when a user had a home dir as an empty string. curl would then do free() on a wrong area. Revision 1.679 - (view) (download) (annotate) - [select for diffs] Thu Nov 1 18:55:01 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.678: +1 -1 lines Diff to previous 1.678 Fixed curl-config --features to not display libz when it wasn't used due to a missing header file. Revision 1.678 - (view) (download) (annotate) - [select for diffs] Wed Oct 31 23:33:58 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.677: +1 -1 lines Diff to previous 1.677 Fixed the output of curl-config --protocols which showed SCP and SFTP always, except when --without-libssh2 was given Revision 1.677 - (view) (download) (annotate) - [select for diffs] Wed Oct 31 09:21:31 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.676: +7 -8 lines Diff to previous 1.676 contributor re-count (we'll break the 600 limit very very soon now) and I made all the numericals at the top phrased "shorter" and I cut out the "number of releases since the very beginning" since that's just the number curl releases + 26 and not a very interesting number anyway. Revision 1.676 - (view) (download) (annotate) - [select for diffs] Mon Oct 29 22:13:09 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.675: +2 -1 lines Diff to previous 1.675 curl-config --features and --protocols show the correct output when built with NSS Revision 1.675 - (view) (download) (annotate) - [select for diffs] Mon Oct 29 15:05:47 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.674: +7 -42 lines Diff to previous 1.674 start working on 7.17.2 Revision 1.674 - (view) (download) (annotate) - [select for diffs] Mon Oct 29 14:48:37 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN CVS Tags: curl-7_17_1 Changes since 1.673: +1 -1 lines Diff to previous 1.673 correct mirror count Revision 1.673 - (view) (download) (annotate) - [select for diffs] Sun Oct 28 09:33:03 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.672: +1 -1 lines Diff to previous 1.672 http://curl.wetzlmayr.at/ is a new web mirror in Nuremberg, Germany Revision 1.672 - (view) (download) (annotate) - [select for diffs] Thu Oct 25 22:30:35 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.671: +1 -0 lines Diff to previous 1.671 Added the --static-libs option to curl-config Revision 1.671 - (view) (download) (annotate) - [select for diffs] Thu Oct 25 21:14:15 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.670: +1 -1 lines Diff to previous 1.670 oops Revision 1.670 - (view) (download) (annotate) - [select for diffs] Thu Oct 25 21:08:55 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.669: +2 -0 lines Diff to previous 1.669 Made libcurl built with NSS possible to ignore the peer verification. Previously it would fail if the ca bundle wasn't present, even if the code ignored the verification results. Revision 1.669 - (view) (download) (annotate) - [select for diffs] Thu Oct 25 14:30:52 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.668: +1 -0 lines Diff to previous 1.668 Michal Marek fixed the test script to be able to use valgrind even when the lib is built shared with libtool. Revision 1.668 - (view) (download) (annotate) - [select for diffs] Thu Oct 25 07:47:38 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.667: +1 -1 lines Diff to previous 1.667 Fixed a TFTP memory leak. Enabled test 2003 to verify this. Revision 1.667 - (view) (download) (annotate) - [select for diffs] Wed Oct 24 09:28:36 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.666: +2 -1 lines Diff to previous 1.666 Vladimir Lazarenko pointed out that we should do some 'mt' magic when building with VC8 to get the "manifest" embedded to make fine stand-alone binaries. The maketgz and the src/Makefile.vc6 files were adjusted accordingly. Revision 1.666 - (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.665: +2 -0 lines Diff to previous 1.665 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.665 - (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.664: +1 -0 lines Diff to previous 1.664 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.664 - (view) (download) (annotate) - [select for diffs] Mon Oct 22 09:28:42 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.663: +4 -1 lines Diff to previous 1.663 mention Patrick Monnerat's recent work on the postfields problems Revision 1.663 - (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.662: +2 -0 lines Diff to previous 1.662 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.662 - (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.661: +2 -1 lines Diff to previous 1.661 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.661 - (view) (download) (annotate) - [select for diffs] Thu Oct 4 10:01:41 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.660: +2 -1 lines Diff to previous 1.660 Kim Rinnewitz reported that --local-port didn't work with TFTP transfers. This happened because the tftp code always uncondionally did a bind() without caring if one already had been done and then it failed. I wrote a test case (1009) to verify this, but it is a bit error-prone since it will have to pick a fixed local port number and since the tests are run on so many different hosts in different situations I add it in disabled state. Revision 1.660 - (view) (download) (annotate) - [select for diffs] Wed Oct 3 13:19:34 2007 UTC (2 years, 5 months ago) by yangtse Branch: MAIN Changes since 1.659: +1 -0 lines Diff to previous 1.659 Fix issue related with the use of ares_timeout() result. Revision 1.659 - (view) (download) (annotate) - [select for diffs] Wed Oct 3 08:54:35 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.658: +1 -1 lines Diff to previous 1.658 recount contributors after the 7.17.0 release Revision 1.658 - (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.657: +5 -2 lines Diff to previous 1.657 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.657 - (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.656: +4 -3 lines Diff to previous 1.656 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.656 - (view) (download) (annotate) - [select for diffs] Tue Oct 2 10:21:36 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.655: +1 -0 lines Diff to previous 1.655 known bug #46: chunked-encoded CONNECT responses from a http proxy now works. Added test case 1008 to verify. Note that #47 is still there. Revision 1.655 - (view) (download) (annotate) - [select for diffs] Sun Sep 30 22:40:24 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.654: +3 -2 lines Diff to previous 1.654 Alex Fishman reported a curl_easy_escape() problem that was made the function do wrong on all input bytes that are >= 0x80 (decimal 128) due to a signed / unsigned mistake in the code. I fixed it and added test case 543 to verify. Revision 1.654 - (view) (download) (annotate) - [select for diffs] Sat Sep 29 21:34:34 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.653: +1 -0 lines Diff to previous 1.653 Immanuel Gregoire fixed a problem with persistent transfers over SFTP - the previous proto struct was kept. Revision 1.653 - (view) (download) (annotate) - [select for diffs] Fri Sep 28 21:48:28 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.652: +1 -0 lines Diff to previous 1.652 Adapted the c-ares code to the API change c-ares 1.5.0 brings in the notifier callback(s). Revision 1.652 - (view) (download) (annotate) - [select for diffs] Wed Sep 26 12:46:03 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.651: +1 -1 lines Diff to previous 1.651 we added a curl_easy_setopt() option too Revision 1.651 - (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.650: +3 -2 lines Diff to previous 1.650 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.650 - (view) (download) (annotate) - [select for diffs] Wed Sep 26 12:00:01 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.649: +3 -1 lines Diff to previous 1.649 Max Katsev reported that when doing a libcurl FTP request with CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE before it does SIZE which makes it less useful. I walked over the code and made it do this properly, and added test case 542 to verify it. Revision 1.649 - (view) (download) (annotate) - [select for diffs] Mon Sep 24 21:47:35 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.648: +1 -0 lines Diff to previous 1.648 Immanuel Gregoire fixed KNOWN_BUGS #44: --ftp-method nocwd did not handle URLs ending with a slash properly (it should list the contents of that directory). Test case 351 brought back and also test 1010 was added. Revision 1.648 - (view) (download) (annotate) - [select for diffs] Fri Sep 21 11:08:03 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.647: +1 -1 lines Diff to previous 1.647 Available command line options: 119 Revision 1.647 - (view) (download) (annotate) - [select for diffs] Fri Sep 21 11:05:31 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.646: +4 -1 lines Diff to previous 1.646 Mark Davies fixed Negotiate authentication over proxy, and also introduced the --proxy-negotiate command line option to allow a user to explicitly select it. Revision 1.646 - (view) (download) (annotate) - [select for diffs] Thu Sep 20 14:02:34 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.645: +1 -1 lines Diff to previous 1.645 Immanuel Gregoire is the man Revision 1.645 - (view) (download) (annotate) - [select for diffs] Tue Sep 18 22:21:54 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.644: +2 -1 lines Diff to previous 1.644 Rob Crittenden provided an NSS update with the following highlights: o It looks for the NSS database first in the environment variable SSL_DIR, then in /etc/pki/nssdb, then it initializes with no database if neither of those exist. o If the NSS PKCS#11 libnspsem.so driver is available then PEM files may be loaded, including the ca-bundle. If it is not available then only certificates already in the NSS database are used. o Tries to detect whether a file or nickname is being passed in so the right thing is done o Added a bit of code to make the output more like the OpenSSL module, including displaying the certificate information when connecting in verbose mode o Improved handling of certificate errors (expired, untrusted, etc) The libnsspem.so PKCS#11 module is currently only available in Fedora 8/rawhide. Work will be done soon to upstream it. The NSS module will work with or without it, all that changes is the source of the certificates and keys. Revision 1.644 - (view) (download) (annotate) - [select for diffs] Tue Sep 18 21:14:28 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.643: +1 -0 lines Diff to previous 1.643 Immanuel pointed out that public key SSH auth failed if no public/private key was specified and there was no HOME environment variable, and then it didn't continue to try the other auth methods. Now it will instead try to get the files id_dsa.pub and id_dsa from the current directory if none of the two conditions were met. Revision 1.643 - (view) (download) (annotate) - [select for diffs] Mon Sep 17 20:43:05 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.642: +3 -1 lines Diff to previous 1.642 Günter's ldap fixes Revision 1.642 - (view) (download) (annotate) - [select for diffs] Sat Sep 15 21:14:12 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.641: +2 -2 lines Diff to previous 1.641 Michal Marek made libcurl automatically append ";type=<a|i>" when using HTTP proxies for FTP urls. Revision 1.641 - (view) (download) (annotate) - [select for diffs] Fri Sep 14 01:56:08 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.640: +1 -1 lines Diff to previous 1.640 Added LDAPS, SCP and SFTP to curl-config --protocols. Removed and fixed some AC_SUBST configure entries. Revision 1.640 - (view) (download) (annotate) - [select for diffs] Thu Sep 13 21:05:56 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.639: +8 -59 lines Diff to previous 1.639 start over on 7.17.1 Revision 1.639 - (view) (download) (annotate) - [select for diffs] Wed Sep 12 18:20:52 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN CVS Tags: curl-7_17_0 Changes since 1.638: +1 -0 lines Diff to previous 1.638 TFTP error 0 is no longer treated as success Revision 1.638 - (view) (download) (annotate) - [select for diffs] Tue Sep 11 22:37:47 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.637: +1 -1 lines Diff to previous 1.637 rephrased to mention ftp Revision 1.637 - (view) (download) (annotate) - [select for diffs] Tue Sep 11 22:36:39 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.636: +1 -0 lines Diff to previous 1.636 curl.digimirror.nl is a new mirror in Amsterdam, the Netherlands Revision 1.636 - (view) (download) (annotate) - [select for diffs] Tue Sep 11 22:23:57 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.635: +2 -0 lines Diff to previous 1.635 Daniel S (12 September 2007) - Bug report #1792649 (http://curl.haxx.se/bug/view.cgi?id=1792649) pointed out a problem with doing an empty upload over FTP on a re-used connection. I added test case 541 to reproduce it and to verify the fix. - I noticed while writing test 541 that the FTP code wrongly did a CWD on the second transfer as it didn't store and remember the "" path from the previous transfer so it would instead CWD to the entry path as stored. This worked, but did a superfluous command. Thus, test case 541 now also verifies this fix. Revision 1.635 - (view) (download) (annotate) - [select for diffs] Sun Sep 9 22:22:45 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.634: +3 -1 lines Diff to previous 1.634 A brand new binding for SP-Forth was written Revision 1.634 - (view) (download) (annotate) - [select for diffs] Thu Sep 6 21:38:50 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.633: +2 -1 lines Diff to previous 1.633 http://curl.cheap.co.il is a new mirror in Tel-Aviv, Israel Revision 1.633 - (view) (download) (annotate) - [select for diffs] Mon Sep 3 14:10:32 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.632: +1 -1 lines Diff to previous 1.632 I can't spell Revision 1.632 - (view) (download) (annotate) - [select for diffs] Mon Sep 3 14:08:23 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.631: +2 -0 lines Diff to previous 1.631 curlpp 0.7.1 was relased Revision 1.631 - (view) (download) (annotate) - [select for diffs] Thu Aug 30 23:03:59 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.630: +1 -0 lines Diff to previous 1.630 Added more accurate error code returns from SFTP operations. Added test case 615 to test an SFTP upload failure. Revision 1.630 - (view) (download) (annotate) - [select for diffs] Thu Aug 30 20:34:57 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.629: +2 -0 lines Diff to previous 1.629 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.629 - (view) (download) (annotate) - [select for diffs] Fri Aug 24 14:00:42 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.628: +1 -1 lines Diff to previous 1.628 Bug report #1779054 (http://curl.haxx.se/bug/view.cgi?id=1779054) pointed out that libcurl didn't deal with large responses from server commands, when the single response was consisting of multiple lines but of a total size of 16KB or more. Dan Fandrich improved the ftp test script and provided test case 1006 to repeat the problem, and I fixed the code to make sure this new test case runs fine. Revision 1.628 - (view) (download) (annotate) - [select for diffs] Thu Aug 23 15:00:55 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.627: +1 -0 lines Diff to previous 1.627 ported to OS/400 Revision 1.627 - (view) (download) (annotate) - [select for diffs] Wed Aug 22 22:48:41 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.626: +1 -0 lines Diff to previous 1.626 Bug report #1779751 (http://curl.haxx.se/bug/view.cgi?id=1779751) pointed out that doing first a file:// upload and then an FTP upload crashed libcurl or at best caused furious valgrind complaints. Fixed now by making sure we free and clear the file-specific struct properly when done with it. Revision 1.626 - (view) (download) (annotate) - [select for diffs] Wed Aug 22 14:18:06 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.625: +1 -0 lines Diff to previous 1.625 Bug report #1779054 (http://curl.haxx.se/bug/view.cgi?id=1779054) pointed out that libcurl didn't deal with very long (>16K) FTP server response lines properly. Starting now, libcurl will chop them off (thus the client app will not get the full line) but survive and deal with them fine otherwise. Test case 1003 was added to verify this. Revision 1.625 - (view) (download) (annotate) - [select for diffs] Mon Aug 20 21:54:00 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.624: +3 -1 lines Diff to previous 1.624 Based on a patch by Christian Vogt, the FTP code now sets the upcoming download transfer size much earlier to be possible to get read with CURLINFO_CONTENT_LENGTH_DOWNLOAD as soon as possible. Revision 1.624 - (view) (download) (annotate) - [select for diffs] Fri Aug 17 22:31:51 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.623: +1 -0 lines Diff to previous 1.623 - Robson Braga Araujo filed bug report #1776232 (http://curl.haxx.se/bug/view.cgi?id=1776232) about libcurl calling Curl_client_write(), passing on a const string that the caller may not modify and yet it does (on some platforms). Revision 1.623 - (view) (download) (annotate) - [select for diffs] Fri Aug 17 22:22:43 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.622: +2 -1 lines Diff to previous 1.622 Robson Braga Araujo filed bug report #1776235 (http://curl.haxx.se/bug/view.cgi?id=1776235) about ftp requests with NOBODY on a directory would do a "SIZE (null)" request. This is now fixed and test case 1000 was added to verify. Revision 1.622 - (view) (download) (annotate) - [select for diffs] Fri Aug 17 20:21:32 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.621: +1 -0 lines Diff to previous 1.621 Song Ma provided a patch that cures a problem libcurl has when doing resume HTTP PUT using Digest authentication. Test case 5320 and 5322 were also added to verify the functionality. Revision 1.621 - (view) (download) (annotate) - [select for diffs] Tue Aug 14 10:28:21 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.620: +4 -2 lines Diff to previous 1.620 Andrew Wansink provided an NTLM bugfix: in the case the server sets the flag NTLMFLAG_NEGOTIATE_UNICODE, we need to filter it off because libcurl doesn't unicode encode the strings it packs into the NTLM authenticate packet. Revision 1.620 - (view) (download) (annotate) - [select for diffs] Sat Aug 11 21:05:13 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.619: +2 -1 lines Diff to previous 1.619 Allen Pulsifer provided a patch that makes libcurl set the expected download size earlier when doing HTTP downloads, so that applications and the progress meter etc know get the info earlier in the flow than before. Revision 1.619 - (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.618: +1 -0 lines Diff to previous 1.618 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.618 - (view) (download) (annotate) - [select for diffs] Wed Aug 8 17:51:40 2007 UTC (2 years, 7 months ago) by danf Branch: MAIN CVS Tags: curl-7_17_0-preldapfix Changes since 1.617: +1 -0 lines Diff to previous 1.617 Song Ma noted a zlib memory leak in the illegal compressed header countermeasures code path. Revision 1.617 - (view) (download) (annotate) - [select for diffs] Sat Aug 4 20:58:53 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.616: +3 -2 lines Diff to previous 1.616 another mirror Revision 1.616 - (view) (download) (annotate) - [select for diffs] Fri Aug 3 08:31:47 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.615: +2 -1 lines Diff to previous 1.615 SCP and SFTP support now requires libssh2 0.16 or later Revision 1.615 - (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.614: +3 -1 lines Diff to previous 1.614 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.614 - (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.613: +2 -1 lines Diff to previous 1.613 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.613 - (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.612: +1 -0 lines Diff to previous 1.612 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.612 - (view) (download) (annotate) - [select for diffs] Wed Aug 1 12:58:04 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.611: +2 -1 lines Diff to previous 1.611 Greg Morse reported a problem with POSTing using ANYAUTH to a server requiring NTLM, and he provided test code and a test server and we worked out a bug fix. We failed to count sent body data at times, which then caused internal confusions when libcurl tried to send the rest of the data in order to maintain the same connection alive. (and then I did some minor reformatting of code in lib/http.c) Revision 1.611 - (view) (download) (annotate) - [select for diffs] Mon Jul 30 22:54:02 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.610: +2 -1 lines Diff to previous 1.610 AIX 4 and 5 get to use non-blocking sockets Revision 1.610 - (view) (download) (annotate) - [select for diffs] Mon Jul 30 20:07:43 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.609: +1 -1 lines Diff to previous 1.609 give credit to Greg Zavertnik Revision 1.609 - (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.608: +3 -1 lines Diff to previous 1.608 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.608 - (view) (download) (annotate) - [select for diffs] Mon Jul 23 21:46:26 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.607: +1 -1 lines Diff to previous 1.607 Implemented the parts of Patrick Monnerat's OS/400 patch that introduces support for the OS/400 Secure Sockets Layer library Revision 1.607 - (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.606: +1 -1 lines Diff to previous 1.606 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.606 - (view) (download) (annotate) - [select for diffs] Sun Jul 22 10:19:53 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.605: +0 -49 lines Diff to previous 1.605 fix mess added in my previous commit Revision 1.605 - (view) (download) (annotate) - [select for diffs] Sun Jul 22 10:17:52 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.604: +51 -1 lines Diff to previous 1.604 HTTP Digest auth fix on a re-used connection Revision 1.604 - (view) (download) (annotate) - [select for diffs] Sat Jul 21 21:47:02 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.603: +3 -1 lines Diff to previous 1.603 news Revision 1.603 - (view) (download) (annotate) - [select for diffs] Fri Jul 20 15:33:44 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.602: +2 -1 lines Diff to previous 1.602 PWD for SFTP is fixed Revision 1.602 - (view) (download) (annotate) - [select for diffs] Fri Jul 20 09:38:41 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.601: +2 -1 lines Diff to previous 1.601 the "libssh2 owns the memory don't free it" case Revision 1.601 - (view) (download) (annotate) - [select for diffs] Fri Jul 20 09:35:58 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.600: +5 -2 lines Diff to previous 1.600 Ralf S. Engelschall filed bug report #1757328 (http://curl.haxx.se/bug/view.cgi?id=1757328) and submitted a patch. It turns out we broke login to FTP servers that don't require (nor understand) PASS after the USER command Revision 1.600 - (view) (download) (annotate) - [select for diffs] Tue Jul 17 20:59:53 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.599: +2 -1 lines Diff to previous 1.599 Jofell Gallardo posted a libcurl log using FTP that exposed a bug which made a control connection that was deemed "dead" to yet be re-used in a following request. We must make sure the connection gets closed on this situation. Revision 1.599 - (view) (download) (annotate) - [select for diffs] Fri Jul 13 20:17:35 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.598: +2 -1 lines Diff to previous 1.598 Colin Hogben filed bug report #1750274 (http://curl.haxx.se/bug/view.cgi?id=1750274) and submitted a patch for the case where libcurl did a connect attempt to a non-listening port and didn't provide a human readable error string back. Revision 1.598 - (view) (download) (annotate) - [select for diffs] Fri Jul 13 20:04:53 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.597: +2 -1 lines Diff to previous 1.597 Daniel Cater made libcurl build with CURL_NO_OLDIES defined (which doesn't define the symbols for backwards source compatibility) Revision 1.597 - (view) (download) (annotate) - [select for diffs] Thu Jul 12 21:34:42 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.596: +1 -0 lines Diff to previous 1.596 Made the krb5 code build with Heimdal's GSSAPI lib Revision 1.596 - (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.595: +1 -0 lines Diff to previous 1.595 Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation could in fact get stuck in an endless loop. Revision 1.595 - (view) (download) (annotate) - [select for diffs] Wed Jul 11 22:20:46 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.594: +2 -1 lines Diff to previous 1.594 Made CURLOPT_SSL_VERIFYHOST set to 1 acts as described in the documentation: fail to connect if there is no Common Name field found in the remote cert. We should deprecate the support for this set to 1 anyway soon, since the feature is pointless and most likely never really used by anyone. Revision 1.594 - (view) (download) (annotate) - [select for diffs] Tue Jul 10 22:45:01 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.593: +3 -2 lines Diff to previous 1.593 Shmulik Regev: The tiny patch below fixes a bug (that I introduced :) which happens when negotiating authentication with a proxy (probably with web servers as well) that uses chunked transfer encoding for the 407 error pages. In this case the ''ignorebody'' flag was ignored (no pun intended). Revision 1.593 - (view) (download) (annotate) - [select for diffs] Tue Jul 10 22:31:13 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.592: +2 -2 lines Diff to previous 1.592 Giancarlo Formicuccia reported and fixed a problem with a closed connection to a proxy during CONNECT auth negotiation. Revision 1.592 - (view) (download) (annotate) - [select for diffs] Tue Jul 10 22:27:16 2007 UTC (2 years, 8 months ago) by danf Branch: MAIN Changes since 1.591: +2 -1 lines Diff to previous 1.591 Force the time zone to GMT in the cookie tests in case the user is using one of the so-called 'right' time zones that take into account leap seconds, which causes the tests to fail (as reported by Daniel Black in bug report #1745964). Revision 1.591 - (view) (download) (annotate) - [select for diffs] Tue Jul 10 22:07:33 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.590: +6 -16 lines Diff to previous 1.590 start working on 7.16.5... Revision 1.590 - (view) (download) (annotate) - [select for diffs] Tue Jul 10 21:36:30 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_4 Changes since 1.589: +4 -1 lines Diff to previous 1.589 7.16.4 preps Revision 1.589 - (view) (download) (annotate) - [select for diffs] Fri Jul 6 21:56:42 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.588: +4 -3 lines Diff to previous 1.588 Gavrie Philipson's change, updated numbers Revision 1.588 - (view) (download) (annotate) - [select for diffs] Sun Jul 1 22:01:18 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.587: +3 -1 lines Diff to previous 1.587 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.587 - (view) (download) (annotate) - [select for diffs] Sun Jul 1 21:28:14 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.586: +2 -1 lines Diff to previous 1.586 Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5 proxy Revision 1.586 - (view) (download) (annotate) - [select for diffs] Thu Jun 28 10:47:05 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.585: +6 -4 lines Diff to previous 1.585 reality sync Revision 1.585 - (view) (download) (annotate) - [select for diffs] Tue Jun 26 21:09:28 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.584: +1 -1 lines Diff to previous 1.584 Robert Iakobashvili re-arranged the internal hash code to work with a custom hash function for different hashes, and also expanded the default size for the socket hash table used in multi handles to greatly enhance speed when very many connections are added and the socket API is used. Revision 1.584 - (view) (download) (annotate) - [select for diffs] Mon Jun 25 13:58:14 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.583: +2 -1 lines Diff to previous 1.583 Adjusted how libcurl treats HTTP 1.1 responses without content-lenth or chunked encoding (that also lacks "Connection: close"). It now simply assumes that the connection WILL be closed to signal the end, as that is how RFC2616 section 4.4 point #5 says we should behave. Revision 1.583 - (view) (download) (annotate) - [select for diffs] Mon Jun 25 09:34:44 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.582: +7 -64 lines Diff to previous 1.582 start working towards 7.16.4 Revision 1.582 - (view) (download) (annotate) - [select for diffs] Sun Jun 24 19:32:33 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_3 Changes since 1.581: +1 -0 lines Diff to previous 1.581 As reported by "Tro" in http://curl.haxx.se/mail/lib-2007-06/0161.html and http://curl.haxx.se/mail/lib-2007-06/0238.html, libcurl didn't properly do no-body requests on FTP files on re-used connections properly, or at least it didn't provide the info back in the header callback properly in the subsequent requests. Revision 1.581 - (view) (download) (annotate) - [select for diffs] Thu Jun 21 14:23:38 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.580: +3 -1 lines Diff to previous 1.580 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.580 - (view) (download) (annotate) - [select for diffs] Wed Jun 20 21:57:28 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.579: +2 -1 lines Diff to previous 1.579 Adam Piggott filed bug report #1740263 (http://curl.haxx.se/bug/view.cgi?id=1740263). Adam discovered that when getting a large amount of URLs with curl, they were fetched slower and slower... which turned out to be because the --libcurl data collecting which wrongly always was enabled, but no longer is... Revision 1.579 - (view) (download) (annotate) - [select for diffs] Mon Jun 18 21:09:33 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.578: +2 -1 lines Diff to previous 1.578 Robson Braga Araujo filed bug report #1739100 (http://curl.haxx.se/bug/view.cgi?id=1739100) that mentioned that libcurl could not actually list the contents of the root directory of a given FTP server if the login directory isn't root. I fixed the problem and added three test cases (one is disabled for now since I identified KNOWN_BUGS #44, we cannot use --ftp-method nocwd and list ftp directories). Revision 1.578 - (view) (download) (annotate) - [select for diffs] Thu Jun 14 14:42:21 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.577: +2 -1 lines Diff to previous 1.577 Shmulik Regev fixed a flaw in the multi interface that occurred when doing HTTP CONNECT over a proxy Revision 1.577 - (view) (download) (annotate) - [select for diffs] Thu Jun 14 14:15:21 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.576: +2 -1 lines Diff to previous 1.576 s/HAVE_POLL/HAVE_SYS_POLL_H Revision 1.576 - (view) (download) (annotate) - [select for diffs] Wed Jun 13 20:17:35 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.575: +3 -1 lines Diff to previous 1.575 Tom Regner provided a patch and worked together with James Housley, so now CURLOPT_FTP_CREATE_MISSING_DIRS works for SFTP connections as well as FTP ones. Revision 1.575 - (view) (download) (annotate) - [select for diffs] Wed Jun 13 20:08:19 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.574: +2 -1 lines Diff to previous 1.574 Rich Rauenzahn filed bug report #1733119 (http://curl.haxx.se/bug/view.cgi?id=1733119) and we collaborated on the fix. The problem is that for 64bit HPUX builds, several socket-related functions would still assume int (32 bit) arguments and not socklen_t (64 bit) ones. Revision 1.574 - (view) (download) (annotate) - [select for diffs] Thu Jun 7 21:47:29 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.573: +2 -0 lines Diff to previous 1.573 Daniel S (6 June 2007) - -s/--silent can now be used to toggle off the silence again if used a second time. Daniel S (5 June 2007) - Added Daniel Black's work that adds the first few SOCKS test cases. I also fixed two minor SOCKS problems to make the test cases run fine. Revision 1.573 - (view) (download) (annotate) - [select for diffs] Thu May 31 11:34:32 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.572: +1 -0 lines Diff to previous 1.572 When transferring 500 downloads in parallel with a c-ares enabled build only to find that it crashed miserably, and this was due to some select()isms left in the code. This was due to API restrictions in c-ares 1.3.x, but with the upcoming c-ares 1.4.0 this is no longer the case so now libcurl runs much better with c-ares and the multi interface with > 1024 file descriptors in use. Revision 1.572 - (view) (download) (annotate) - [select for diffs] Thu May 31 08:59:44 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.571: +1 -0 lines Diff to previous 1.571 Feng Tu made (lib)curl support "upload" resuming work for file:// URLs. Revision 1.571 - (view) (download) (annotate) - [select for diffs] Wed May 30 20:04:44 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.570: +1 -0 lines Diff to previous 1.570 Added CURLMOPT_MAXCONNECTS which is a curl_multi_setopt() option for setting the maximum size of the connection cache maximum size of the multi handle. Revision 1.570 - (view) (download) (annotate) - [select for diffs] Sat May 26 22:09:08 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.569: +1 -0 lines Diff to previous 1.569 When working with a problem Stefan Becker had, I found an off-by-one buffer overwrite in Curl_select(). While fixing it, I also improved its performance somewhat by changing calloc to malloc and breaking out of a loop earlier (when possible). Revision 1.569 - (view) (download) (annotate) - [select for diffs] Fri May 25 21:56:27 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.568: +2 -1 lines Diff to previous 1.568 Rob Crittenden fixed bug #1705802 (http://curl.haxx.se/bug/view.cgi?id=1705802), which was filed by Daniel Black identifying several FTP-SSL test cases fail when we build libcurl with NSS for TLS/SSL. Listed as #42 in KNOWN_BUGS. Revision 1.568 - (view) (download) (annotate) - [select for diffs] Tue May 22 20:46:51 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.567: +1 -0 lines Diff to previous 1.567 Andre Guibert de Bruet fixed a memory leak when PKCS #12 parsing failed Revision 1.567 - (view) (download) (annotate) - [select for diffs] Tue May 22 19:51:44 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.566: +3 -1 lines Diff to previous 1.566 Andre Guibert de Bruet fixed a memory leak in the function that verifies the peer's name in the SSL certificate when built for OpenSSL. The leak happens for libcurls with CURL_DOES_CONVERSIONS enabled that fail to convert the CN name from UTF8. Revision 1.566 - (view) (download) (annotate) - [select for diffs] Fri May 18 10:32:48 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.565: +2 -1 lines Diff to previous 1.565 Feng Tu reported that curl -w did wrong on TFTP transfers in bug report #1715394 (http://curl.haxx.se/bug/view.cgi?id=1715394), and the transfer-related info "variables" were indeed overwritten with zeroes wrongly and have now been adjusted. The upload size still isn't accurate. Revision 1.565 - (view) (download) (annotate) - [select for diffs] Thu May 17 21:40:08 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.564: +2 -1 lines Diff to previous 1.564 Feng Tu pointed out a division by zero error in the TFTP connect timeout code for timeouts less than fice seconds, and also provided a fix for it. Revision 1.564 - (view) (download) (annotate) - [select for diffs] Tue May 15 00:28:50 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.563: +2 -0 lines Diff to previous 1.563 Added support for quote commands before a transfer using SFTP and test case 614. Allow SFTP quote commands chmod, chown, chgrp to set a value of 0. Revision 1.563 - (view) (download) (annotate) - [select for diffs] Wed May 9 18:24:27 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.562: +5 -2 lines Diff to previous 1.562 Kristian Gunstone fixed a problem where overwriting an uploaded file with sftp didn't truncate it first, which would corrupt the file if the new file was shorter than the old. Revision 1.562 - (view) (download) (annotate) - [select for diffs] Mon May 7 07:07:55 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.561: +2 -1 lines Diff to previous 1.561 James Bursa fixed a bug in the multi handle code that made the connection cache grow a bit too much, beyond the normal 4 * easy_handles. Revision 1.561 - (view) (download) (annotate) - [select for diffs] Wed May 2 20:42:02 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.560: +3 -1 lines Diff to previous 1.560 Anders Gustafsson remarked that requiring CURLOPT_HTTP_VERSION set to 1.0 when CURLOPT_HTTP200ALIASES is used to avoid the problem mentioned below is not very nice if the client wants to be able to use _either_ a HTTP 1.1 server or one within the aliases list... so starting now, libcurl will simply consider 200-alias matches the to be HTTP 1.0 compliant. Revision 1.560 - (view) (download) (annotate) - [select for diffs] Wed May 2 17:35:47 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.559: +3 -1 lines Diff to previous 1.559 Tobias Rundstrom reported a problem they experienced with xmms2 and recent libcurls, which turned out to be the 25-nov-2006 change which treats HTTP responses without Content-Length or chunked encoding as without bodies. We now added the conditional that the above mentioned response is only without body if the response is HTTP 1.1. Revision 1.559 - (view) (download) (annotate) - [select for diffs] Wed May 2 13:52:38 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.558: +1 -1 lines Diff to previous 1.558 - Jeff Pohlmeyer improved the hiperfifo.c example to use the CURLMOPT_TIMERFUNCTION callback option. Revision 1.558 - (view) (download) (annotate) - [select for diffs] Wed May 2 13:47:56 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.557: +2 -1 lines Diff to previous 1.557 - Set the timeout for easy handles to expire really soon after addition or when CURLM_CALL_MULTI_PERFORM is returned from curl_multi_socket*/perform, to make applications using only curl_multi_socket() to properly function when adding easy handles "on the fly". Bug report and test app provided by Michael Wallner. Revision 1.557 - (view) (download) (annotate) - [select for diffs] Sat Apr 28 21:01:30 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.556: +2 -0 lines Diff to previous 1.556 Peter O'Gorman fixed libcurl to not init GnuTLS as early as we did before, since it then inits libgcrypt and libgcrypt is being evil and EXITS the application if it fails to get a fine random seed. That's really not a nice thing to do by a library. Revision 1.556 - (view) (download) (annotate) - [select for diffs] Sat Apr 28 20:27:07 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.555: +3 -1 lines Diff to previous 1.555 Frank Hempel fixed a curl_easy_duphandle() crash on a handle that had been removed from a multi handle, and then fixed another flaw that prevented curl_easy_duphandle() to work even after the first fix - the handle was still marked as using the multi interface. Revision 1.555 - (view) (download) (annotate) - [select for diffs] Thu Apr 26 21:30:29 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.554: +4 -2 lines Diff to previous 1.554 Peter O'Gorman found a problem with SCP downloads when the downloaded file was 16385 bytes (16K+1) and it turned out we didn't properly always "suck out" all data from libssh2. The effect being that libcurl would hang on the socket waiting for data when libssh2 had in fact already read it all... Revision 1.554 - (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.553: +1 -1 lines Diff to previous 1.553 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.553 - (view) (download) (annotate) - [select for diffs] Wed Apr 25 03:00:10 2007 UTC (2 years, 10 months ago) by yangtse Branch: MAIN Changes since 1.552: +2 -1 lines Diff to previous 1.552 Steve Little's fixes to allow compilation on VMS 64-bit mode Revision 1.552 - (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.551: +4 -3 lines Diff to previous 1.551 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.551 - (view) (download) (annotate) - [select for diffs] Sun Apr 22 08:51:11 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.550: +5 -3 lines Diff to previous 1.550 configure fix and new mirror Revision 1.550 - (view) (download) (annotate) - [select for diffs] Sat Apr 21 21:32:31 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.549: +5 -1 lines Diff to previous 1.549 Daniel Black filed bug #1704675 (http://curl.haxx.se/bug/view.cgi?id=1704675) identifying a double-free problem in the SSL-dealing layer, telling GnuTLS to free NULL credentials on closedown after a failure and a bad #ifdef for NSS when closing down SSL. Revision 1.549 - (view) (download) (annotate) - [select for diffs] Fri Apr 20 00:07:19 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.548: +1 -0 lines Diff to previous 1.548 - Save one call to curlx_tvnow(), which calls gettimeofday(), in each of Curl_socket_ready(), Curl_poll() and Curl_select() when these are called with a zero timeout or a timeout value indicating a blocking call should be performed. These unnecessary calls to gettimeofday() got introduced in 7.16.2 when fixing 'timeout would restart when signal caught while awaiting socket events' on 20 March 2007. - Move some loop breaking logic from the while clause into the loop, avoiding compiler warning 'assignment within conditional expression' Revision 1.548 - (view) (download) (annotate) - [select for diffs] Wed Apr 18 20:11:47 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.547: +1 -1 lines Diff to previous 1.547 - James Housley made SFTP uploads use libssh2's non-blocking API (if available) Revision 1.547 - (view) (download) (annotate) - [select for diffs] Wed Apr 18 20:02:41 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.546: +3 -0 lines Diff to previous 1.546 - Prevent the internal progress meter from updating more frequently than once per second. Revision 1.546 - (view) (download) (annotate) - [select for diffs] Mon Apr 16 16:34:08 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.545: +3 -2 lines Diff to previous 1.545 - Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is a function that deprecates the curl_multi_socket() function. Using the new function the application tell libcurl what action that was found in the socket that it passes in. This gives a significant performance boost as it allows libcurl to avoid a call to poll()/select() for every call to curl_multi_socket*(). Revision 1.545 - (view) (download) (annotate) - [select for diffs] Mon Apr 16 11:55:43 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.544: +2 -1 lines Diff to previous 1.544 Jay Austin added "DH PARAMETERS" to the stunnel.pem certificate Revision 1.544 - (view) (download) (annotate) - [select for diffs] Sat Apr 14 20:27:11 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.543: +2 -3 lines Diff to previous 1.543 updates Revision 1.543 - (view) (download) (annotate) - [select for diffs] Fri Apr 13 11:35:19 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.542: +4 -0 lines Diff to previous 1.542 Fix test case 534 which started to fail 2007-04-13 due to the existance of a new host on the net with the same silly domain the test was using for a host which was supposed not to exist. Revision 1.542 - (view) (download) (annotate) - [select for diffs] Thu Apr 12 21:53:18 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.541: +5 -3 lines Diff to previous 1.541 update! Revision 1.541 - (view) (download) (annotate) - [select for diffs] Wed Apr 11 13:31:51 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.540: +9 -51 lines Diff to previous 1.540 restart towards 7.16.3 Revision 1.540 - (view) (download) (annotate) - [select for diffs] Sun Apr 8 22:23:41 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_2 Changes since 1.539: +1 -0 lines Diff to previous 1.539 builds on QNX 6 again Revision 1.539 - (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.538: +1 -1 lines Diff to previous 1.538 Rob Jones fixed better #ifdef'ing for a bunch of #include lines. Revision 1.538 - (view) (download) (annotate) - [select for diffs] Mon Apr 2 21:24:05 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.537: +2 -1 lines Diff to previous 1.537 Nick Zitzmann made CURLOPT_POSTQUOTE work for SFTP as well. Revision 1.537 - (view) (download) (annotate) - [select for diffs] Sun Apr 1 07:51:30 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.536: +2 -1 lines Diff to previous 1.536 Matt Kraai provided a patch that makes curl build on QNX 6 fine again. Mostly by letting configure check for setmode and ifdef on HAVE_SETMODE. NOTE: non- configure platforms that havve setmode() needs their hard-coded config.h files fixed. I fixed the src/config-win32.h. Revision 1.536 - (view) (download) (annotate) - [select for diffs] Sat Mar 31 21:38:59 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.535: +1 -0 lines Diff to previous 1.535 26 flaws identified by coverity.com Revision 1.535 - (view) (download) (annotate) - [select for diffs] Sat Mar 31 20:47:23 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.534: +1 -0 lines Diff to previous 1.534 "Pixel" fixed a problem that appeared when you used -f with user+password embedded in the URL. Revision 1.534 - (view) (download) (annotate) - [select for diffs] Tue Mar 27 18:15:26 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.533: +1 -0 lines Diff to previous 1.533 New Internal wrapper function Curl_select() around select (2), it uses poll() when a fine poll() is available, so now libcurl can be built without select() support at all if a fine poll() is available. Revision 1.533 - (view) (download) (annotate) - [select for diffs] Sun Mar 25 08:16:42 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.532: +1 -1 lines Diff to previous 1.532 added Daniel Johnson Revision 1.532 - (view) (download) (annotate) - [select for diffs] Fri Mar 23 17:59:40 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.531: +3 -1 lines Diff to previous 1.531 Added --pubkey option to curl and made --key also work for SCP/SFTP, plus made --pass work on an SSH private key as well. Revision 1.531 - (view) (download) (annotate) - [select for diffs] Tue Mar 20 20:00:40 2007 UTC (3 years ago) by yangtse Branch: MAIN Changes since 1.530: +2 -0 lines Diff to previous 1.530 Fixed: When a signal was caught awaiting for an event using Curl_select() or Curl_poll() with a non-zero timeout both functions would restart the specified timeout. This could even lead to the extreme case that if a signal arrived with a frecuency lower to the specified timeout neither function would ever exit. Added experimental symbol definition check CURL_ACKNOWLEDGE_EINTR in Curl_select() and Curl_poll(). When compiled with CURL_ACKNOWLEDGE_EINTR defined both functions will return as soon as a signal is caught. Use it at your own risk, all calls to these functions in the library should be revisited and checked before fully supporting this feature. Revision 1.530 - (view) (download) (annotate) - [select for diffs] Mon Mar 19 12:02:33 2007 UTC (3 years ago) by yangtse Branch: MAIN Changes since 1.529: +1 -0 lines Diff to previous 1.529 Bryan Henderson fixed the progress function so that it can get called more frequently allowing same calling frecuency for the client progress callback, while keeping the once a second frecuency for speed calculations and internal display of the transfer progress. Revision 1.529 - (view) (download) (annotate) - [select for diffs] Tue Mar 13 19:54:10 2007 UTC (3 years ago) by danf Branch: MAIN Changes since 1.528: +1 -0 lines Diff to previous 1.528 --ftp-ssl-control is now honoured on ftps:// URLs Revision 1.528 - (view) (download) (annotate) - [select for diffs] Sun Mar 11 09:11:29 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.527: +0 -2 lines Diff to previous 1.527 reverted the pselect patch => http://curl.haxx.se/mail/lib-2007-03/0100.html Revision 1.527 - (view) (download) (annotate) - [select for diffs] Sat Mar 10 22:51:20 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.526: +2 -1 lines Diff to previous 1.526 Eygene Ryabinkin fixed a use-after-free issue with HTTP transfers with the multi interface Revision 1.526 - (view) (download) (annotate) - [select for diffs] Sat Mar 10 22:36:53 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.525: +1 -1 lines Diff to previous 1.525 Bryan Henderson Revision 1.525 - (view) (download) (annotate) - [select for diffs] Sat Mar 10 12:11:21 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.524: +2 -0 lines Diff to previous 1.524 - Bryan Henderson introduces two things: 1) the progress callback gets called more frequently (at times) 2) libcurl *might* call the callback when it receives a signal Revision 1.524 - (view) (download) (annotate) - [select for diffs] Sat Mar 10 11:54:38 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.523: +1 -1 lines Diff to previous 1.523 pycurl 7.16.1 Revision 1.523 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 22:48:07 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.522: +3 -1 lines Diff to previous 1.522 - Robert Iakobashvili fixed CURLOPT_INTERFACE for IPv6. Revision 1.522 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 21:51:41 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.521: +1 -1 lines Diff to previous 1.521 - Justin Fletcher fixed a file descriptor leak in the curl tool when trying to upload a file it couldn't open. Bug #1676581 (http://curl.haxx.se/bug/view.cgi?id=1676581) Revision 1.521 - (view) (download) (annotate) - [select for diffs] Fri Mar 2 22:42:43 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.520: +2 -1 lines Diff to previous 1.520 - Robert A. Monat and Shmulik Regev helped out to fix the new */Makefile.vc8
makefiles that are included in the source release archives, generated from
the Makefile.vc6 files by the maketgz script. I also modified the root
Makefile to have a VC variable that defaults to vc6 but can be overridden to
allow it to be used for vc8 as well. Like this:
nmake VC=vc8 vc
Revision 1.520 - (view) (download) (annotate) - [select for diffs] Tue Feb 27 22:12:17 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.519: +2 -1 lines Diff to previous 1.519 - 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.519 - (view) (download) (annotate) - [select for diffs] Tue Feb 27 13:51:20 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.518: +2 -1 lines Diff to previous 1.518 HTTP Digest header parsing fix Revision 1.518 - (view) (download) (annotate) - [select for diffs] Sun Feb 25 11:50:11 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.517: +3 -2 lines Diff to previous 1.517 Two new mirrors, but the total amount of mirrors still don't go up very much due to the frequent dying of mirrors... Revision 1.517 - (view) (download) (annotate) - [select for diffs] Sun Feb 25 11:38:13 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.516: +3 -1 lines Diff to previous 1.516 - Adam D. Moss made the HTTP CONNECT procedure less blocking when used from the multi interface. Note that it still does a part of the connection in a blocking manner. Revision 1.516 - (view) (download) (annotate) - [select for diffs] Wed Feb 21 21:59:41 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.515: +4 -2 lines Diff to previous 1.515 - 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.515 - (view) (download) (annotate) - [select for diffs] Tue Feb 20 22:08:50 2007 UTC (3 years ago) by linus Branch: MAIN Changes since 1.514: +4 -0 lines Diff to previous 1.514 New FTP CCC functionality - adds passive and active mode to accomodate for different server behaviour Revision 1.514 - (view) (download) (annotate) - [select for diffs] Mon Feb 19 21:50:03 2007 UTC (3 years, 1 month ago) by danf Branch: MAIN Changes since 1.513: +1 -0 lines Diff to previous 1.513 Mention curl-config dependencies fix. Revision 1.513 - (view) (download) (annotate) - [select for diffs] Mon Feb 19 12:37:04 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.512: +2 -1 lines Diff to previous 1.512 Ian Turner fixed the libcurl.m4 macro's support for --with-libcurl. AC_PATH_PROG was not used properly. Revision 1.512 - (view) (download) (annotate) - [select for diffs] Mon Feb 19 12:20:32 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.511: +1 -0 lines Diff to previous 1.511 - Shmulik Regev found a memory leak in re-used HTTPS connections, at least when the multi interface was used. Revision 1.511 - (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.510: +3 -2 lines Diff to previous 1.510 - Robson Braga Araujo made passive FTP transfers work with SOCKS (both 4 and 5). Revision 1.510 - (view) (download) (annotate) - [select for diffs] Sun Feb 18 23:02:43 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.509: +3 -1 lines Diff to previous 1.509 - 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.509 - (view) (download) (annotate) - [select for diffs] Fri Feb 16 15:37:05 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.508: +2 -1 lines Diff to previous 1.508 - Duncan Mac-Vicar Prett and Michal Marek reported problems with resetting CURLOPT_RANGE back to no range on an easy handle when using FTP. Revision 1.508 - (view) (download) (annotate) - [select for diffs] Tue Feb 13 22:50:16 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.507: +6 -5 lines Diff to previous 1.507 ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' on the left side of @ to make it short(er). Revision 1.507 - (view) (download) (annotate) - [select for diffs] Mon Feb 12 22:32:37 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.506: +3 -1 lines Diff to previous 1.506 Rob Crittenden added support for NSS (Network Security Service) for the SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/ Revision 1.506 - (view) (download) (annotate) - [select for diffs] Mon Feb 12 21:13:47 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.505: +5 -3 lines Diff to previous 1.505 - 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.505 - (view) (download) (annotate) - [select for diffs] Mon Feb 12 12:17:11 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.504: +2 -1 lines Diff to previous 1.504 Jeff Pohlmeyer for his bug fix today, but too specific to get desrcibed as a bugfix here ;-) Revision 1.504 - (view) (download) (annotate) - [select for diffs] Mon Feb 5 22:51:32 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.503: +2 -2 lines Diff to previous 1.503 - 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.503 - (view) (download) (annotate) - [select for diffs] Mon Feb 5 02:43:21 2007 UTC (3 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.502: +1 -1 lines Diff to previous 1.502 cookie expiry date in several test cases set to year 2030/2035 Revision 1.502 - (view) (download) (annotate) - [select for diffs] Sat Feb 3 09:34:03 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.501: +4 -3 lines Diff to previous 1.501 - Yang Tse fixed the cookie expiry date in several test cases that started to fail since they used "1 feb 2007"... - 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.501 - (view) (download) (annotate) - [select for diffs] Fri Feb 2 02:30:16 2007 UTC (3 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.500: +1 -1 lines Diff to previous 1.500 In testsuite, update test cookies expiration from 2007-Feb-1 to 2038-Feb-1 Revision 1.500 - (view) (download) (annotate) - [select for diffs] Tue Jan 30 12:25:55 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.499: +8 -57 lines Diff to previous 1.499 start working on 7.16.2 Revision 1.499 - (view) (download) (annotate) - [select for diffs] Mon Jan 29 10:12:30 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_16_1 Changes since 1.498: +1 -0 lines Diff to previous 1.498 the user-agent fix Revision 1.498 - (view) (download) (annotate) - [select for diffs] Mon Jan 29 09:26:37 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.497: +1 -1 lines Diff to previous 1.497 - Michael Wallner reported that when doing a CONNECT with a custom User-Agent header, you got _two_ User-Agent headers in the CONNECT request...! Added test case 287 to verify the fix. Revision 1.497 - (view) (download) (annotate) - [select for diffs] Sun Jan 28 12:58:13 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.496: +6 -1 lines Diff to previous 1.496 curl_easy_reset() now resets the CA bundle path correctly Revision 1.496 - (view) (download) (annotate) - [select for diffs] Thu Jan 25 15:58:00 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.495: +2 -1 lines Diff to previous 1.495 - Added the --libcurl [file] option to curl. Append this option to any ordinary curl command line, and you will get a libcurl-using source code written to the file that does the equivalent operation of what your command line operation does! Revision 1.495 - (view) (download) (annotate) - [select for diffs] Tue Jan 23 22:13:52 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.494: +2 -2 lines Diff to previous 1.494 recount Revision 1.494 - (view) (download) (annotate) - [select for diffs] Tue Jan 16 22:22:13 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.493: +4 -1 lines Diff to previous 1.493 - 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.493 - (view) (download) (annotate) - [select for diffs] Sun Jan 14 14:57:53 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.492: +3 -2 lines Diff to previous 1.492 - 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.492 - (view) (download) (annotate) - [select for diffs] Sat Jan 13 23:33:50 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.491: +3 -1 lines Diff to previous 1.491 4GB download and cookielist "ALL" fixes Revision 1.491 - (view) (download) (annotate) - [select for diffs] Fri Jan 5 23:11:15 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.490: +3 -2 lines Diff to previous 1.490 - 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.490 - (view) (download) (annotate) - [select for diffs] Wed Jan 3 23:04:39 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.489: +1 -0 lines Diff to previous 1.489 - David McCreedy made changes to allow base64 encoding/decoding to work on non-ASCII platforms. Revision 1.489 - (view) (download) (annotate) - [select for diffs] Wed Jan 3 22:18:38 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.488: +1 -0 lines Diff to previous 1.488 - Matt Witherspoon fixed the flaw which made libcurl 7.16.0 always store downloaded data in two buffers, just to be able to deal with a special HTTP pipelining case. That is now only activated for pipelined transfers. In Matt's case, it showed as a considerable performance difference, Revision 1.488 - (view) (download) (annotate) - [select for diffs] Tue Jan 2 22:34:57 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.487: +5 -1 lines Diff to previous 1.487 - Victor Snezhko helped us fix bug report #1603712 (http://curl.haxx.se/bug/view.cgi?id=1603712) (known bug #36) --limit-rate (CURLOPT_MAX_SEND_SPEED_LARGE and CURLOPT_MAX_RECV_SPEED_LARGE) are broken on Windows (since 7.16.0, but that's when they were introduced as previous to that the limiting logic was made in the application only and not in the library). It was actually also broken on select()-based systems (as apposed to poll()) but we haven't had any such reports. We now use select(), Sleep() or delay() properly to sleep a while without waiting for anything input or output when the rate limiting is activated with the easy interface. Revision 1.487 - (view) (download) (annotate) - [select for diffs] Fri Dec 29 11:32:14 2006 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.486: +2 -0 lines Diff to previous 1.486 curl_easy_duphandle() sets the magic number in the new handle Revision 1.486 - (view) (download) (annotate) - [select for diffs] Mon Dec 25 22:35:48 2006 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.485: +2 -0 lines Diff to previous 1.485 mention the no_proxy work Revision 1.485 - (view) (download) (annotate) - [select for diffs] Fri Dec 22 15:04:59 2006 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.484: +1 -1 lines Diff to previous 1.484 - 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.484 - (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.483: +1 -0 lines Diff to previous 1.483 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.483 - (view) (download) (annotate) - [select for diffs] Thu Dec 21 10:15:39 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.482: +3 -1 lines Diff to previous 1.482 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.482 - (view) (download) (annotate) - [select for diffs] Sat Dec 16 21:33:51 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.481: +2 -1 lines Diff to previous 1.481 Brendan Jurd provided a fix that now prevents libcurl from getting a SIGPIPE during certain conditions when GnuTLS is used. Revision 1.481 - (view) (download) (annotate) - [select for diffs] Mon Dec 11 09:32:58 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.480: +3 -1 lines Diff to previous 1.480 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.480 - (view) (download) (annotate) - [select for diffs] Wed Dec 6 09:37:44 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.479: +2 -1 lines Diff to previous 1.479 Sebastien Willemijns reported bug #1603712 (http://curl.haxx.se/bug/view.cgi?id=1603712) which is about connections getting cut off prematurely when --limit-rate is used. While I found no such problems in my tests nor in my reading of the code, I found that the --limit-rate code was severly flawed (since it was moved into the lib, since 7.15.5) when used with the easy interface and it didn't work as documented so I reworked it somewhat and now it works for my tests. Revision 1.479 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 21:40:14 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.478: +2 -1 lines Diff to previous 1.478 Stefan Krause pointed out a compiler warning with a picky MSCV compiler when passing a curl_off_t argument to the Curl_read_rewind() function which takes an size_t argument. Curl_read_rewind() also had debug code left in it and it was put in a different source file with no good reason when only used from one single spot. Revision 1.478 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 16:04:01 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.477: +1 -0 lines Diff to previous 1.477 Sh Diao reported that CURLOPT_CLOSEPOLICY doesn't work, and indeed, there is no code present in the library that receives the option. Since it was not possible to use, we know that no current users exist and thus we simply removed it from the docs and made the code always use the default path of the code. Revision 1.477 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 15:36:26 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.476: +2 -1 lines Diff to previous 1.476 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.476 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 15:17:32 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.475: +2 -1 lines Diff to previous 1.475 CURLOPT_FORBID_REUSE works again with a cleaned up order of doing things in Curl_done() Revision 1.475 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 14:57:43 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.474: +2 -1 lines Diff to previous 1.474 Martin Skinner brought back bug report #1230118 to haunt us once again. (http://curl.haxx.se/bug/view.cgi?id=1230118) curl_getdate() did not work properly for all input dates on Windows. It was mostly seen on some TZ time zones using DST. Luckily, Martin also provided a fix. Revision 1.474 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 13:49:29 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.473: +3 -2 lines Diff to previous 1.473 Alexey Simak filed bug report #1600447 (http://curl.haxx.se/bug/view.cgi?id=1600447) in which he noted that active FTP connections don't work with the multi interface. The problem is here that the multi interface state machine has a state during which it can wait for the data connection to connect, but the active connection is not done in the same step in the sequence as the passive one is so it doesn't quite work for active. The active FTP code still use a blocking function to allow the remote server to connect. The fix (work-around is a better word) for this problem is to set the boolean prematurely that the data connection is completed, so that the "wait for connect" phase ends at once. Revision 1.473 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 13:37:06 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.472: +3 -1 lines Diff to previous 1.472 Matt Witherspoon fixed a problem case when the CPU load went to 100% when a HTTP upload was disconnected: "What appears to be happening is that my system (Linux 2.6.17 and 2.6.13) is setting *only* POLLHUP on poll() when the conditions in my previous mail occur. As you can see, select.c:Curl_select() does not check for POLLHUP. So basically what was happening, is poll() was returning immediately (with POLLHUP set), but when Curl_select() looked at the bits, neither POLLERR or POLLOUT was set. This still caused Curl_readwrite() to be called, which quickly returned. Then the transfer() loop kept continuing at full speed forever." Revision 1.472 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 13:21:55 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.471: +2 -1 lines Diff to previous 1.471 curl.dsmirror.nl is another mirror Revision 1.471 - (view) (download) (annotate) - [select for diffs] Fri Dec 1 07:49:22 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.470: +2 -1 lines Diff to previous 1.470 Toon Verwaest reported that there are servers that send the Content-Range: header in a third, not suppported by libcurl, format and we agreed that we could make the parser more forgiving to accept all the three found variations. Revision 1.470 - (view) (download) (annotate) - [select for diffs] Sat Nov 25 13:32:04 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.469: +3 -1 lines Diff to previous 1.469 Venkat Akella found out that libcurl did not like HTTP responses that simply responded with a single status line and no headers nor body. Starting now, a HTTP response on a persistent connection (i.e not set to be closed after the response has been taken care of) must have Content-Length or chunked encoding set, or libcurl will simply assume that there is no body. To my horror I learned that we had no less than 57(!) test cases that did bad HTTP responses like this, and even the test http server (sws) responded badly when queried by the test system if it is the test system. So although the actual fix for the problem was tiny, going through all the newly failing test cases got really painful and boring. Revision 1.469 - (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.468: +1 -1 lines Diff to previous 1.468 James Housley did lots of work and introduced SFTP downloads. Revision 1.468 - (view) (download) (annotate) - [select for diffs] Tue Nov 21 07:45:49 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.467: +1 -1 lines Diff to previous 1.467 new french mirror Revision 1.467 - (view) (download) (annotate) - [select for diffs] Sat Nov 18 14:46:33 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.466: +3 -1 lines Diff to previous 1.466 new ruby binding, new tclcurl release Revision 1.466 - (view) (download) (annotate) - [select for diffs] Mon Nov 13 17:29:07 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.465: +1 -0 lines Diff to previous 1.465 Ron in bug #1595348 (http://curl.haxx.se/bug/view.cgi?id=1595348) pointed out a stack overwrite (and the corresponding fix) on 64bit Windows when dealing with HTTP chunked encoding. Revision 1.465 - (view) (download) (annotate) - [select for diffs] Thu Nov 9 21:58:28 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.464: +1 -1 lines Diff to previous 1.464 Nir Soffer updated libcurl.framework.make: fix symlinks, should link to Versions, not to ./Versions and indentation improvments Revision 1.464 - (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.463: +3 -1 lines Diff to previous 1.463 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.463 - (view) (download) (annotate) - [select for diffs] Thu Nov 9 21:36:18 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.462: +4 -1 lines Diff to previous 1.462 Ciprian Badescu found a SIGSEGV when doing multiple TFTP transfers using the multi interface, but I could also repeat it doing multiple sequential ones with the easy interface. Using Ciprian's test case, I could fix it. Revision 1.462 - (view) (download) (annotate) - [select for diffs] Wed Nov 8 21:49:14 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.461: +3 -1 lines Diff to previous 1.461 Bradford Bruce reported that when setting CURLOPT_DEBUGFUNCTION without CURLOPT_VERBOSE set to non-zero, you still got a few debug messages from the SSL handshake. This is now stopped. Revision 1.461 - (view) (download) (annotate) - [select for diffs] Tue Nov 7 15:21:11 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.460: +1 -1 lines Diff to previous 1.460 add missing names Revision 1.460 - (view) (download) (annotate) - [select for diffs] Fri Nov 3 12:43:55 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.459: +1 -1 lines Diff to previous 1.459 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.459 - (view) (download) (annotate) - [select for diffs] Thu Nov 2 22:11:38 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.458: +1 -1 lines Diff to previous 1.458 update the counter Revision 1.458 - (view) (download) (annotate) - [select for diffs] Thu Nov 2 21:56:40 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.457: +2 -2 lines Diff to previous 1.457 James Housley brought support for SCP transfers Revision 1.457 - (view) (download) (annotate) - [select for diffs] Mon Oct 30 08:52:12 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.456: +8 -55 lines Diff to previous 1.456 start working on 7.16.1 Revision 1.456 - (view) (download) (annotate) - [select for diffs] Sun Oct 29 23:03:14 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_0 Changes since 1.455: +2 -1 lines Diff to previous 1.455 7.16.0 material Revision 1.455 - (view) (download) (annotate) - [select for diffs] Wed Oct 25 20:40:14 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.454: +4 -3 lines Diff to previous 1.454 Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for the case when 401 or 407 are returned, *IF* no auth credentials have been given. The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401 and 407 cases when auth credentials is given, but we've now covered this somewhat more. You might get some amounts of headers transferred before this situation is detected, like for when a "100-continue" is received as a response to a POST/PUT and a 401 or 407 is received immediately afterwards. Added test 281 to verify this change. Revision 1.454 - (view) (download) (annotate) - [select for diffs] Sat Oct 21 12:49:45 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.453: +2 -1 lines Diff to previous 1.453 Nir Soffer for his Makefile.am fix Revision 1.453 - (view) (download) (annotate) - [select for diffs] Sat Oct 21 11:32:06 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.452: +2 -1 lines Diff to previous 1.452 Armel Asselin separated CA cert verification problems from problems with reading the (local) CA cert file to let users easier pinpoint the actual problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code. Revision 1.452 - (view) (download) (annotate) - [select for diffs] Wed Oct 18 11:13:56 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.451: +2 -0 lines Diff to previous 1.451 changes done the last few days Revision 1.451 - (view) (download) (annotate) - [select for diffs] Tue Oct 17 08:07:48 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.450: +2 -1 lines Diff to previous 1.450 Please welcome our new haxx.se curl mirror, for really fast Swedish access. Revision 1.450 - (view) (download) (annotate) - [select for diffs] Fri Oct 13 21:02:28 2006 UTC (3 years, 5 months ago) by danf Branch: MAIN Changes since 1.449: +3 -1 lines Diff to previous 1.449 The tagging of application/x-www-form-urlencoded POST body data sent to the CURLOPT_DEBUGFUNCTION callback has been fixed (it was erroneously included as part of the header). A message was also added to the command line tool to show when data is being sent, enabled when --verbose is used. Revision 1.449 - (view) (download) (annotate) - [select for diffs] Thu Oct 12 14:30:48 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.448: +1 -0 lines Diff to previous 1.448 Starting now, adding an easy handle to a multi stack that was already added to a multi stack will cause CURLM_BAD_EASY_HANDLE to get returned. Revision 1.448 - (view) (download) (annotate) - [select for diffs] Thu Oct 12 08:36:48 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.447: +1 -0 lines Diff to previous 1.447 Jeff Pohlmeyer has been working with the hiperfifo.c example source code, and while doing so it became apparent that the current timeout system for the socket API really was a bit awkward since it become quite some work to be sure we have the correct timeout set. Jeff then provided the new CURLMOPT_TIMERFUNCTION that is yet another callback the app can set to get to know when the general timeout time changes and thus for an application like hiperfifo.c it makes everything a lot easier and nicer. There's a CURLMOPT_TIMERDATA option too of course in good old libcurl tradition. Revision 1.447 - (view) (download) (annotate) - [select for diffs] Mon Oct 9 21:04:48 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.446: +4 -1 lines Diff to previous 1.446 new mirrors Revision 1.446 - (view) (download) (annotate) - [select for diffs] Fri Oct 6 21:19:58 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.445: +1 -1 lines Diff to previous 1.445 Bogdan Nicula's hanging test case was converted to test case 533 and the test now runs fine. Revision 1.445 - (view) (download) (annotate) - [select for diffs] Sat Sep 30 20:31:11 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.444: +4 -2 lines Diff to previous 1.444 Support for FTP third party transfers is now dropped Revision 1.444 - (view) (download) (annotate) - [select for diffs] Thu Sep 28 21:26:06 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.443: +6 -2 lines Diff to previous 1.443 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.443 - (view) (download) (annotate) - [select for diffs] Sun Sep 24 10:41:01 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.442: +2 -1 lines Diff to previous 1.442 Cory Nelson made libcurl use the WSAPoll() function if built for Windows Vista (_WIN32_WINNT >= 0x0600) Revision 1.442 - (view) (download) (annotate) - [select for diffs] Sat Sep 23 20:50:44 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.441: +3 -3 lines Diff to previous 1.441 updated numbers Revision 1.441 - (view) (download) (annotate) - [select for diffs] Sat Sep 23 19:37:23 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.440: +3 -1 lines Diff to previous 1.440 Mike Protts added --ftp-ssl-control to make curl use FTP-SSL, but only encrypt the control connection and use the data connection "plain". Revision 1.440 - (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.439: +1 -0 lines Diff to previous 1.439 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.439 - (view) (download) (annotate) - [select for diffs] Thu Sep 21 20:52:59 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.438: +1 -0 lines Diff to previous 1.438 (FTP) a failed upload does not invalidate the control connection Revision 1.438 - (view) (download) (annotate) - [select for diffs] Wed Sep 20 21:49:43 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.437: +1 -0 lines Diff to previous 1.437 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.437 - (view) (download) (annotate) - [select for diffs] Tue Sep 12 11:31:34 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.436: +2 -1 lines Diff to previous 1.436 stuff we do Revision 1.436 - (view) (download) (annotate) - [select for diffs] Mon Sep 11 17:18:18 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.435: +1 -0 lines Diff to previous 1.435 - 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.435 - (view) (download) (annotate) - [select for diffs] Sun Sep 10 22:15:58 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.434: +2 -1 lines Diff to previous 1.434 curl_multi_socket() fix thanks to Jeff's test code Revision 1.434 - (view) (download) (annotate) - [select for diffs] Sat Sep 9 11:45:27 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.433: +2 -1 lines Diff to previous 1.433 Michele Bini fixed how the hostname is put in NTLM packages. As servers don't expect fully qualified names we need to cut them off at the first dot. Revision 1.433 - (view) (download) (annotate) - [select for diffs] Fri Sep 8 22:17:39 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.432: +1 -0 lines Diff to previous 1.432 Peter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some of them can be completetly removed though... Revision 1.432 - (view) (download) (annotate) - [select for diffs] Thu Sep 7 21:49:20 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.431: +3 -2 lines Diff to previous 1.431 Major overhaul introducing http pipelining support and shared connection cache within the multi handle. Revision 1.431 - (view) (download) (annotate) - [select for diffs] Mon Sep 4 22:21:32 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_6-prepipeline Changes since 1.430: +3 -2 lines Diff to previous 1.430 spell fix and added Jari Revision 1.430 - (view) (download) (annotate) - [select for diffs] Mon Sep 4 06:17:55 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.429: +1 -1 lines Diff to previous 1.429 proper credit Revision 1.429 - (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.428: +2 -0 lines Diff to previous 1.428 - "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.428 - (view) (download) (annotate) - [select for diffs] Thu Aug 31 12:53:39 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.427: +4 -1 lines Diff to previous 1.427 Dmitriy Sergeyev found and fixed a multi interface flaw when using asynch name resolves. It could get stuck in the wrong state. Revision 1.427 - (view) (download) (annotate) - [select for diffs] Tue Aug 29 14:39:33 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.426: +3 -2 lines Diff to previous 1.426 David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to allow applications to set their own socket options. Revision 1.426 - (view) (download) (annotate) - [select for diffs] Fri Aug 25 13:53:22 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.425: +3 -1 lines Diff to previous 1.425 Armel Asselin reported that the 'running_handles' counter wasn't updated properly if you removed a "live" handle from a multi handle with curl_multi_remove_handle(). Revision 1.425 - (view) (download) (annotate) - [select for diffs] Tue Aug 22 21:23:25 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.424: +1 -1 lines Diff to previous 1.424 David McCreedy fixed a remaining mistake from the August 19 TYPE change. Revision 1.424 - (view) (download) (annotate) - [select for diffs] Tue Aug 22 21:21:01 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.423: +3 -1 lines Diff to previous 1.423 Peter Sylvester pointed out a flaw in the AllowServerConnect() in the FTP code when doing pure ipv6 EPRT connections. Revision 1.423 - (view) (download) (annotate) - [select for diffs] Mon Aug 21 06:39:52 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.422: +4 -4 lines Diff to previous 1.422 clarify for what protocols the changes are Revision 1.422 - (view) (download) (annotate) - [select for diffs] Sat Aug 19 21:18:36 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.421: +1 -0 lines Diff to previous 1.421 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.421 - (view) (download) (annotate) - [select for diffs] Fri Aug 18 23:17:34 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.420: +2 -0 lines Diff to previous 1.420 Armel Asselin fixed a crash in the FTP code when using SINGLECWD mode and files in the root directory. Revision 1.420 - (view) (download) (annotate) - [select for diffs] Fri Aug 18 22:54:58 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.419: +1 -1 lines Diff to previous 1.419 Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn't send the whole request at once, even though the Expect: header was disabled by the application. An effect of this change is also that small (< 1024 bytes) POSTs are now always sent without Expect: header since we deem it more costly to bother about that than the risk that we send the data in vain. Revision 1.419 - (view) (download) (annotate) - [select for diffs] Wed Aug 16 17:56:49 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.418: +8 -0 lines Diff to previous 1.418 related info Revision 1.418 - (view) (download) (annotate) - [select for diffs] Tue Aug 8 22:56:47 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.417: +5 -1 lines Diff to previous 1.417 Armel Asselin made the CURLOPT_PREQUOTE option work fine even when CURLOPT_NOBODY is set true. PREQUOTE is then run roughly at the same place in the command sequence as it would have run if there would've been a transfer. Revision 1.417 - (view) (download) (annotate) - [select for diffs] Tue Aug 8 21:12:50 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.416: +3 -17 lines Diff to previous 1.416 Fixed a flaw in the "Expect: 100-continue" treatment. If you did two POSTs on a persistent connection and allowed the first to use that header, you could not disable it for the second request. Revision 1.416 - (view) (download) (annotate) - [select for diffs] Mon Aug 7 06:48:01 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.415: +7 -28 lines Diff to previous 1.415 start working towards 7.15.6 Revision 1.415 - (view) (download) (annotate) - [select for diffs] Wed Aug 2 18:18:48 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_5 Changes since 1.414: +2 -1 lines Diff to previous 1.414 Mark Lentczner fixed how libcurl was not properly doing chunked encoding if the header "Transfer-Encoding: chunked" was set by the application. http://curl.haxx.se/bug/view.cgi?id=1531838 Revision 1.414 - (view) (download) (annotate) - [select for diffs] Tue Aug 1 09:39:01 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.413: +3 -1 lines Diff to previous 1.413 Maciej Karpiuk fixed a crash that would occur if we passed Curl_strerror() an unknown error number on glibc systems. http://curl.haxx.se/bug/view.cgi?id=1532289 Revision 1.413 - (view) (download) (annotate) - [select for diffs] Thu Jul 27 22:35:09 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.412: +2 -1 lines Diff to previous 1.412 Yves Lejeune fixed so that replacing Content-Type: when doing multipart formposts work exactly the way you want it (and the way you'd assume it works) Revision 1.412 - (view) (download) (annotate) - [select for diffs] Wed Jul 26 23:20:47 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.411: +4 -3 lines Diff to previous 1.411 David McCreedy added --ftp-ssl-reqd which makes curl *require* SSL for both control and data connection, as the existing --ftp-ssl option only requests it. Revision 1.411 - (view) (download) (annotate) - [select for diffs] Wed Jul 26 22:25:00 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.410: +5 -1 lines Diff to previous 1.410 curl_multi_assign() and CURLMOPT_SOCKETFUNCTION proto change Revision 1.410 - (view) (download) (annotate) - [select for diffs] Tue Jul 25 22:45:21 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.409: +5 -3 lines Diff to previous 1.409 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.409 - (view) (download) (annotate) - [select for diffs] Tue Jul 25 18:38:52 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.408: +2 -1 lines Diff to previous 1.408 Georg Horn made the transfer timeout error message include more details Revision 1.408 - (view) (download) (annotate) - [select for diffs] Mon Jul 17 18:35:59 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.407: +2 -1 lines Diff to previous 1.407 Jari Sundell did some excellent research and bug tracking, figured out that we did wrong and patched it: When nodes were removed from the splay tree, and we didn't properly remove it from the splay tree when an easy handle was removed from a multi stack and thus we could wrongly leave a node in the splay tree pointing to (bad) memory. Revision 1.407 - (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.406: +2 -1 lines Diff to previous 1.406 David McCreedy fixed a flaw where the CRLF counter wasn't properly cleared for FTP ASCII transfers. Revision 1.406 - (view) (download) (annotate) - [select for diffs] Sat Jul 8 18:52:08 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.405: +3 -2 lines Diff to previous 1.405 Ates Goral pointed out that libcurl's cookie parser did case insensitive string comparisons on the path which is incorrect and provided a patch that fixes this. I edited test case 8 to include details that test for this. Revision 1.405 - (view) (download) (annotate) - [select for diffs] Fri Jul 7 22:58:06 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.404: +3 -1 lines Diff to previous 1.404 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.404 - (view) (download) (annotate) - [select for diffs] Fri Jul 7 20:48:51 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.403: +2 -0 lines Diff to previous 1.403 yassl can be used now Revision 1.403 - (view) (download) (annotate) - [select for diffs] Tue Jul 4 12:01:59 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.402: +2 -1 lines Diff to previous 1.402 Toshiyuki Maezawa fixed a problem where you couldn't override the Proxy-Connection: header when using a proxy and not doing CONNECT. Revision 1.402 - (view) (download) (annotate) - [select for diffs] Wed Jun 28 11:31:50 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.401: +2 -2 lines Diff to previous 1.401 changed wording on the curl_multi_fdset() problem and moved the -K change from bugfixes Revision 1.401 - (view) (download) (annotate) - [select for diffs] Sat Jun 24 21:46:41 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.400: +2 -1 lines Diff to previous 1.400 Michael Wallner added curl_formget(), which allows an application to extract (serialise) a previously built formpost (as with curl_formadd()). Revision 1.400 - (view) (download) (annotate) - [select for diffs] Fri Jun 23 22:07:06 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.399: +2 -1 lines Diff to previous 1.399 Arve Knudsen found a flaw in curl_multi_fdset() for systems where curl_socket_t is unsigned (like Windows) that could cause it to wrongly return a max fd of -1. Revision 1.399 - (view) (download) (annotate) - [select for diffs] Thu Jun 22 21:36:53 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.398: +3 -1 lines Diff to previous 1.398 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.398 - (view) (download) (annotate) - [select for diffs] Mon Jun 19 21:39:57 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.397: +5 -5 lines Diff to previous 1.397 make -K on a bad file now displays a warning Revision 1.397 - (view) (download) (annotate) - [select for diffs] Mon Jun 12 07:24:14 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.396: +8 -47 lines Diff to previous 1.396 starting the journey towards the next release Revision 1.396 - (view) (download) (annotate) - [select for diffs] Mon Jun 12 06:53:10 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_4 Changes since 1.395: +1 -0 lines Diff to previous 1.395 7.15.4 coming up Revision 1.395 - (view) (download) (annotate) - [select for diffs] Thu Jun 8 06:12:30 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.394: +3 -2 lines Diff to previous 1.394 Brian Dessent's fixes for cygwin builds Revision 1.394 - (view) (download) (annotate) - [select for diffs] Wed Jun 7 14:14:04 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.393: +11 -6 lines Diff to previous 1.393 NTLM2 session response support Revision 1.393 - (view) (download) (annotate) - [select for diffs] Wed May 31 05:49:37 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.392: +3 -1 lines Diff to previous 1.392 two new mirrors and a recount of them Revision 1.392 - (view) (download) (annotate) - [select for diffs] Thu May 25 23:04:21 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.391: +2 -1 lines Diff to previous 1.391 Olaf Stüben fixed a bug that caused Digest authentication with md5-sess to fail. When using the md5-sess, the result was not Md5 encoded and Base64 transformed. Revision 1.391 - (view) (download) (annotate) - [select for diffs] Wed May 24 22:46:38 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.390: +2 -1 lines Diff to previous 1.390 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.390 - (view) (download) (annotate) - [select for diffs] Wed May 10 22:17:42 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.389: +1 -0 lines Diff to previous 1.389 David McCreedy provided a fix for CURLINFO_LASTSOCKET that does extended checks on the to-be-returned socket to make sure it truly seems to be alive and well. For SSL connection it (only) uses OpenSSL functions. Revision 1.389 - (view) (download) (annotate) - [select for diffs] Wed May 10 11:44:31 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.388: +2 -0 lines Diff to previous 1.388 1 - allow DICT with properly URL-escaped words, like using %20 for spaces 2 - properly escape certain letters within a DICT word to comply to the RFC2229 Revision 1.388 - (view) (download) (annotate) - [select for diffs] Tue May 9 12:56:35 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.387: +3 -1 lines Diff to previous 1.387 Andreas Ntaflos reported a bug in libcurl.m4: When configuring my GNU autotools project, which optionally (default=yes) uses libcurl on a system without a (usable) libcurl installation, but not specifying `--without-libcurl', configure determines correctly that no libcurl is available, however, the LIBCURL variable gets expanded to `LIBCURL = -lcurl' in the resulting Makefiles. David Shaw fixed the flaw. Revision 1.387 - (view) (download) (annotate) - [select for diffs] Tue May 9 12:44:11 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.386: +2 -1 lines Diff to previous 1.386 mention the other TFTP cleanup sweep from yday Revision 1.386 - (view) (download) (annotate) - [select for diffs] Tue May 9 11:33:00 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.385: +1 -0 lines Diff to previous 1.385 Robson Braga Araujo fixed a memory leak when you added an easy handle to a multi stack and that easy handle had already been used to do one or more easy interface transfers, as then the code threw away the previously used DNS cache without properly freeing it. Revision 1.385 - (view) (download) (annotate) - [select for diffs] Mon May 8 15:09:50 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.384: +1 -0 lines Diff to previous 1.384 Fixed known bug #28. The TFTP code no longer assumes a packed struct and thus works reliably on more platforms. Revision 1.384 - (view) (download) (annotate) - [select for diffs] Thu May 4 22:39:47 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.383: +2 -1 lines Diff to previous 1.383 Roland Blom filed bug report #1481217 (http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows. Revision 1.383 - (view) (download) (annotate) - [select for diffs] Thu May 4 06:00:40 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.382: +2 -1 lines Diff to previous 1.382 Mark Eichin submitted bug report #1480821 (http://curl.haxx.se/bug/view.cgi?id=1480821) He found and identified a problem with how libcurl dealt with GnuTLS and a case where gnutls returned GNUTLS_E_AGAIN indicating it would block. It would then return an unexpected return code, making Curl_ssl_send() confuse the upper layer - causing random 28 bytes trash data to get inserted in the transfered stream. The proper fix was to make the Curl_gtls_send() function return the proper return codes that the callers would expect. The Curl_ossl_send() function already did this. Revision 1.382 - (view) (download) (annotate) - [select for diffs] Tue May 2 22:48:22 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.381: +2 -1 lines Diff to previous 1.381 curl-config got a --checkfor option Revision 1.381 - (view) (download) (annotate) - [select for diffs] Wed Apr 26 07:40:37 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.380: +2 -0 lines Diff to previous 1.380 David McCreedy brought line end conversions when doing FTP ASCII transfers. They are done on non-windows systems and translate CRLF to LF. Revision 1.380 - (view) (download) (annotate) - [select for diffs] Tue Apr 25 20:49:40 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.379: +2 -1 lines Diff to previous 1.379 Paul Querna fixed libcurl to better deal with deflate content encoding when the stream (wrongly) lacks a proper zlib header. This seems to be the case on too many actual server implementations. Revision 1.379 - (view) (download) (annotate) - [select for diffs] Fri Apr 21 13:46:19 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.378: +5 -2 lines Diff to previous 1.378 Ale Vesely fixed CURLOPT_INTERFACE when using a hostname Revision 1.378 - (view) (download) (annotate) - [select for diffs] Tue Apr 18 23:14:30 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.377: +4 -2 lines Diff to previous 1.377 Robson Braga Araujo provided a patch that makes libcurl less eager to close the control connection when using FTP, for example when you remove an easy handle from a multi stack. Revision 1.377 - (view) (download) (annotate) - [select for diffs] Tue Apr 18 22:12:22 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.376: +1 -1 lines Diff to previous 1.376 mention Katie Wang as author of the patch Revision 1.376 - (view) (download) (annotate) - [select for diffs] Tue Apr 11 10:49:51 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.375: +1 -0 lines Diff to previous 1.375 #1468330 (http://curl.haxx.se/bug/view.cgi?id=1468330) pointed out a bad typecast in the curl tool leading to a crash with (64bit?) VS2005 (at least) since the struct timeval field tv_sec is an int while time_t is 64bit. Revision 1.375 - (view) (download) (annotate) - [select for diffs] Mon Apr 10 21:57:45 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.374: +7 -4 lines Diff to previous 1.374 mention recent additions Revision 1.374 - (view) (download) (annotate) - [select for diffs] Wed Apr 5 12:35:48 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.373: +2 -1 lines Diff to previous 1.373 Michele Bini modified the NTLM code to work for his "weird IIS case" (http://curl.haxx.se/mail/lib-2006-02/0154.html) by adding the NTLM hash function in addition to the LM one and making some other adjustments in the order the different parts of the data block are sent in the Type-2 reply. Inspiration for this work was taken from the Firefox NTLM implementation. I edited the existing 21(!) NTLM test cases to run fine with these news. Due to the fact that we now properly include the host name in the Type-2 message the test cases now only compare parts of that chunk. Revision 1.373 - (view) (download) (annotate) - [select for diffs] Tue Mar 28 08:03:25 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.372: +1 -0 lines Diff to previous 1.372 #1451929 (http://curl.haxx.se/bug/view.cgi?id=1451929) detailed a bug that occurred when asking libcurl to follow HTTP redirects and the original URL had more than one question mark (?). Added test case 276 to verify. Revision 1.372 - (view) (download) (annotate) - [select for diffs] Mon Mar 27 21:59:40 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.371: +3 -1 lines Diff to previous 1.371 David Byron found a problem multiple -d options when libcurl was built with --enable-debug, as then curl used free() on memory allocated both with normal malloc() and with libcurl-provided functions, when the latter MUST be freed with curl_free() in debug builds. Revision 1.371 - (view) (download) (annotate) - [select for diffs] Sun Mar 26 08:52:43 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.370: +1 -0 lines Diff to previous 1.370 Tor Arntsen figured out that TFTP was broken on a lot of systems since we called bind() with a too big argument in the 3rd parameter and at least Tru64, AIX and IRIX seem to be very picky about it. Revision 1.370 - (view) (download) (annotate) - [select for diffs] Tue Mar 21 22:30:03 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.369: +1 -0 lines Diff to previous 1.369 David McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry path Revision 1.369 - (view) (download) (annotate) - [select for diffs] Tue Mar 21 21:54:44 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.368: +2 -2 lines Diff to previous 1.368 Xavier Bouchoux made the SSL connection non-blocking for the multi interface (when using OpenSSL). Revision 1.368 - (view) (download) (annotate) - [select for diffs] Tue Mar 21 13:34:41 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.367: +2 -1 lines Diff to previous 1.367 Tor Arntsen fixed the AIX Toolbox RPM spec Revision 1.367 - (view) (download) (annotate) - [select for diffs] Mon Mar 20 22:51:08 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.366: +2 -1 lines Diff to previous 1.366 David McCreedy fixed libcurl to no longer ignore AUTH failures and now it reacts properly according to the CURLOPT_FTP_SSL setting. Revision 1.366 - (view) (download) (annotate) - [select for diffs] Mon Mar 20 22:25:14 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.365: +4 -3 lines Diff to previous 1.365 mention today's fixes Revision 1.365 - (view) (download) (annotate) - [select for diffs] Mon Mar 20 09:03:10 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.364: +7 -18 lines Diff to previous 1.364 start working towards 7.15.4 Revision 1.364 - (view) (download) (annotate) - [select for diffs] Mon Mar 20 07:32:50 2006 UTC (4 years ago) by bagder Branch: MAIN CVS Tags: curl-7_15_3 Changes since 1.363: +9 -4 lines Diff to previous 1.363 fixed tftp packet overflow risk Revision 1.363 - (view) (download) (annotate) - [select for diffs] Tue Mar 7 23:11:41 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.362: +3 -1 lines Diff to previous 1.362 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.362 - (view) (download) (annotate) - [select for diffs] Tue Mar 7 22:28:08 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.361: +2 -1 lines Diff to previous 1.361 Peter Heuchert made sure the CURLFTPSSL_CONTROL setting for CURLOPT_FTP_SSL is used properly. Revision 1.361 - (view) (download) (annotate) - [select for diffs] Mon Mar 6 22:35:51 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.360: +3 -1 lines Diff to previous 1.360 Lots of users on Windows have reported getting the "SSL: couldn't set callback" error message so I've now made the setting of that callback not be as critical as before. The function is only used for additional loggging/ trace anyway so a failure just means slightly less data. It should still be able to proceed and connect fine to the server. Revision 1.360 - (view) (download) (annotate) - [select for diffs] Sat Mar 4 22:39:31 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.359: +2 -1 lines Diff to previous 1.359 build fix for Interix Revision 1.359 - (view) (download) (annotate) - [select for diffs] Fri Mar 3 13:09:30 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.358: +1 -1 lines Diff to previous 1.358 Prevent uploading to a URL that has no file name part. Revision 1.358 - (view) (download) (annotate) - [select for diffs] Thu Mar 2 11:41:23 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.357: +2 -2 lines Diff to previous 1.357 mention Dan F's out-of-file handles fix from the other day Revision 1.357 - (view) (download) (annotate) - [select for diffs] Thu Mar 2 11:37:05 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.356: +2 -1 lines Diff to previous 1.356 check for and use getprotobyname Revision 1.356 - (view) (download) (annotate) - [select for diffs] Mon Feb 27 18:14:14 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.355: +6 -51 lines Diff to previous 1.355 start over on what might become 7.15.3 Revision 1.355 - (view) (download) (annotate) - [select for diffs] Thu Feb 23 12:20:48 2006 UTC (4 years ago) by bagder Branch: MAIN CVS Tags: curl-7_15_2 Changes since 1.354: +2 -0 lines Diff to previous 1.354 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.354 - (view) (download) (annotate) - [select for diffs] Tue Feb 21 07:46:41 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.353: +3 -2 lines Diff to previous 1.353 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.353 - (view) (download) (annotate) - [select for diffs] Sun Feb 19 23:16:48 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.352: +2 -1 lines Diff to previous 1.352 Shmulik Regev fixed an issue with multi-pass authentication and compressed content when libcurl didn't honor the internal ignorebody flag. Revision 1.352 - (view) (download) (annotate) - [select for diffs] Sat Feb 18 22:27:01 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.351: +2 -1 lines Diff to previous 1.351 Ulf Härnhammar fixed a format string (printf style) problem in the Negotiate code. It should however not be the cause of any troubles. He also fixed a few similar problems in the HTTP test server code. Revision 1.351 - (view) (download) (annotate) - [select for diffs] Thu Feb 16 23:42:32 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.350: +2 -1 lines Diff to previous 1.350 Shmulik Regev provided a fix for the DNS cache when using short life times, as previously it could be holding on to old cached entries longer than requested. Revision 1.350 - (view) (download) (annotate) - [select for diffs] Sat Feb 11 22:35:16 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.349: +8 -7 lines Diff to previous 1.349 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.349 - (view) (download) (annotate) - [select for diffs] Sat Feb 11 12:56:52 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.348: +3 -1 lines Diff to previous 1.348 Kent Boortz improved the configure check for GnuTLS to properly set LIBS instead of LDFLAGS. Revision 1.348 - (view) (download) (annotate) - [select for diffs] Tue Feb 7 23:09:04 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.347: +2 -0 lines Diff to previous 1.347 Philippe Vaucher provided a brilliant piece of test code that show a problem with re-used FTP connections. If the second request on the same connection was set not to fetch a "body", libcurl could get confused and consider it an attempt to use a dead connection and would go acting mighty strange. Revision 1.347 - (view) (download) (annotate) - [select for diffs] Wed Feb 1 23:28:22 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.346: +1 -0 lines Diff to previous 1.346 fixed --limit-rate Revision 1.346 - (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.345: +4 -2 lines Diff to previous 1.345 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.345 - (view) (download) (annotate) - [select for diffs] Mon Jan 30 08:20:52 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.344: +4 -1 lines Diff to previous 1.344 Based on an error report by Philippe Vaucher, we no longer count a retried connection setup as a follow-redirect. It turns out 1) this fails when a FTP connection is re-setup and 2) it does make the max-redirs counter behave wrong. This fix was not verified since the reporter vanished, but I believe this is the right fix nonetheless. Revision 1.344 - (view) (download) (annotate) - [select for diffs] Sun Jan 29 13:13:45 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.343: +5 -0 lines Diff to previous 1.343 more mirrors Revision 1.343 - (view) (download) (annotate) - [select for diffs] Tue Jan 24 14:40:43 2006 UTC (4 years, 1 month ago) by bagder Branch: MAIN Changes since 1.342: +2 -1 lines Diff to previous 1.342 Michal Marek provided a patch for FTP that makes libcurl continue to try PASV even after EPSV returned a positive response code, if libcurl failed to connect to the port number the EPSV response said. Obviously some people are going through protocol-sensitive firewalls (or similar) that don't understand EPSV and then they don't allow the second connection unless PASV was used. This also called for a minor fix of test case 238. Revision 1.342 - (view) (download) (annotate) - [select for diffs] Fri Jan 20 17:50:12 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.341: +2 -1 lines Diff to previous 1.341 the second -P fix Revision 1.341 - (view) (download) (annotate) - [select for diffs] Thu Jan 19 22:02:46 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.340: +2 -1 lines Diff to previous 1.340 Jon Turner pointed out that doing -P [hostname] with curl (built ipv4-only) didn't work. Revision 1.340 - (view) (download) (annotate) - [select for diffs] Wed Jan 18 12:17:20 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.339: +1 -0 lines Diff to previous 1.339 reality sync Revision 1.339 - (view) (download) (annotate) - [select for diffs] Wed Jan 18 10:00:36 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.338: +1 -0 lines Diff to previous 1.338 configure no longer warns on "missing" if the current path contains a space Revision 1.338 - (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.337: +3 -1 lines Diff to previous 1.337 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.337 - (view) (download) (annotate) - [select for diffs] Sun Jan 15 23:55:53 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.336: +4 -2 lines Diff to previous 1.336 Bryan Henderson turned the 'initialized' variable for curl_global_init() into a counter, and thus you can now do multiple curl_global_init() and you are then supposed to do the same amount of calls to curl_global_cleanup(). Bryan also updated the docs accordingly. Revision 1.336 - (view) (download) (annotate) - [select for diffs] Fri Jan 13 12:16:16 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.335: +2 -1 lines Diff to previous 1.335 Andrew Benham fixed a race condition in the test suite that could cause the test script to kill all processes in the current process group! Revision 1.335 - (view) (download) (annotate) - [select for diffs] Thu Jan 12 22:18:38 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.334: +3 -0 lines Diff to previous 1.334 Fixed FTP_SKIP_PASV_IP and FTP_USE_EPSV to "do right" when used on FTP thru HTTP proxy. Revision 1.334 - (view) (download) (annotate) - [select for diffs] Tue Jan 10 23:03:22 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.333: +3 -1 lines Diff to previous 1.333 When using a bad path over FTP, as in when libcurl couldn't CWD into all given subdirs, libcurl would still "remember" the full path as if it is the current directory libcurl is in so that the next curl_easy_perform() would get really confused if it tried the same path again - as it would not issue any CWD commands at all, assuming it is already in the "proper" dir. Starting now, a failed CWD command sets a flag that prevents the path to be "remembered" after returning. Revision 1.333 - (view) (download) (annotate) - [select for diffs] Sun Jan 8 23:28:33 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.332: +2 -1 lines Diff to previous 1.332 one more mirror, now fortunately in Japan Revision 1.332 - (view) (download) (annotate) - [select for diffs] Sat Jan 7 22:24:16 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.331: +2 -1 lines Diff to previous 1.331 Mike Jean fixed so that the second CONNECT when doing FTP over a HTTP proxy actually used a new connection and not sent the second request on the first socket! Revision 1.331 - (view) (download) (annotate) - [select for diffs] Fri Jan 6 22:59:34 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.330: +1 -1 lines Diff to previous 1.330 buildconf fixes Revision 1.330 - (view) (download) (annotate) - [select for diffs] Wed Jan 4 10:04:23 2006 UTC (4 years, 2 months ago) by bagder Branch: MAIN Changes since 1.329: +5 -1 lines Diff to previous 1.329 not much recent stuff, but still I had this modified locally Revision 1.329 - (view) (download) (annotate) - [select for diffs] Fri Dec 16 14:52:16 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.328: +4 -2 lines Diff to previous 1.328 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.328 - (view) (download) (annotate) - [select for diffs] Tue Dec 6 23:36:36 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.327: +8 -41 lines Diff to previous 1.327 start working on 7.15.2 Revision 1.327 - (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.326: +3 -1 lines Diff to previous 1.326 7.15.1 with the now to be announced security flaw fixed Revision 1.326 - (view) (download) (annotate) - [select for diffs] Thu Dec 1 23:42:03 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.325: +4 -3 lines Diff to previous 1.325 Jamie Newton pointed out that libcurl's file:// code would close() a zero file descriptor if given a non-existing file. Revision 1.325 - (view) (download) (annotate) - [select for diffs] Mon Nov 28 23:05:29 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.324: +1 -1 lines Diff to previous 1.324 Bryan Henderson Revision 1.324 - (view) (download) (annotate) - [select for diffs] Thu Nov 24 10:22:46 2005 UTC (4 years, 3 months ago) by bagder Branch: MAIN Changes since 1.323: +2 -1 lines Diff to previous 1.323 Doug Kaufman's set of patches to make curl build fine on DJGPP again using configure. Revision 1.323 - (view) (download) (annotate) - [select for diffs] Thu Nov 17 14:29:54 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.322: +2 -1 lines Diff to previous 1.322 I extended a patch from David Shaw to make libcurl _always_ provide an error string in the given error buffer to address the flaw mention on 21 sep 2005. Revision 1.322 - (view) (download) (annotate) - [select for diffs] Wed Nov 16 07:20:58 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.321: +3 -1 lines Diff to previous 1.321 Applied Albert Chin's patch that makes the libcurl.pc pkgconfig file get installed on 'make install' time. Revision 1.321 - (view) (download) (annotate) - [select for diffs] Sun Nov 13 11:06:48 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.320: +2 -1 lines Diff to previous 1.320 Debian bug report 338681 by Jan Kunder: make curl better detect and report bad limit-rate units: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338681 Now curl will return error if a bad unit is used. Revision 1.320 - (view) (download) (annotate) - [select for diffs] Sun Nov 13 09:24:06 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.319: +1 -1 lines Diff to previous 1.319 Thanks to this nice summary of poll() implementations: http://www.greenend.org.uk/rjk/2001/06/poll.html and further tests by Eugene Kotlyarov, we now know that cygwin's poll returns only POLLHUP on remote connection closure so we check for that case (too) and re-enable poll for cygwin builds. Revision 1.319 - (view) (download) (annotate) - [select for diffs] Sat Nov 12 22:49:19 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.318: +3 -1 lines Diff to previous 1.318 Eugene Kotlyarov found out that cygwin's poll() function isn't doing things right: http://curl.haxx.se/mail/archive-2005-11/0045.html so we now disable poll() and use select() on cygwin too (we already do the same choice on Mac OS X) Revision 1.318 - (view) (download) (annotate) - [select for diffs] Fri Nov 11 23:20:07 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.317: +1 -0 lines Diff to previous 1.317 Dima Barsky patched problem #1348930: the GnuTLS code completely ignored client certificates! (http://curl.haxx.se/bug/view.cgi?id=1348930). Revision 1.317 - (view) (download) (annotate) - [select for diffs] Thu Nov 10 23:24:09 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.316: +1 -2 lines Diff to previous 1.316 Fun while it lasted. New mirror already out-of-date. Revision 1.316 - (view) (download) (annotate) - [select for diffs] Thu Nov 10 22:25:07 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.315: +2 -1 lines Diff to previous 1.315 David Lang fixed IPv6 support for TFTP! Revision 1.315 - (view) (download) (annotate) - [select for diffs] Thu Nov 10 22:11:01 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.314: +1 -0 lines Diff to previous 1.314 Introducing range stepping to the curl globbing support. Now you can specify step counter by adding :[num] within the brackets when specifying a range. Revision 1.314 - (view) (download) (annotate) - [select for diffs] Tue Nov 8 14:45:58 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.313: +1 -0 lines Diff to previous 1.313 Removed the use of AI_CANONNAME in the IPv6-enabled resolver functions since we really have no use for reverse lookups of the address. I truly hope these are the last reverse lookups we had lingering in the code! Revision 1.313 - (view) (download) (annotate) - [select for diffs] Tue Nov 8 14:37:15 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.312: +9 -5 lines Diff to previous 1.312 SSPI-fix and a new mirror Revision 1.312 - (view) (download) (annotate) - [select for diffs] Sat Nov 5 23:39:08 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.311: +1 -0 lines Diff to previous 1.311 CurlPas 2005-11-05 was released: http://curlpas.sf.net/ Revision 1.311 - (view) (download) (annotate) - [select for diffs] Mon Oct 31 08:55:01 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.310: +3 -1 lines Diff to previous 1.310 Vilmos Nebehaj improved libcurl's LDAP abilities: The LDAP code in libcurl can't handle LDAP servers of LDAPv3 nor binary attributes in LDAP objects. So, I made a quick patch to address these problems. The solution is simple: if we connect to an LDAP server, first try LDAPv3 (which is the preferred protocol as of now) and then fall back to LDAPv2. In case of binary attributes, we first convert them to base64, just like the openldap client does. It uses ldap_get_values_len() instead of ldap_get_values() to be able to retrieve binary attributes correctly. I defined the necessary LDAP macros in lib/ldap.c to be able to compile libcurl without the presence of libldap Revision 1.310 - (view) (download) (annotate) - [select for diffs] Sat Oct 29 22:22:18 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.309: +2 -1 lines Diff to previous 1.309 --max-redirs 0 Revision 1.309 - (view) (download) (annotate) - [select for diffs] Thu Oct 27 21:02:01 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.308: +2 -1 lines Diff to previous 1.308 tommink[at]post.pl reported in bug report #1337723 (http://curl.haxx.se/bug/view.cgi?id=1337723) that curl could not upload binary data from stdin on Windows if the data contained control-Z (hex 1a) since that is treated as end-of-file when read in text mode. Gisle Vanem pointed out the fix, and I made both -T and --data-binary take advantage of it. Revision 1.308 - (view) (download) (annotate) - [select for diffs] Thu Oct 27 12:05:37 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.307: +3 -1 lines Diff to previous 1.307 Jaz Fresh pointed out that if you used "-r [number]" as was wrongly described in the man page, curl would send an invalid HTTP Range: header. The correct way would be to use "-r [number]-" or even "-r -[number]". Starting now, curl will warn if this is discovered, and automatically append a dash to the range before passing it to libcurl. Revision 1.307 - (view) (download) (annotate) - [select for diffs] Tue Oct 25 14:05:21 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.306: +5 -1 lines Diff to previous 1.306 multi IP socket description leak with multi interface Revision 1.306 - (view) (download) (annotate) - [select for diffs] Fri Oct 21 19:32:12 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.305: +2 -2 lines Diff to previous 1.305 Temprimus improved the MSVC makefile so that the static debug SSL libs are linked to the executable and not to the libcurld.lib http://curl.haxx.se/bug/view.cgi?id=1326676 Revision 1.305 - (view) (download) (annotate) - [select for diffs] Fri Oct 21 19:21:20 2005 UTC (4 years, 4 months ago) by bagder Branch: MAIN Changes since 1.304: +4 -3 lines Diff to previous 1.304 Bradford Bruce made the windows resolver code properly return CURLE_COULDNT_RESOLVE_PROXY and CURLE_COULDNT_RESOLVE_HOST on resolving errors (as documented). Revision 1.304 - (view) (download) (annotate) - [select for diffs] Thu Oct 20 20:07:33 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.303: +1 -0 lines Diff to previous 1.303 Dave Dribin made libcurl understand and handle cases when the server (wrongly) sends *two* WWW-Authenticate headers for Digest. While this should never happen in a sane world, libcurl previously got into an infinite loop when this occurred. Dave added test 273 to verify this. Revision 1.303 - (view) (download) (annotate) - [select for diffs] Thu Oct 20 19:40:30 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.302: +3 -1 lines Diff to previous 1.302 2 mirrors, 1 binding release Revision 1.302 - (view) (download) (annotate) - [select for diffs] Fri Oct 14 21:21:51 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.301: +2 -2 lines Diff to previous 1.301 Reverted the LIBCURL_VERSION_NUM change from October 6. As Dave Dribin reported, the define is used by the configure script and is assumed to use the 0xYYXXZZ format. This made "curl-config --vernum" fail in the 7.15.0 release version. Revision 1.301 - (view) (download) (annotate) - [select for diffs] Thu Oct 13 09:23:51 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.300: +8 -25 lines Diff to previous 1.300 start working on 7.15.1 Revision 1.300 - (view) (download) (annotate) - [select for diffs] Thu Oct 13 08:19:09 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_0 Changes since 1.299: +2 -1 lines Diff to previous 1.299 7.15.0 time Revision 1.299 - (view) (download) (annotate) - [select for diffs] Thu Oct 6 12:56:13 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.298: +3 -2 lines Diff to previous 1.298 we all the next version 7.15.0 due to the new TFTP support Revision 1.298 - (view) (download) (annotate) - [select for diffs] Wed Oct 5 09:15:20 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.297: +3 -1 lines Diff to previous 1.297 mention the recent fixes Revision 1.297 - (view) (download) (annotate) - [select for diffs] Tue Oct 4 18:15:33 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.296: +1 -1 lines Diff to previous 1.296 Michael Wallner reported that the date parser had wrong offset stored for the MEST and CEST time zones. Revision 1.296 - (view) (download) (annotate) - [select for diffs] Fri Sep 30 08:59:33 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.295: +1 -0 lines Diff to previous 1.295 a new mirror, but we don't increase the amount since one of the former ones are now officially no longer considered a mirror... ;-) Revision 1.295 - (view) (download) (annotate) - [select for diffs] Tue Sep 27 20:22:13 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.294: +3 -2 lines Diff to previous 1.294 David Yan brought the Content-Range report Revision 1.294 - (view) (download) (annotate) - [select for diffs] Tue Sep 27 09:13:39 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.293: +5 -0 lines Diff to previous 1.293 An anonymous submitter filed bug #1299181 (http://curl.haxx.se/bug/view.cgi?id=1299181) that identified a silly problem with Content-Range: headers with the 'bytes' keyword written in a different case than all lowercase! It would cause a segfault! Revision 1.293 - (view) (download) (annotate) - [select for diffs] Tue Sep 27 08:46:54 2005 UTC (4 years, 5 months ago) by bagder Branch: MAIN Changes since 1.292: +1 -0 lines Diff to previous 1.292 TJ Saunders of the proftpd project identified and pointed out problems with the modified FTPS negotiation change of August 19 2005. Thus, we revert the change back to pre-7.14.1 status. Revision 1.292 - (view) (download) (annotate) - [select for diffs] Mon Sep 19 21:45:17 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.291: +2 -1 lines Diff to previous 1.291 Dmitry Bartsevich made the SSPI support work on Windows 9x as well Revision 1.291 - (view) (download) (annotate) - [select for diffs] Fri Sep 16 21:03:26 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.290: +4 -3 lines Diff to previous 1.290 recent changes Revision 1.290 - (view) (download) (annotate) - [select for diffs] Tue Sep 6 11:53:24 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.289: +4 -2 lines Diff to previous 1.289 binding updates Revision 1.289 - (view) (download) (annotate) - [select for diffs] Sun Sep 4 22:10:03 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.288: +5 -4 lines Diff to previous 1.288 mention the recent improvements Revision 1.288 - (view) (download) (annotate) - [select for diffs] Thu Sep 1 21:08:56 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.287: +7 -52 lines Diff to previous 1.287 work on 7.14.2 starts now Revision 1.287 - (view) (download) (annotate) - [select for diffs] Wed Aug 31 20:51:41 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN CVS Tags: curl-7_14_1 Changes since 1.286: +1 -0 lines Diff to previous 1.286 ocurl release Revision 1.286 - (view) (download) (annotate) - [select for diffs] Mon Aug 29 21:04:26 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.285: +2 -1 lines Diff to previous 1.285 Kevin Lussier pointed out a problem with curllib.dsp Revision 1.285 - (view) (download) (annotate) - [select for diffs] Mon Aug 29 15:19:38 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.284: +1 -1 lines Diff to previous 1.284 spell-fix Revision 1.284 - (view) (download) (annotate) - [select for diffs] Mon Aug 29 14:23:53 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.283: +2 -1 lines Diff to previous 1.283 Igor Polyakov fixed a rather nasty problem with the threaded name resolver for Windows, that could lead to an Access Violation when the multi interface was used due to an issue with how the resolver thread was and was not terminated. Revision 1.283 - (view) (download) (annotate) - [select for diffs] Mon Aug 29 08:42:45 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.282: +2 -1 lines Diff to previous 1.282 Simon Josefson brought GNU GSS support Revision 1.282 - (view) (download) (annotate) - [select for diffs] Wed Aug 24 10:57:28 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.281: +4 -3 lines Diff to previous 1.281 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.281 - (view) (download) (annotate) - [select for diffs] Wed Aug 24 10:49:57 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.280: +1 -0 lines Diff to previous 1.280 valgrind version 3 renames the --logfile command line option to --log-file... Revision 1.280 - (view) (download) (annotate) - [select for diffs] Wed Aug 24 07:40:13 2005 UTC (4 years, 6 months ago) by bagder Branch: MAIN Changes since 1.279: +1 -0 lines Diff to previous 1.279 Fixed CA cert verification using GnuTLS with the default bundle, which previously failed due to GnuTLS not allowing x509 v1 CA certs by default. Revision 1.279 - (view) (download) (annotate) - [select for diffs] Fri Aug 19 14:41:10 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.278: +4 -2 lines Diff to previous 1.278 Norbert Novotny had problems with FTPS and he helped me work out a patch that made curl run fine in his end. The key was to make sure we do the SSL/TLS negotiation immediately after the TCP connect is done and not after a few other commands have been sent like we did previously. I don't consider this change necessary to obey the standards, I think this server is pickier than what the specs allow it to be, but I can't see how this modified libcurl code can add any problems to those who are interpreting the standards more liberally. Revision 1.278 - (view) (download) (annotate) - [select for diffs] Wed Aug 17 09:01:07 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.277: +1 -0 lines Diff to previous 1.277 handles expiry times in cookie files that go beyond 32 bits in size Revision 1.277 - (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.276: +1 -1 lines Diff to previous 1.276 - 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.276 - (view) (download) (annotate) - [select for diffs] Tue Aug 16 11:40:43 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.275: +3 -1 lines Diff to previous 1.275 client side fixes Revision 1.275 - (view) (download) (annotate) - [select for diffs] Mon Aug 15 21:48:36 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.274: +5 -1 lines Diff to previous 1.274 recent changes Revision 1.274 - (view) (download) (annotate) - [select for diffs] Tue Aug 9 21:59:31 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.273: +3 -1 lines Diff to previous 1.273 Christopher R. Palmer fixed the offsets used for date parsings when the time zone name of a daylight savings time was used. For example, PDT vs PDS. This flaw was introduced with the new date parser (11 sep 2004 - 7.12.2). Fortunately, no web server or cookie string etc should be using such time zone names thus limiting the effect of this bug. Revision 1.273 - (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.272: +3 -2 lines Diff to previous 1.272 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.272 - (view) (download) (annotate) - [select for diffs] Sun Aug 7 21:45:59 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.271: +1 -0 lines Diff to previous 1.271 When curl is built with GnuTLS, curl-config didn't include "SSL" when --features was used Revision 1.271 - (view) (download) (annotate) - [select for diffs] Sat Jul 30 23:19:42 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.270: +2 -1 lines Diff to previous 1.270 correction and added new mirror Revision 1.270 - (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.269: +1 -0 lines Diff to previous 1.269 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.269 - (view) (download) (annotate) - [select for diffs] Wed Jul 27 22:17:14 2005 UTC (4 years, 7 months ago) by bagder Branch: MAIN Changes since 1.268: +2 -1 lines Diff to previous 1.268 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.268 - (view) (download) (annotate) - [select for diffs] Fri Jul 15 06:57:36 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.267: +1 -0 lines Diff to previous 1.267 cURLpp 0.5.1 Revision 1.267 - (view) (download) (annotate) - [select for diffs] Wed Jul 13 18:06:40 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.266: +2 -1 lines Diff to previous 1.266 Diego Casorran patches to make (lib)curl build fine on Amiga again Revision 1.266 - (view) (download) (annotate) - [select for diffs] Tue Jul 12 18:20:31 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.265: +1 -0 lines Diff to previous 1.265 mention the Rexx/CURL release Revision 1.265 - (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.264: +4 -2 lines Diff to previous 1.264 Adrian Schuur added trailer support in the chunked encoding stream. The trailer is then sent to the normal header callback/stream. Revision 1.264 - (view) (download) (annotate) - [select for diffs] Tue Jul 5 14:57:41 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.263: +2 -1 lines Diff to previous 1.263 Gisle Vanem came up with a nice little work-around for bug #1230118. It seems the Windows (MSVC) libc time functions may return data one hour off if TZ is not set and automatic DST adjustment is enabled. This made curl_getdate() return wrong value, and it also concerned internal cookie expirations etc. Revision 1.263 - (view) (download) (annotate) - [select for diffs] Mon Jul 4 21:53:02 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.262: +1 -0 lines Diff to previous 1.262 mention the strerror_r detection fix in configure Revision 1.262 - (view) (download) (annotate) - [select for diffs] Sun Jul 3 22:25:15 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.261: +3 -1 lines Diff to previous 1.261 Andrew Bushnell provided enough info for me to tell that we badly needed to fix the CONNECT authentication code with multi-pass auth methods (such as NTLM) as it didn't previously properly ignore response-bodies - in fact it stopped reading after all response headers had been received. This could lead to libcurl sending the next request and reading the body from the first request as response to the second request. (I also renamed the function, which wasn't strictly necessary but...) The best fix would to once and for all make the CONNECT code use the ordinary request sending/receiving code, treating it as any ordinary request instead of the special-purpose function we have now. It should make it better for multi-interface too. And possibly lead to less code... Added test case 265 for this. It doesn't work as a _really_ good test case since the test proxy is too stupid, but the test case helps when running the debugger to verify. Revision 1.261 - (view) (download) (annotate) - [select for diffs] Tue Jun 28 09:08:52 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.260: +1 -0 lines Diff to previous 1.260 new Lua binding Revision 1.260 - (view) (download) (annotate) - [select for diffs] Wed Jun 22 22:31:08 2005 UTC (4 years, 8 months ago) by bagder Branch: MAIN Changes since 1.259: +3 -1 lines Diff to previous 1.259 David Shaw fixes Revision 1.259 - (view) (download) (annotate) - [select for diffs] Sun Jun 19 21:38:45 2005 UTC (4 years, 9 months ago) by bagder Branch: MAIN Changes since 1.258: +1 -0 lines Diff to previous 1.258 possible windows memory leak fixed by Gisle Revision 1.258 - (view) (download) (annotate) - [select for diffs] Fri Jun 3 14:06:03 2005 UTC (4 years, 9 months ago) by bagder Branch: MAIN Changes since 1.257: +3 -1 lines Diff to previous 1.257 Andres Garcia's text mode fix for the 'data' part Revision 1.257 - (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.256: +4 -3 lines Diff to previous 1.256 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.256 - (view) (download) (annotate) - [select for diffs] Sun May 29 22:38:34 2005 UTC (4 years, 9 months ago) by bagder Branch: MAIN Changes since 1.255: +5 -3 lines Diff to previous 1.255 recent changes Revision 1.255 - (view) (download) (annotate) - [select for diffs] Tue May 24 21:02:59 2005 UTC (4 years, 9 months ago) by bagder Branch: MAIN Changes since 1.254: +3 -1 lines Diff to previous 1.254 recent action Revision 1.254 - (view) (download) (annotate) - [select for diffs] Wed May 18 20:02:07 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.253: +5 -3 lines Diff to previous 1.253 three fixes since 7.14.0 Revision 1.253 - (view) (download) (annotate) - [select for diffs] Mon May 16 13:27:41 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.252: +7 -36 lines Diff to previous 1.252 start working on 7.14.1 Revision 1.252 - (view) (download) (annotate) - [select for diffs] Fri May 13 22:24:50 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN CVS Tags: curl-7_14_0 Changes since 1.251: +3 -1 lines Diff to previous 1.251 uses select() instead of poll() even on Mac OS X 10.4 Revision 1.251 - (view) (download) (annotate) - [select for diffs] Thu May 12 14:00:27 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.250: +3 -1 lines Diff to previous 1.250 -z bad use warning and NTLM proxy auth in reconnect fix Revision 1.250 - (view) (download) (annotate) - [select for diffs] Wed May 11 09:56:53 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.249: +3 -1 lines Diff to previous 1.249 the new HTTP headers Revision 1.249 - (view) (download) (annotate) - [select for diffs] Mon May 9 13:57:58 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.248: +1 -1 lines Diff to previous 1.248 new counter Revision 1.248 - (view) (download) (annotate) - [select for diffs] Mon May 9 12:34:55 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.247: +3 -1 lines Diff to previous 1.247 new mirror, added amount of contributors Revision 1.247 - (view) (download) (annotate) - [select for diffs] Fri May 6 23:46:35 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.246: +2 -1 lines Diff to previous 1.246 one more command line option, fixed the AIX 4.3 enabled IPv6 build (it now detects a bad Ipv6 situation and disables it automatically) Revision 1.246 - (view) (download) (annotate) - [select for diffs] Mon May 2 09:38:19 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.245: +1 -0 lines Diff to previous 1.245 Added --trace-time that when used adds a time stamp to each trace line that --trace, --trace-ascii and --verbose output. I also made the '>' display separate each line on the linefeed so that HTTP requests etc look nicer in the -v output. Revision 1.245 - (view) (download) (annotate) - [select for diffs] Mon May 2 07:59:47 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.244: +4 -1 lines Diff to previous 1.244 two bugs, one change Revision 1.244 - (view) (download) (annotate) - [select for diffs] Fri Apr 29 12:34:53 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.243: +6 -2 lines Diff to previous 1.243 more fixes Revision 1.243 - (view) (download) (annotate) - [select for diffs] Tue Apr 26 21:47:31 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.242: +3 -1 lines Diff to previous 1.242 fixing Revision 1.242 - (view) (download) (annotate) - [select for diffs] Sat Apr 23 22:08:15 2005 UTC (4 years, 10 months ago) by bagder Branch: MAIN Changes since 1.241: +6 -1 lines Diff to previous 1.241 2 days, 4 fixes Revision 1.241 - (view) (download) (annotate) - [select for diffs] Mon Apr 18 19:53:25 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.240: +4 -1 lines Diff to previous 1.240 two bugfixes of today Revision 1.240 - (view) (download) (annotate) - [select for diffs] Tue Apr 12 14:17:07 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.239: +1 -1 lines Diff to previous 1.239 next release will be version 7.14.0 thanks to the added GnuTLS support Revision 1.239 - (view) (download) (annotate) - [select for diffs] Sun Apr 10 22:56:46 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.238: +4 -2 lines Diff to previous 1.238 HTTP 304 response with Content-Length: header Revision 1.238 - (view) (download) (annotate) - [select for diffs] Thu Apr 7 21:05:45 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.237: +4 -3 lines Diff to previous 1.237 GnuTLS! Revision 1.237 - (view) (download) (annotate) - [select for diffs] Tue Apr 5 07:55:41 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.236: +7 -36 lines Diff to previous 1.236 restart with a blank page again Revision 1.236 - (view) (download) (annotate) - [select for diffs] Mon Apr 4 22:38:53 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN CVS Tags: curl-7_13_2 Changes since 1.235: +3 -1 lines Diff to previous 1.235 win resolve crash, win makefile fix Revision 1.235 - (view) (download) (annotate) - [select for diffs] Sun Apr 3 23:01:33 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.234: +2 -1 lines Diff to previous 1.234 fix of tonight Revision 1.234 - (view) (download) (annotate) - [select for diffs] Wed Mar 30 20:55:44 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.233: +4 -3 lines Diff to previous 1.233 fix configure's SSL-detection for msys/mingw (from Andres Garcia) Revision 1.233 - (view) (download) (annotate) - [select for diffs] Tue Mar 29 21:08:57 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.232: +8 -1 lines Diff to previous 1.232 Better connection keep-alive when POSTing with HTTP Digest or Negotiate. Revision 1.232 - (view) (download) (annotate) - [select for diffs] Tue Mar 29 11:54:07 2005 UTC (4 years, 11 months ago) by bagder Branch: MAIN Changes since 1.231: +7 -2 lines Diff to previous 1.231 proxy multi auth fix, --proxy-anyauth, ftp-ssl and ftp response reading fix Revision 1.231 - (view) (download) (annotate) - [select for diffs] Fri Mar 18 09:01:42 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.230: +1 -0 lines Diff to previous 1.230 a Common Lisp binding Revision 1.230 - (view) (download) (annotate) - [select for diffs] Wed Mar 16 22:03:55 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.229: +4 -1 lines Diff to previous 1.229 more Revision 1.229 - (view) (download) (annotate) - [select for diffs] Mon Mar 14 08:15:06 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.228: +2 -2 lines Diff to previous 1.228 configure --enable-sspi Revision 1.228 - (view) (download) (annotate) - [select for diffs] Sat Mar 12 22:55:57 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.227: +1 -1 lines Diff to previous 1.227 found a common lisp binding Revision 1.227 - (view) (download) (annotate) - [select for diffs] Sat Mar 12 19:49:56 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.226: +7 -3 lines Diff to previous 1.226 --form-string Revision 1.226 - (view) (download) (annotate) - [select for diffs] Wed Mar 9 23:35:14 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.225: +4 -1 lines Diff to previous 1.225 configure, socks, debug, getdate Revision 1.225 - (view) (download) (annotate) - [select for diffs] Tue Mar 8 08:09:14 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.224: +3 -2 lines Diff to previous 1.224 Dominick Meglio reported that using CURLOPT_FILETIME when transferring a FTP file got a Last-Modified: header written to the data stream, corrupting the actual data. This was because some conditions from the previous FTP code was not properly brought into the new FTP code. I fixed and I added test case 520 to verify. (This bug was introduced in 7.13.1) Revision 1.224 - (view) (download) (annotate) - [select for diffs] Fri Mar 4 23:52:06 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.223: +3 -1 lines Diff to previous 1.223 Added test case 235 that makes a resumed upload of a file that isn't present on the remote side. This then converts the operation to an ordinary STOR upload. This was requested/pointed out by Ignacio Vazquez-Abrams. It also proved (and I fixed) a bug in the newly rewritten ftp code (and present in the 7.13.1 release) when trying to resume an upload and the servers returns an error to the SIZE command. libcurl then loops and sends SIZE commands infinitely. Revision 1.223 - (view) (download) (annotate) - [select for diffs] Fri Mar 4 14:09:04 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.222: +6 -26 lines Diff to previous 1.222 starting over Revision 1.222 - (view) (download) (annotate) - [select for diffs] Fri Mar 4 13:41:46 2005 UTC (5 years ago) by bagder Branch: MAIN CVS Tags: curl-7_13_1 Changes since 1.221: +4 -2 lines Diff to previous 1.221 stand clear for release time Revision 1.221 - (view) (download) (annotate) - [select for diffs] Fri Mar 4 00:26:50 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.220: +2 -1 lines Diff to previous 1.220 Dave Dribin made it possible to set CURLOPT_COOKIEFILE to "" to activate the cookie "engine" without having to provide an empty or non-existing file. Revision 1.220 - (view) (download) (annotate) - [select for diffs] Fri Mar 4 00:12:02 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.219: +3 -1 lines Diff to previous 1.219 Rene Rebe fixed a -# crash when more data than expected was retrieved. Revision 1.219 - (view) (download) (annotate) - [select for diffs] Thu Mar 3 23:27:09 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.218: +2 -1 lines Diff to previous 1.218 new VB binding Revision 1.218 - (view) (download) (annotate) - [select for diffs] Thu Mar 3 13:13:21 2005 UTC (5 years ago) by bagder Branch: MAIN Changes since 1.217: +1 -0 lines Diff to previous 1.217 mention buffer overflows fixed Revision 1.217 - (view) (download) (annotate) - [select for diffs] Fri Feb 18 23:53:07 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.216: +2 -1 lines Diff to previous 1.216 Ralph Mitchell reported a flaw when you used a proxy with auth, and you requested data from a host and then followed a redirect to another host. libcurl then didn't use the proxy-auth properly in the second request, due to the host-only check for original host name wrongly being extended to the proxy auth as well. Added test case 233 to verify the flaw and that the fix removed the problem. Revision 1.216 - (view) (download) (annotate) - [select for diffs] Fri Feb 18 11:54:52 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.215: +2 -1 lines Diff to previous 1.215 socket leak, mingw build Revision 1.215 - (view) (download) (annotate) - [select for diffs] Wed Feb 16 14:31:23 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.214: +3 -1 lines Diff to previous 1.214 Christopher R. Palmer reported a problem with HTTP-POSTing using "anyauth" that picks NTLM. Thanks to David Byron letting me test NTLM against his servers, I could quickly repeat and fix the problem. It turned out to be: When libcurl POSTs without knowing/using an authentication and it gets back a list of types from which it picks NTLM, it needs to either continue sending its data if it keeps the connection alive, or not send the data but close the connection. Then do the first step in the NTLM auth. libcurl didn't send the data nor close the connection but simply read the response-body and then sent the first negotiation step. Which then failed miserably of course. The fixed version forces a connection if there is more than 2000 bytes left to send. Revision 1.214 - (view) (download) (annotate) - [select for diffs] Fri Feb 11 00:03:49 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.213: +2 -1 lines Diff to previous 1.213 Removed all uses of strftime() since it uses the localised version of the week day names and month names and servers don't like that. Revision 1.213 - (view) (download) (annotate) - [select for diffs] Thu Feb 10 08:57:23 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.212: +10 -2 lines Diff to previous 1.212 valgrind stuff for test suite, vms build and more Revision 1.212 - (view) (download) (annotate) - [select for diffs] Tue Feb 1 08:46:06 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN CVS Tags: before_ftp_statemachine Changes since 1.211: +6 -39 lines Diff to previous 1.211 and we start over again Revision 1.211 - (view) (download) (annotate) - [select for diffs] Tue Feb 1 07:54:36 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_13_0 Changes since 1.210: +5 -1 lines Diff to previous 1.210 7.13 coming up Revision 1.210 - (view) (download) (annotate) - [select for diffs] Fri Jan 28 08:26:36 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.209: +2 -1 lines Diff to previous 1.209 Stephen More pointed out that CURLOPT_FTPPORT and the -P option didn't work when built ipv6-enabled. I've now made a fix for it. Writing test cases for custom port strings turned too tricky so unfortunately there's none. Revision 1.209 - (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.208: +4 -3 lines Diff to previous 1.208 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.208 - (view) (download) (annotate) - [select for diffs] Tue Jan 25 13:59:48 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.207: +2 -1 lines Diff to previous 1.207 new web mirror Revision 1.207 - (view) (download) (annotate) - [select for diffs] Sun Jan 23 00:08:56 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.206: +1 -1 lines Diff to previous 1.206 two options less Revision 1.206 - (view) (download) (annotate) - [select for diffs] Fri Jan 21 09:32:32 2005 UTC (5 years, 1 month ago) by bagder Branch: MAIN Changes since 1.205: +7 -2 lines Diff to previous 1.205 FTP third transfer support overhaul. See CHANGES for details. Revision 1.205 - (view) (download) (annotate) - [select for diffs] Thu Jan 20 22:22:12 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.204: +2 -1 lines Diff to previous 1.204 Philippe Hameau found out that -Q "+[command]" didn't work, although some code was written for it. I fixed and added test case 227 to verify it. The curl.1 man page didn't mention the '+' so I added it. Revision 1.204 - (view) (download) (annotate) - [select for diffs] Wed Jan 19 18:05:56 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.203: +4 -1 lines Diff to previous 1.203 today's proxy fixes Revision 1.203 - (view) (download) (annotate) - [select for diffs] Tue Jan 18 10:17:34 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.202: +1 -1 lines Diff to previous 1.202 Cody Jones' enhanced version of Samuel Díaz García's MSVC makefile patch. Revision 1.202 - (view) (download) (annotate) - [select for diffs] Mon Jan 17 14:57:21 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.201: +2 -1 lines Diff to previous 1.201 mention the name-prefix protocol guess thing Revision 1.201 - (view) (download) (annotate) - [select for diffs] Thu Jan 13 21:51:48 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.200: +3 -1 lines Diff to previous 1.200 Inspired by Martijn Koster's patch and example source at http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c, I now made the select() and poll() calls properly loop if they return -1 and errno is EINTR. glibc docs for this is found here: http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html This last link says BSD doesn't have this "effect". Will there be a problem if we do this unconditionally? S: ---------------------------------------------------------------------- Revision 1.200 - (view) (download) (annotate) - [select for diffs] Tue Jan 11 20:22:44 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.199: +1 -1 lines Diff to previous 1.199 Dan Torop cleaned up a few no longer used variables from David Phillips' select() overhaul fix. Revision 1.199 - (view) (download) (annotate) - [select for diffs] Tue Jan 11 14:00:45 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.198: +2 -1 lines Diff to previous 1.198 Cyrill Osterwalder posted a detailed analysis about a bug that occurs when using a custom Host: header and curl fails to send a request on a re-used persistent connection and thus creates a new connection and resends it. It then sent two Host: headers. Cyrill's analysis was posted here: http://curl.haxx.se/mail/archive-2005-01/0022.html Revision 1.198 - (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.197: +2 -1 lines Diff to previous 1.197 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.197 - (view) (download) (annotate) - [select for diffs] Mon Jan 10 11:27:02 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.196: +3 -3 lines Diff to previous 1.196 edited wording Revision 1.196 - (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.195: +2 -1 lines Diff to previous 1.195 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.195 - (view) (download) (annotate) - [select for diffs] Mon Jan 10 09:48:39 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.194: +3 -1 lines Diff to previous 1.194 Hzhijun reported a memory leak in the SSL certificate code, that leaked the remote certificate name when it didn't match the used host name. Revision 1.194 - (view) (download) (annotate) - [select for diffs] Fri Jan 7 21:14:57 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.193: +1 -0 lines Diff to previous 1.193 three recent bug fixes Revision 1.193 - (view) (download) (annotate) - [select for diffs] Wed Jan 5 14:12:06 2005 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.192: +4 -2 lines Diff to previous 1.192 recent events Revision 1.192 - (view) (download) (annotate) - [select for diffs] Sat Dec 25 22:30:31 2004 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.191: +6 -3 lines Diff to previous 1.191 --protocols, license, src/config.h.in Revision 1.191 - (view) (download) (annotate) - [select for diffs] Thu Dec 23 22:31:39 2004 UTC (5 years, 2 months ago) by bagder Branch: MAIN Changes since 1.190: +4 -1 lines Diff to previous 1.190 recent changes and Merry Christmas! Revision 1.190 - (view) (download) (annotate) - [select for diffs] Mon Dec 20 12:51:14 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.189: +5 -59 lines Diff to previous 1.189 and we start all over again Revision 1.189 - (view) (download) (annotate) - [select for diffs] Sun Dec 19 10:11:03 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN CVS Tags: curl-7_12_3 Changes since 1.188: +5 -5 lines Diff to previous 1.188 clarified a few changes Revision 1.188 - (view) (download) (annotate) - [select for diffs] Sat Dec 18 10:42:48 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.187: +6 -3 lines Diff to previous 1.187 Samuel Listopad added support for PKCS12 formatted certificates. Revision 1.187 - (view) (download) (annotate) - [select for diffs] Thu Dec 16 22:22:26 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.186: +1 -0 lines Diff to previous 1.186 several windows large-file fixes Revision 1.186 - (view) (download) (annotate) - [select for diffs] Thu Dec 16 09:52:36 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.185: +2 -1 lines Diff to previous 1.185 Dinar in bug report #1086121, found a file handle leak when a multipart formpost (including a file upload part) was aborted before the whole file was sent. Revision 1.185 - (view) (download) (annotate) - [select for diffs] Wed Dec 15 14:09:52 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.184: +3 -2 lines Diff to previous 1.184 yet another mirror! Revision 1.184 - (view) (download) (annotate) - [select for diffs] Wed Dec 15 09:23:24 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.183: +2 -1 lines Diff to previous 1.183 fixed how backslashes are treated in glob strings Revision 1.183 - (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.182: +3 -1 lines Diff to previous 1.182 Harshal Pradhan fixed changing username/password on a persitent HTTP connection. Revision 1.182 - (view) (download) (annotate) - [select for diffs] Mon Dec 13 10:58:37 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.181: +1 -0 lines Diff to previous 1.181 large file file:// resumes on windows Revision 1.181 - (view) (download) (annotate) - [select for diffs] Sat Dec 11 21:41:00 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.180: +1 -1 lines Diff to previous 1.180 HTTP IPv6 support added to the test suite Revision 1.180 - (view) (download) (annotate) - [select for diffs] Fri Dec 10 21:42:55 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.179: +3 -1 lines Diff to previous 1.179 username and IPv6 numerical address URL parser fix Revision 1.179 - (view) (download) (annotate) - [select for diffs] Fri Dec 10 09:46:14 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.178: +3 -1 lines Diff to previous 1.178 configure and curl-config fixes Revision 1.178 - (view) (download) (annotate) - [select for diffs] Tue Dec 7 23:09:41 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.177: +2 -1 lines Diff to previous 1.177 Rene Bernhardt found and fixed a buffer overrun in the NTLM code, where libcurl always and unconditionally overwrote a stack-based array with 3 zero bytes. I edited the fix to make it less likely to occur again (and added a comment explaining the reason to the buffer size). Revision 1.177 - (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.176: +2 -0 lines Diff to previous 1.176 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.176 - (view) (download) (annotate) - [select for diffs] Sun Dec 5 23:33:33 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.175: +3 -1 lines Diff to previous 1.175 Richard Atterer fixed libcurl's way of dealing with the EPSV response. Previously, libcurl would re-resolve the host name with the new port number and attempt to connect to that, while it should use the IP from the control channel. This bug made it hard to EPSV from an FTP server with multiple IP addresses! Revision 1.175 - (view) (download) (annotate) - [select for diffs] Fri Dec 3 11:06:05 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.174: +2 -2 lines Diff to previous 1.174 credit where credit is due Revision 1.174 - (view) (download) (annotate) - [select for diffs] Fri Dec 3 09:31:25 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.173: +4 -1 lines Diff to previous 1.173 Bug report #1078066: when a chunked transfer was pre-maturely closed exactly at a chunk boundary it was not considered an error and thus went unnoticed. Added test case 207 to verify. Revision 1.173 - (view) (download) (annotate) - [select for diffs] Tue Nov 30 10:21:25 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.172: +1 -1 lines Diff to previous 1.172 recent changes Revision 1.172 - (view) (download) (annotate) - [select for diffs] Mon Nov 29 21:45:25 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.171: +1 -0 lines Diff to previous 1.171 --disable-epsv when connecting to an IPv6 ftp server Revision 1.171 - (view) (download) (annotate) - [select for diffs] Mon Nov 29 08:47:33 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.170: +1 -1 lines Diff to previous 1.170 spell Revision 1.170 - (view) (download) (annotate) - [select for diffs] Fri Nov 26 21:35:14 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.169: +1 -0 lines Diff to previous 1.169 progress meter newline Revision 1.169 - (view) (download) (annotate) - [select for diffs] Thu Nov 25 22:21:49 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.168: +1 -0 lines Diff to previous 1.168 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.168 - (view) (download) (annotate) - [select for diffs] Wed Nov 24 16:11:35 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.167: +5 -1 lines Diff to previous 1.167 HTTP "auth done right". See lib/README.httpauth Revision 1.167 - (view) (download) (annotate) - [select for diffs] Tue Nov 23 09:22:23 2004 UTC (5 years, 3 months ago) by bagder Branch: MAIN Changes since 1.166: +3 -1 lines Diff to previous 1.166 yet another binding Revision 1.166 - (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.165: +3 -1 lines Diff to previous 1.165 David Phillips' FD_SETSIZE fix Revision 1.165 - (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.164: +4 -1 lines Diff to previous 1.164 clean up start time and t_startsingle use so that redirect_time works properly Revision 1.164 - (view) (download) (annotate) - [select for diffs] Thu Nov 11 09:51:12 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.163: +4 -1 lines Diff to previous 1.163 recent fixes Revision 1.163 - (view) (download) (annotate) - [select for diffs] Tue Nov 9 14:42:04 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.162: +1 -1 lines Diff to previous 1.162 with all external functions marked with CURL_EXTERN it is easy to count them and... yes, they are 46! Revision 1.162 - (view) (download) (annotate) - [select for diffs] Mon Nov 8 21:39:18 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.161: +3 -1 lines Diff to previous 1.161 today's work Revision 1.161 - (view) (download) (annotate) - [select for diffs] Fri Nov 5 14:43:35 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.160: +4 -1 lines Diff to previous 1.160 Tim Sneddon's VMS fix for huge HTTP POSTs Revision 1.160 - (view) (download) (annotate) - [select for diffs] Thu Nov 4 16:18:50 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.159: +3 -4 lines Diff to previous 1.159 update Revision 1.159 - (view) (download) (annotate) - [select for diffs] Tue Nov 2 21:46:27 2004 UTC (5 years, 4 months ago) by bagder Branch: MAIN Changes since 1.158: +9 -1 lines Diff to previous 1.158 recent changes Revision 1.158 - (view) (download) (annotate) - [select for diffs] Tue Oct 19 15:30:08 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.157: +6 -3 lines Diff to previous 1.157 CURLINFO_NUM_CONNECTS and more Revision 1.157 - (view) (download) (annotate) - [select for diffs] Mon Oct 18 08:42:44 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.156: +6 -63 lines Diff to previous 1.156 start over on 7.12.3 Revision 1.156 - (view) (download) (annotate) - [select for diffs] Sun Oct 17 07:48:00 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN CVS Tags: curl-7_12_2 Changes since 1.155: +2 -1 lines Diff to previous 1.155 new mirror Revision 1.155 - (view) (download) (annotate) - [select for diffs] Sat Oct 16 14:07:31 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.154: +6 -2 lines Diff to previous 1.154 today's changes Revision 1.154 - (view) (download) (annotate) - [select for diffs] Thu Oct 14 13:44:54 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.153: +4 -1 lines Diff to previous 1.153 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.153 - (view) (download) (annotate) - [select for diffs] Wed Oct 13 08:46:36 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.152: +2 -1 lines Diff to previous 1.152 .NET binding Revision 1.152 - (view) (download) (annotate) - [select for diffs] Tue Oct 12 12:47:38 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.151: +4 -1 lines Diff to previous 1.151 recent fixes Revision 1.151 - (view) (download) (annotate) - [select for diffs] Thu Oct 7 12:17:53 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.150: +3 -0 lines Diff to previous 1.150 Gisle's new fix, the old file:// leak Revision 1.150 - (view) (download) (annotate) - [select for diffs] Wed Oct 6 13:37:12 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.149: +2 -1 lines Diff to previous 1.149 Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabled CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if the new URL would provide the resumed file. Test case 188 added to verify the fix (together with existing test 99). Revision 1.149 - (view) (download) (annotate) - [select for diffs] Wed Oct 6 09:04:20 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.148: +1 -0 lines Diff to previous 1.148 updates of today Revision 1.148 - (view) (download) (annotate) - [select for diffs] Tue Oct 5 10:52:51 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.147: +2 -0 lines Diff to previous 1.147 recent fixes Revision 1.147 - (view) (download) (annotate) - [select for diffs] Mon Oct 4 10:37:30 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.146: +15 -5 lines Diff to previous 1.146 closing in on release Revision 1.146 - (view) (download) (annotate) - [select for diffs] Fri Oct 1 06:43:37 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.145: +5 -1 lines Diff to previous 1.145 reflect the last few changes Revision 1.145 - (view) (download) (annotate) - [select for diffs] Tue Sep 28 22:26:47 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.144: +4 -1 lines Diff to previous 1.144 Bertrand Demiddelaer fixed curl_easy_reset() so that it doesn't mistakingly enable the progress meter. Revision 1.144 - (view) (download) (annotate) - [select for diffs] Tue Sep 28 22:04:17 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.143: +6 -5 lines Diff to previous 1.143 recent stuff Revision 1.143 - (view) (download) (annotate) - [select for diffs] Wed Sep 22 18:23:14 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.142: +1 -1 lines Diff to previous 1.142 Dan Fandrich patched three tests Revision 1.142 - (view) (download) (annotate) - [select for diffs] Wed Sep 22 12:54:41 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.141: +2 -1 lines Diff to previous 1.141 Jean-Claude Chauve is a friend! Revision 1.141 - (view) (download) (annotate) - [select for diffs] Wed Sep 22 08:01:41 2004 UTC (5 years, 5 months ago) by bagder Branch: MAIN Changes since 1.140: +2 -1 lines Diff to previous 1.140 jean-claude Chauve fixed an LDAP bug Revision 1.140 - (view) (download) (annotate) - [select for diffs] Sun Sep 19 14:30:16 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.139: +2 -1 lines Diff to previous 1.139 the error message fix for failed connects Revision 1.139 - (view) (download) (annotate) - [select for diffs] Fri Sep 17 07:55:14 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.138: +1 -0 lines Diff to previous 1.138 Location:-follow problem Revision 1.138 - (view) (download) (annotate) - [select for diffs] Thu Sep 16 22:10:15 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.137: +2 -2 lines Diff to previous 1.137 one more option, one more friend Revision 1.137 - (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.136: +2 -1 lines Diff to previous 1.136 Added CURLOPT_FTPSSLAUTH Revision 1.136 - (view) (download) (annotate) - [select for diffs] Wed Sep 15 07:31:48 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.135: +1 -1 lines Diff to previous 1.135 the new date parser affects -z Revision 1.135 - (view) (download) (annotate) - [select for diffs] Sat Sep 11 20:06:14 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.134: +2 -1 lines Diff to previous 1.134 mention more friends Revision 1.134 - (view) (download) (annotate) - [select for diffs] Fri Sep 10 21:47:52 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.133: +1 -0 lines Diff to previous 1.133 fixed -F to support setting type= even on parts that aren't file-uploads Revision 1.133 - (view) (download) (annotate) - [select for diffs] Fri Sep 10 21:13:55 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.132: +2 -0 lines Diff to previous 1.132 up to date with recent changes Revision 1.132 - (view) (download) (annotate) - [select for diffs] Mon Aug 30 15:02:37 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.131: +2 -1 lines Diff to previous 1.131 proxy connection close and so Revision 1.131 - (view) (download) (annotate) - [select for diffs] Mon Aug 30 09:16:43 2004 UTC (5 years, 6 months ago) by bagder Branch: MAIN Changes since 1.130: +2 -0 lines Diff to previous 1.130 getdate fix, adacurl release Revision 1.130 - (view) (download) (annotate) - [select for diffs] Fri Aug 20 12:09:09 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN Changes since 1.129: +1 -0 lines Diff to previous 1.129 Alexander Krasnostavsky made the write callback get called even when a zero byte file is downloaded. Revision 1.129 - (view) (download) (annotate) - [select for diffs] Thu Aug 19 06:44:19 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN Changes since 1.128: +5 -1 lines Diff to previous 1.128 Ling Thio pointed out that getaddrinfo() reverse-lookups ip-only names, and this is an attempt to prevent it from doing that. affects ipv6-enabled only. Revision 1.128 - (view) (download) (annotate) - [select for diffs] Tue Aug 17 06:56:53 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN Changes since 1.127: +5 -2 lines Diff to previous 1.127 recent fixes Revision 1.127 - (view) (download) (annotate) - [select for diffs] Tue Aug 10 08:56:12 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN Changes since 1.126: +6 -62 lines Diff to previous 1.126 and we're back on a clean notes sheet again Revision 1.126 - (view) (download) (annotate) - [select for diffs] Tue Aug 10 08:42:54 2004 UTC (5 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_12_1 Changes since 1.125: +18 -16 lines Diff to previous 1.125 7.12.1 notes |