| |
|
|
|
Log of /CHANGES
Revision 1.1848 - (view) (download) (annotate) - [select for diffs] Fri Mar 19 15:43:11 2010 UTC (43 hours, 59 minutes ago) by kdudka Branch: MAIN CVS Tags: HEAD Changes since 1.1847: +3 -0 lines Diff to previous 1.1847 - Improved Curl_read() to not ignore the error returned from Curl_ssl_recv(). Revision 1.1847 - (view) (download) (annotate) - [select for diffs] Mon Mar 15 22:40:42 2010 UTC (5 days, 13 hours ago) by bagder Branch: MAIN Changes since 1.1846: +10 -0 lines Diff to previous 1.1846 - 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.1846 - (view) (download) (annotate) - [select for diffs] Sat Mar 6 18:42:06 2010 UTC (2 weeks ago) by bagder Branch: MAIN Changes since 1.1845: +4 -0 lines Diff to previous 1.1845 - Ben Greear brought a patch that fixed the rate limiting logic for TFTP when the easy interface was used. Revision 1.1845 - (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.1844: +3 -0 lines Diff to previous 1.1844 Daniel Johnson provided fixes for building with the clang compiler Revision 1.1844 - (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.1843: +5 -0 lines Diff to previous 1.1843 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.1843 - (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.1842: +14 -0 lines Diff to previous 1.1842 - [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.1842 - (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.1841: +5 -0 lines Diff to previous 1.1841 - 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.1841 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 13:41:18 2010 UTC (2 weeks, 4 days ago) by bagder Branch: MAIN Changes since 1.1840: +6 -0 lines Diff to previous 1.1840 - 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.1840 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 13:34:57 2010 UTC (2 weeks, 4 days ago) by bagder Branch: MAIN Changes since 1.1839: +6 -0 lines Diff to previous 1.1839 - 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.1839 - (view) (download) (annotate) - [select for diffs] Tue Mar 2 13:26:23 2010 UTC (2 weeks, 4 days ago) by bagder Branch: MAIN Changes since 1.1838: +10 -0 lines Diff to previous 1.1838 - 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.1838 - (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.1837: +2 -0 lines Diff to previous 1.1837 - Ben Greear provided an update for TFTP that fixes upload. Revision 1.1837 - (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.1836: +7 -0 lines Diff to previous 1.1836 - 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.1836 - (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.1835: +6 -0 lines Diff to previous 1.1835 - 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.1835 - (view) (download) (annotate) - [select for diffs] Fri Feb 26 21:24:44 2010 UTC (3 weeks, 1 day ago) by danf Branch: MAIN Changes since 1.1834: +1 -1 lines Diff to previous 1.1834 Fixed a couple of out of memory leaks and a segfault in the IMAP code. Revision 1.1834 - (view) (download) (annotate) - [select for diffs] Thu Feb 25 08:07:06 2010 UTC (3 weeks, 3 days ago) by danf Branch: MAIN Changes since 1.1833: +3 -0 lines Diff to previous 1.1833 Fixed a couple of out of memory leaks and a segfault in the SMTP code. Revision 1.1833 - (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.1832: +6 -0 lines Diff to previous 1.1832 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.1832 - (view) (download) (annotate) - [select for diffs] Mon Feb 22 12:41:02 2010 UTC (3 weeks, 5 days ago) by patrickm Branch: MAIN Changes since 1.1831: +7 -0 lines Diff to previous 1.1831 - Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account. - SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required). - Use of true local host name (i.e.: via gethostname()) when available, as default argument to SMTP HELO/EHLO. - Test case 804 for HELO fallback. Revision 1.1831 - (view) (download) (annotate) - [select for diffs] Sat Feb 20 22:29:59 2010 UTC (4 weeks ago) by bagder Branch: MAIN Changes since 1.1830: +6 -0 lines Diff to previous 1.1830 - 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.1830 - (view) (download) (annotate) - [select for diffs] Sat Feb 20 21:56:48 2010 UTC (4 weeks ago) by bagder Branch: MAIN Changes since 1.1829: +7 -0 lines Diff to previous 1.1829 - 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.1829 - (view) (download) (annotate) - [select for diffs] Sun Feb 14 19:46:15 2010 UTC (4 weeks, 6 days ago) by yangtse Branch: MAIN Changes since 1.1828: +15 -15 lines Diff to previous 1.1828 removed trailing whitespace Revision 1.1828 - (view) (download) (annotate) - [select for diffs] Sun Feb 14 13:14:17 2010 UTC (4 weeks, 6 days ago) by yangtse Branch: MAIN Changes since 1.1827: +4 -0 lines Diff to previous 1.1827 Overhauled test suite getpart() function. Fixing potential out of bounds stack and memory overwrites triggered with huge test case definitions. Revision 1.1827 - (view) (download) (annotate) - [select for diffs] Sat Feb 13 21:30:16 2010 UTC (5 weeks ago) by bagder Branch: MAIN Changes since 1.1826: +6 -0 lines Diff to previous 1.1826 - 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.1826 - (view) (download) (annotate) - [select for diffs] Sat Feb 13 17:51:30 2010 UTC (5 weeks ago) by bagder Branch: MAIN Changes since 1.1825: +3 -0 lines Diff to previous 1.1825 - Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake. Revision 1.1825 - (view) (download) (annotate) - [select for diffs] Fri Feb 12 22:23:46 2010 UTC (5 weeks, 1 day ago) by bagder Branch: MAIN Changes since 1.1824: +9 -0 lines Diff to previous 1.1824 - 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.1824 - (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.1823: +4 -0 lines Diff to previous 1.1823 mention last changes Revision 1.1823 - (view) (download) (annotate) - [select for diffs] Tue Feb 9 10:06:48 2010 UTC (5 weeks, 5 days ago) by bagder Branch: MAIN CVS Tags: curl-7_20_0 Changes since 1.1822: +7 -6 lines Diff to previous 1.1822 spell and 7.20.0 Revision 1.1822 - (view) (download) (annotate) - [select for diffs] Tue Feb 9 09:35:48 2010 UTC (5 weeks, 5 days ago) by bagder Branch: MAIN Changes since 1.1821: +13 -0 lines Diff to previous 1.1821 - 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.1821 - (view) (download) (annotate) - [select for diffs] Wed Feb 3 23:07:11 2010 UTC (6 weeks, 3 days ago) by danf Branch: MAIN Changes since 1.1820: +4 -0 lines Diff to previous 1.1820 Changed the Watcom makefiles to make them easier to keep in sync with Makefile.inc since that can't be included directly. Revision 1.1820 - (view) (download) (annotate) - [select for diffs] Tue Feb 2 15:23:13 2010 UTC (6 weeks, 4 days ago) by yangtse Branch: MAIN Changes since 1.1819: +7 -0 lines Diff to previous 1.1819 mention a couple of changes back from November Revision 1.1819 - (view) (download) (annotate) - [select for diffs] Tue Feb 2 12:58:49 2010 UTC (6 weeks, 4 days ago) by yangtse Branch: MAIN Changes since 1.1818: +5 -0 lines Diff to previous 1.1818 - 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.1818 - (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.1817: +57 -0 lines Diff to previous 1.1817 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.1817 - (view) (download) (annotate) - [select for diffs] Wed Jan 27 18:10:35 2010 UTC (7 weeks, 3 days ago) by yangtse Branch: MAIN Changes since 1.1816: +15 -0 lines Diff to previous 1.1816 mention asynchronous DNS lookups enhancements Revision 1.1816 - (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.1815: +5 -0 lines Diff to previous 1.1815 - 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.1815 - (view) (download) (annotate) - [select for diffs] Sat Jan 23 20:14:39 2010 UTC (8 weeks ago) by zagor Branch: MAIN Changes since 1.1814: +5 -0 lines Diff to previous 1.1814 Mention -J change Revision 1.1814 - (view) (download) (annotate) - [select for diffs] Thu Jan 21 13:58:30 2010 UTC (8 weeks, 2 days ago) by bagder Branch: MAIN Changes since 1.1813: +5 -0 lines Diff to previous 1.1813 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.1813 - (view) (download) (annotate) - [select for diffs] Tue Jan 19 23:19:59 2010 UTC (8 weeks, 4 days ago) by bagder Branch: MAIN Changes since 1.1812: +13 -0 lines Diff to previous 1.1812 - 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.1812 - (view) (download) (annotate) - [select for diffs] Tue Jan 19 21:39:10 2010 UTC (8 weeks, 4 days ago) by bagder Branch: MAIN Changes since 1.1811: +7 -0 lines Diff to previous 1.1811 - 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.1811 - (view) (download) (annotate) - [select for diffs] Thu Jan 14 01:37:55 2010 UTC (2 months ago) by kdudka Branch: MAIN Changes since 1.1810: +6 -0 lines Diff to previous 1.1810 - Suppressed side effect of OpenSSL configure checks, which prevented NSS from being properly detected under certain circumstances. It had been caused by strange behavior of pkg-config when handling PKG_CONFIG_LIBDIR. pkg-config distinguishes among empty and non-existent environment variable in that case. Revision 1.1810 - (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.1809: +7 -0 lines Diff to previous 1.1809 - 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.1809 - (view) (download) (annotate) - [select for diffs] Mon Jan 11 21:38:13 2010 UTC (2 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1808: +3 -0 lines Diff to previous 1.1808 - Made sure that the progress callback is repeatedly called at a regular interval even during very slow connects. Revision 1.1808 - (view) (download) (annotate) - [select for diffs] Mon Jan 11 15:50:30 2010 UTC (2 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1807: +7 -0 lines Diff to previous 1.1807 - The tests/runtests.pl script now checks to see if the test case that runs is present in the tests/data/Makefile.am and outputs a notice message on the screen if not. Each test file has to be included in that Makefile.am to get included in release archives and forgetting to add files there is a common mistake. This is an attempt to make it harder to forget. Revision 1.1807 - (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.1806: +14 -0 lines Diff to previous 1.1806 - 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.1806 - (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.1805: +4 -0 lines Diff to previous 1.1805 - Make sure the progress callback is called repeatedly even during very slow name resolves when c-ares is used for resolving. Revision 1.1805 - (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.1804: +4 -0 lines Diff to previous 1.1804 Julien Chaffraix fixed so that the fragment part in an URL is not sent to the server anymore Revision 1.1804 - (view) (download) (annotate) - [select for diffs] Sun Jan 3 13:46:37 2010 UTC (2 months, 2 weeks ago) by kdudka Branch: MAIN Changes since 1.1803: +3 -0 lines Diff to previous 1.1803 - Julien Chaffraix eliminated a duplicated initialization in singlesocket(). Revision 1.1803 - (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.1802: +7 -0 lines Diff to previous 1.1802 - 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.1802 - (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.1801: +14 -0 lines Diff to previous 1.1801 - 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.1801 - (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.1800: +4 -0 lines Diff to previous 1.1800 VMS build system enhancements by Steven M. Schweda and Craig A. Berry Revision 1.1800 - (view) (download) (annotate) - [select for diffs] Fri Dec 25 23:35:16 2009 UTC (2 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1799: +2 -0 lines Diff to previous 1.1799 add pointer to the bug report Revision 1.1799 - (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.1798: +4 -0 lines Diff to previous 1.1798 - Renato Botelho and Peter Pentchev brought a patch that makes the libcurl headers work correctly even on FreeBSD systems before v8. Revision 1.1798 - (view) (download) (annotate) - [select for diffs] Thu Dec 17 13:29:41 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.1797: +3 -0 lines Diff to previous 1.1797 - David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when available. Revision 1.1797 - (view) (download) (annotate) - [select for diffs] Wed Dec 16 23:11:47 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.1796: +15 -0 lines Diff to previous 1.1796 Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I was a bit too quick and broke test case 1101 with that change. The order of some of the setups is sensitive. I now changed it slightly again. Revision 1.1796 - (view) (download) (annotate) - [select for diffs] Mon Dec 14 23:16:09 2009 UTC (3 months ago) by bagder Branch: MAIN Changes since 1.1795: +10 -0 lines Diff to previous 1.1795 - 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.1795 - (view) (download) (annotate) - [select for diffs] Sat Dec 12 22:05:11 2009 UTC (3 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1794: +10 -0 lines Diff to previous 1.1794 IMAP, POP3 and SMTP support Revision 1.1794 - (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.1793: +8 -0 lines Diff to previous 1.1793 - 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.1793 - (view) (download) (annotate) - [select for diffs] Thu Dec 10 20:26:44 2009 UTC (3 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1792: +1 -1 lines Diff to previous 1.1792 argh, use the correct bug id Revision 1.1792 - (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.1791: +7 -0 lines Diff to previous 1.1791 - 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.1791 - (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.1790: +5 -0 lines Diff to previous 1.1790 - 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.1790 - (view) (download) (annotate) - [select for diffs] Tue Dec 1 12:04:54 2009 UTC (3 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1789: +6 -0 lines Diff to previous 1.1789 - 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.1789 - (view) (download) (annotate) - [select for diffs] Sat Nov 28 10:01:21 2009 UTC (3 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.1788: +3 -0 lines Diff to previous 1.1788 - Added Diffie-Hellman parameters to several test harness certificate files in PEM format. Required by several stunnel versions used by our test harness. Revision 1.1788 - (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.1787: +12 -4 lines Diff to previous 1.1787 - 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.1787 - (view) (download) (annotate) - [select for diffs] Thu Nov 26 19:07:54 2009 UTC (3 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1786: +7 -0 lines Diff to previous 1.1786 - Extended and fixed the change I did on Dec 11 for the the progress meter/callback during FTP command/response sequences. It turned out it was really lame before and now the progress meter SHOULD get called at least once per second. Revision 1.1786 - (view) (download) (annotate) - [select for diffs] Mon Nov 23 16:48:31 2009 UTC (3 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.1785: +20 -0 lines Diff to previous 1.1785 - David Byron modified Makefile.dist vc8 and vc9 targets in order to allow finer granularity control when generating src and lib makefiles. Revision 1.1785 - (view) (download) (annotate) - [select for diffs] Mon Nov 23 13:56:45 2009 UTC (3 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1784: +8 -0 lines Diff to previous 1.1784 - 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.1784 - (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.1783: +4 -0 lines Diff to previous 1.1783 - 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.1783 - (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.1782: +6 -0 lines Diff to previous 1.1782 - 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.1782 - (view) (download) (annotate) - [select for diffs] Tue Nov 17 22:53:55 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.1781: +12 -0 lines Diff to previous 1.1781 - 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.1781 - (view) (download) (annotate) - [select for diffs] Tue Nov 17 18:11:06 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.1780: +6 -0 lines Diff to previous 1.1780 - 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.1780 - (view) (download) (annotate) - [select for diffs] Sun Nov 15 15:23:43 2009 UTC (4 months ago) by kdudka Branch: MAIN Changes since 1.1779: +5 -0 lines Diff to previous 1.1779 - David Byron improved the configure script to use pkg-config to find OpenSSL (and in particular the list of required libraries) even if a path is given as argument to --with-ssl Revision 1.1779 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 19:23:26 2009 UTC (4 months ago) by claesjac Branch: MAIN Changes since 1.1778: +3 -0 lines Diff to previous 1.1778 Added '--configure' option to curl-config to display original configure arguments when curl was built Revision 1.1778 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 09:13:47 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.1777: +7 -0 lines Diff to previous 1.1777 - 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.1777 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 07:53:34 2009 UTC (4 months ago) by bagder Branch: MAIN Changes since 1.1776: +6 -0 lines Diff to previous 1.1776 - 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.1776 - (view) (download) (annotate) - [select for diffs] Sat Nov 14 02:30:30 2009 UTC (4 months ago) by yangtse Branch: MAIN Changes since 1.1775: +4 -0 lines Diff to previous 1.1775 - 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.1775 - (view) (download) (annotate) - [select for diffs] Thu Nov 12 11:16:31 2009 UTC (4 months, 1 week ago) by kdudka Branch: MAIN Changes since 1.1774: +7 -0 lines Diff to previous 1.1774 - libcurl-NSS now tries to reconnect with TLS disabled in case it detects a broken TLS server. However it does not happen if SSL version is selected manually. The approach was originally taken from PSM. Kaspar Brand helped me to complete the patch. Original bug reports: https://bugzilla.redhat.com/525496 https://bugzilla.redhat.com/527771 Revision 1.1774 - (view) (download) (annotate) - [select for diffs] Thu Nov 12 10:54:10 2009 UTC (4 months, 1 week ago) by kdudka Branch: MAIN Changes since 1.1773: +6 -0 lines Diff to previous 1.1773 - Kevin Baughman provided a fix preventing libcurl-NSS from crash on doubly closed NSPR descriptor. The issue was hard to find, reported several times before and always closed unresolved. More info at the RH bug: https://bugzilla.redhat.com/534176 Revision 1.1773 - (view) (download) (annotate) - [select for diffs] Wed Nov 11 21:15:34 2009 UTC (4 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1772: +5 -0 lines Diff to previous 1.1772 - 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.1772 - (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.1771: +6 -0 lines Diff to previous 1.1771 - 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.1771 - (view) (download) (annotate) - [select for diffs] Wed Nov 11 09:01:43 2009 UTC (4 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1770: +6 -0 lines Diff to previous 1.1770 - 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.1770 - (view) (download) (annotate) - [select for diffs] Thu Nov 5 15:41:31 2009 UTC (4 months, 2 weeks ago) by kdudka Branch: MAIN Changes since 1.1769: +4 -0 lines Diff to previous 1.1769 - Dropped misleading timeouts in libcurl-NSS and made sure the SSL socket works in non-blocking mode. Revision 1.1769 - (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.1768: +5 -0 lines Diff to previous 1.1768 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.1768 - (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.1767: +7 -0 lines Diff to previous 1.1767 - 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.1767 - (view) (download) (annotate) - [select for diffs] Wed Nov 4 12:20:07 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_7 Changes since 1.1766: +2 -0 lines Diff to previous 1.1766 release coming up Revision 1.1766 - (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.1765: +5 -0 lines Diff to previous 1.1765 - 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.1765 - (view) (download) (annotate) - [select for diffs] Sat Oct 31 18:51:50 2009 UTC (4 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1764: +5 -0 lines Diff to previous 1.1764 - 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.1764 - (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.1763: +5 -0 lines Diff to previous 1.1763 - 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.1763 - (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.1762: +7 -0 lines Diff to previous 1.1762 - "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.1762 - (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.1761: +7 -0 lines Diff to previous 1.1761 - 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.1761 - (view) (download) (annotate) - [select for diffs] Wed Oct 21 14:56:25 2009 UTC (4 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1760: +3 -0 lines Diff to previous 1.1760 - Attempt to use pkg-config for finding out libssh2 installation details during configure. Revision 1.1760 - (view) (download) (annotate) - [select for diffs] Wed Oct 21 12:36:54 2009 UTC (4 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1759: +1 -1 lines Diff to previous 1.1759 s/koresh/Johan van Selst/ Revision 1.1759 - (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.1758: +6 -0 lines Diff to previous 1.1758 - 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.1758 - (view) (download) (annotate) - [select for diffs] Sun Oct 18 21:56:19 2009 UTC (5 months ago) by bagder Branch: MAIN Changes since 1.1757: +5 -0 lines Diff to previous 1.1757 - 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.1757 - (view) (download) (annotate) - [select for diffs] Sun Oct 18 01:11:25 2009 UTC (5 months ago) by bagder Branch: MAIN Changes since 1.1756: +3 -0 lines Diff to previous 1.1756 - Fixed memory leak in the SCP/SFTP code as it never freed the knownhosts data! Revision 1.1756 - (view) (download) (annotate) - [select for diffs] Sun Oct 18 00:18:27 2009 UTC (5 months ago) by bagder Branch: MAIN Changes since 1.1755: +6 -0 lines Diff to previous 1.1755 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.1755 - (view) (download) (annotate) - [select for diffs] Sun Oct 18 00:10:13 2009 UTC (5 months ago) by bagder Branch: MAIN Changes since 1.1754: +5 -0 lines Diff to previous 1.1754 - 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.1754 - (view) (download) (annotate) - [select for diffs] Sat Oct 17 17:33:19 2009 UTC (5 months ago) by yangtse Branch: MAIN Changes since 1.1753: +7 -0 lines Diff to previous 1.1753 Fix invalid file name characters handling on Windows Revision 1.1753 - (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.1752: +7 -0 lines Diff to previous 1.1752 - 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.1752 - (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.1751: +7 -0 lines Diff to previous 1.1751 - 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.1751 - (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.1750: +10 -0 lines Diff to previous 1.1750 - 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.1750 - (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.1749: +6 -0 lines Diff to previous 1.1749 - 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.1749 - (view) (download) (annotate) - [select for diffs] Sat Sep 26 08:31:48 2009 UTC (5 months, 3 weeks ago) by kdudka Branch: MAIN Changes since 1.1748: +6 -0 lines Diff to previous 1.1748 - Implemented a protocol independent way to specify blocking direction, used by transfer.c for blocking. It is currently used only by SCP and SFTP protocols. This enhancement resolves an issue with 100% CPU usage during SFTP upload, reported by Vourhey. Revision 1.1748 - (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.1747: +6 -0 lines Diff to previous 1.1747 - 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.1747 - (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.1746: +0 -3 lines Diff to previous 1.1746 revert HPUX change since it already works fine Revision 1.1746 - (view) (download) (annotate) - [select for diffs] Wed Sep 23 21:53:24 2009 UTC (5 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1745: +3 -0 lines Diff to previous 1.1745 - HPUX does need _REENTRANT too to build really thread-safe. Revision 1.1745 - (view) (download) (annotate) - [select for diffs] Wed Sep 16 20:44:18 2009 UTC (6 months ago) by bagder Branch: MAIN Changes since 1.1744: +6 -0 lines Diff to previous 1.1744 - 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.1744 - (view) (download) (annotate) - [select for diffs] Wed Sep 16 03:19:49 2009 UTC (6 months ago) by danf Branch: MAIN Changes since 1.1743: +7 -0 lines Diff to previous 1.1743 Moved the libssh2 checks after the SSL library checks. This helps when statically linking since libssh2 needs the SSL library link flags to be set up already to satisfy its dependencies. This wouldn't be necessary if the libssh2 configure check was changed to use pkg-config since the --static flag would add the dependencies automatically. Revision 1.1743 - (view) (download) (annotate) - [select for diffs] Tue Sep 15 00:16:50 2009 UTC (6 months ago) by yangtse Branch: MAIN Changes since 1.1742: +12 -0 lines Diff to previous 1.1742 mention last changes Revision 1.1742 - (view) (download) (annotate) - [select for diffs] Fri Sep 11 02:33:04 2009 UTC (6 months, 1 week ago) by gknauf Branch: MAIN Changes since 1.1741: +4 -0 lines Diff to previous 1.1741 Joshua Kwan provided a patch to pass POLLERR / POLLHUP back to c-ares. This fixes a loop problem with high CPU usage. Revision 1.1741 - (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.1740: +6 -0 lines Diff to previous 1.1740 - 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.1740 - (view) (download) (annotate) - [select for diffs] Sun Sep 6 00:00:19 2009 UTC (6 months, 1 week ago) by gknauf Branch: MAIN Changes since 1.1739: +2 -2 lines Diff to previous 1.1739 language! / take2 Revision 1.1739 - (view) (download) (annotate) - [select for diffs] Wed Sep 2 21:13:24 2009 UTC (6 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1738: +1 -1 lines Diff to previous 1.1738 language! Revision 1.1738 - (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.1737: +4 -0 lines Diff to previous 1.1737 - Daniel Johnson founded a flaw in the code convering sftp-errors to libcurl errors. Revision 1.1737 - (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.1736: +5 -0 lines Diff to previous 1.1736 - 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.1736 - (view) (download) (annotate) - [select for diffs] Tue Sep 1 06:53:01 2009 UTC (6 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1735: +10 -0 lines Diff to previous 1.1735 - 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.1735 - (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.1734: +7 -0 lines Diff to previous 1.1734 - 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.1734 - (view) (download) (annotate) - [select for diffs] Fri Aug 28 12:06:51 2009 UTC (6 months, 3 weeks ago) by kdudka Branch: MAIN Changes since 1.1733: +5 -0 lines Diff to previous 1.1733 - Improved error message for not matching certificate subject name in libcurl-NSS. Originally reported at: https://bugzilla.redhat.com/show_bug.cgi?id=516056#c9 Revision 1.1733 - (view) (download) (annotate) - [select for diffs] Mon Aug 24 12:57:25 2009 UTC (6 months, 3 weeks ago) by patrickm Branch: MAIN Changes since 1.1732: +7 -0 lines Diff to previous 1.1732 - Introduced a SYST-based test to properly set-up name format when dealing with the OS/400 FTP server. - Fixed an ftp_readresp() bug preventing detection of failing control socket and causing FTP client to loop forever. Revision 1.1732 - (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.1731: +3 -0 lines Diff to previous 1.1731 - 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.1731 - (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.1730: +6 -0 lines Diff to previous 1.1730 - 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.1730 - (view) (download) (annotate) - [select for diffs] Fri Aug 21 12:15:35 2009 UTC (6 months, 4 weeks ago) by mmarek Branch: MAIN Changes since 1.1729: +5 -0 lines Diff to previous 1.1729 With CURLOPT_PROXY_TRANSFER_MODE, avoid sending invalid URLs like ftp://example.com;type=i if the user specified ftp://example.com without the slash. Revision 1.1729 - (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.1728: +5 -0 lines Diff to previous 1.1728 - 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.1728 - (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.1727: +7 -0 lines Diff to previous 1.1727 - 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.1727 - (view) (download) (annotate) - [select for diffs] Thu Aug 13 16:04:51 2009 UTC (7 months ago) by kdudka Branch: MAIN Changes since 1.1726: +5 -0 lines Diff to previous 1.1726 - Changed NSS code to not ignore the value of ssl.verifyhost and produce more verbose error messages. Originally reported at: https://bugzilla.redhat.com/show_bug.cgi?id=516056 Revision 1.1726 - (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.1725: +8 -0 lines Diff to previous 1.1725 mention yesterday's changes Revision 1.1725 - (view) (download) (annotate) - [select for diffs] Wed Aug 12 08:59:30 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN CVS Tags: curl-7_19_6 Changes since 1.1724: +2 -0 lines Diff to previous 1.1724 7.19.6 Revision 1.1724 - (view) (download) (annotate) - [select for diffs] Wed Aug 12 08:19:39 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1723: +6 -0 lines Diff to previous 1.1723 - 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.1723 - (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.1722: +7 -0 lines Diff to previous 1.1722 - 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.1722 - (view) (download) (annotate) - [select for diffs] Tue Aug 11 20:43:12 2009 UTC (7 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1721: +5 -0 lines Diff to previous 1.1721 - Benbuck Nason posted the bug report #2835196 (http://curl.haxx.se/bug/view.cgi?id=2835196), fixing a few compiler warnings when mixing ints and bools. Revision 1.1721 - (view) (download) (annotate) - [select for diffs] Tue Aug 11 02:30:54 2009 UTC (7 months, 1 week ago) by danf Branch: MAIN Changes since 1.1720: +3 -0 lines Diff to previous 1.1720 Fixed a memory leak in the FTP code and an off-by-one heap buffer overflow. Revision 1.1720 - (view) (download) (annotate) - [select for diffs] Sun Aug 9 23:15:20 2009 UTC (7 months, 1 week ago) by danf Branch: MAIN Changes since 1.1719: +4 -0 lines Diff to previous 1.1719 Fixed some memory leaks in the command-line tool that caused most of the torture tests to fail. Revision 1.1719 - (view) (download) (annotate) - [select for diffs] Sat Aug 1 22:18:37 2009 UTC (7 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1718: +4 -2 lines Diff to previous 1.1718 clarify the description of the null byte in cert name fix Revision 1.1718 - (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.1717: +8 -0 lines Diff to previous 1.1717 - 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.1717 - (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.1716: +15 -0 lines Diff to previous 1.1716 - 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.1716 - (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.1715: +5 -0 lines Diff to previous 1.1715 - 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.1715 - (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.1714: +5 -0 lines Diff to previous 1.1714 - 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.1714 - (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.1713: +14 -4 lines Diff to previous 1.1713 - 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.1713 - (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.1712: +6 -0 lines Diff to previous 1.1712 - 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.1712 - (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.1711: +13 -6 lines Diff to previous 1.1711 - 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.1711 - (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.1710: +4 -0 lines Diff to previous 1.1710 - 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.1710 - (view) (download) (annotate) - [select for diffs] Mon Jul 20 21:50:21 2009 UTC (8 months ago) by kdudka Branch: MAIN Changes since 1.1709: +10 -0 lines Diff to previous 1.1709 - Claes Jakobsson improved the support for client certificates handling in NSS-powered libcurl. Now the client certificates can be selected automatically by a NSS built-in hook. Additionally pre-login to all PKCS11 slots is no more performed. It used to cause problems with HW tokens. - Fixed reference counting for NSS client certificates. Now the PEM reader module should be always properly unloaded on Curl_nss_cleanup(). If the unload fails though, libcurl will try to reuse the already loaded instance. Revision 1.1709 - (view) (download) (annotate) - [select for diffs] Wed Jul 15 21:49:47 2009 UTC (8 months ago) by danf Branch: MAIN Changes since 1.1708: +4 -0 lines Diff to previous 1.1708 Added nonblock.c to the non-automake makefiles (note that the dependencies in the Watcom makefiles aren't quite correct). Revision 1.1708 - (view) (download) (annotate) - [select for diffs] Wed Jul 15 11:49:12 2009 UTC (8 months ago) by mmarek Branch: MAIN Changes since 1.1707: +4 -0 lines Diff to previous 1.1707 - Changed the description of CURLINFO_OS_ERRNO to make it clear that the errno is not reset on success. Revision 1.1707 - (view) (download) (annotate) - [select for diffs] Tue Jul 14 13:30:24 2009 UTC (8 months ago) by gknauf Branch: MAIN Changes since 1.1706: +4 -0 lines Diff to previous 1.1706 renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h. Revision 1.1706 - (view) (download) (annotate) - [select for diffs] Thu Jul 9 21:47:24 2009 UTC (8 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1705: +5 -0 lines Diff to previous 1.1705 - Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for setting a file descriptor non-blocking. Used by the functionality Eric himself brough on June 15th. Revision 1.1705 - (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.1704: +22 -1 lines Diff to previous 1.1704 - 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.1704 - (view) (download) (annotate) - [select for diffs] Sat Jul 4 01:04:23 2009 UTC (8 months, 2 weeks ago) by gknauf Branch: MAIN Changes since 1.1703: +4 -0 lines Diff to previous 1.1703 Markus Koetter provided a patch to avoid getnameinfo() usage which broke a couple of both IPv4 and IPv6 autobuilds. Revision 1.1703 - (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.1702: +10 -0 lines Diff to previous 1.1702 - 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.1702 - (view) (download) (annotate) - [select for diffs] Wed Jun 17 02:26:39 2009 UTC (9 months ago) by danf Branch: MAIN Changes since 1.1701: +3 -0 lines Diff to previous 1.1701 Added a few more compiler warning options for gcc. Revision 1.1701 - (view) (download) (annotate) - [select for diffs] Tue Jun 16 18:03:28 2009 UTC (9 months ago) by bagder Branch: MAIN Changes since 1.1700: +5 -0 lines Diff to previous 1.1700 - 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.1700 - (view) (download) (annotate) - [select for diffs] Tue Jun 16 13:16:28 2009 UTC (9 months ago) by mmarek Branch: MAIN Changes since 1.1699: +4 -0 lines Diff to previous 1.1699 - 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.1699 - (view) (download) (annotate) - [select for diffs] Mon Jun 15 21:13:00 2009 UTC (9 months ago) by bagder Branch: MAIN Changes since 1.1698: +15 -0 lines Diff to previous 1.1698 - 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.1698 - (view) (download) (annotate) - [select for diffs] Mon Jun 15 10:15:28 2009 UTC (9 months ago) by patrickm Branch: MAIN Changes since 1.1697: +4 -0 lines Diff to previous 1.1697 Replaced use of standard C library rand()/srand() by our own pseudo-random number generator. Revision 1.1697 - (view) (download) (annotate) - [select for diffs] Thu Jun 11 01:51:45 2009 UTC (9 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1696: +15 -0 lines Diff to previous 1.1696 mention configure --enable-curldebug decoupled from --enable-debug Revision 1.1696 - (view) (download) (annotate) - [select for diffs] Thu Jun 11 01:22:35 2009 UTC (9 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1695: +4 -0 lines Diff to previous 1.1695 changed testcurl script to allow building test harness programs when cross-compiling for a *-*-mingw* host. Revision 1.1695 - (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.1694: +4 -0 lines Diff to previous 1.1694 - 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.1694 - (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.1693: +6 -1 lines Diff to previous 1.1693 initialize fread callback pointer to avoid compiler warning Revision 1.1693 - (view) (download) (annotate) - [select for diffs] Mon Jun 8 21:25:16 2009 UTC (9 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1692: +4 -0 lines Diff to previous 1.1692 - 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.1692 - (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.1691: +9 -2 lines Diff to previous 1.1691 - 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.1691 - (view) (download) (annotate) - [select for diffs] Mon Jun 8 16:18:04 2009 UTC (9 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1690: +3 -0 lines Diff to previous 1.1690 mention last changes Revision 1.1690 - (view) (download) (annotate) - [select for diffs] Mon Jun 8 15:50:15 2009 UTC (9 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1689: +4 -0 lines Diff to previous 1.1689 mention last changes Revision 1.1689 - (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.1688: +3 -0 lines Diff to previous 1.1688 Bill Hoffman (6 June 2009) - Added some cmake docs and fixed socklen_t in the build. Revision 1.1688 - (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.1687: +4 -0 lines Diff to previous 1.1687 - Eric Wong fixed --no-buffer to actually switch off output buffering. Been broken since 7.19.0 Revision 1.1687 - (view) (download) (annotate) - [select for diffs] Fri Jun 5 18:42:50 2009 UTC (9 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1686: +1 -1 lines Diff to previous 1.1686 mention last changes Revision 1.1686 - (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.1685: +13 -0 lines Diff to previous 1.1685 mention last changes Revision 1.1685 - (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.1684: +0 -3 lines Diff to previous 1.1684 remove conflict markers Revision 1.1684 - (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.1683: +13 -0 lines Diff to previous 1.1683 - 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.1683 - (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.1682: +5 -0 lines Diff to previous 1.1682 allow building libcurl for VxWorks Revision 1.1682 - (view) (download) (annotate) - [select for diffs] Tue Jun 2 19:04:27 2009 UTC (9 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1681: +7 -0 lines Diff to previous 1.1681 Created a basic Android make file for curl and libcurl. A config.h is also needed before curl can be built in Android, but it's not clear what the best way is to provide one. Revision 1.1681 - (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.1680: +4 -0 lines Diff to previous 1.1680 - Claes Jakobsson fixed the configure script to better find and use NSS without pkg-config. Revision 1.1680 - (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.1679: +7 -0 lines Diff to previous 1.1679 credit John E. Malmberg Revision 1.1679 - (view) (download) (annotate) - [select for diffs] Wed May 27 22:01:03 2009 UTC (9 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1678: +3 -0 lines Diff to previous 1.1678 - Claes Jakobsson fixed libcurl-NSS to build fine even without the PK11_CreateGenericObject() function. Revision 1.1678 - (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.1677: +4 -0 lines Diff to previous 1.1677 - 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.1677 - (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.1676: +3 -0 lines Diff to previous 1.1676 - Andre Guibert de Bruet found a call to a OpenSSL function that didn't check for a failure properly. Revision 1.1676 - (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.1675: +4 -0 lines Diff to previous 1.1675 - Frank McGeough provided a small OpenSSL #include fix to make libcurl compile fine with Nokia 5th edition 1.0 SDK for Symbian. Revision 1.1675 - (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.1674: +7 -0 lines Diff to previous 1.1674 - 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.1674 - (view) (download) (annotate) - [select for diffs] Fri May 22 17:26:49 2009 UTC (9 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.1673: +3 -0 lines Diff to previous 1.1673 Removed some obsolete digest code that caused a valgrind error in test 551. Revision 1.1673 - (view) (download) (annotate) - [select for diffs] Wed May 20 19:30:06 2009 UTC (10 months ago) by danf Branch: MAIN Changes since 1.1672: +5 -0 lines Diff to previous 1.1672 Added "non-existing host" test keywords to make it easy to skip those tests on machines that have broken DNS configurations (such as those configured to use OpenDNS). Revision 1.1672 - (view) (download) (annotate) - [select for diffs] Tue May 19 20:54:31 2009 UTC (10 months ago) by bagder Branch: MAIN Changes since 1.1671: +6 -0 lines Diff to previous 1.1671 - 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.1671 - (view) (download) (annotate) - [select for diffs] Mon May 18 07:07:05 2009 UTC (10 months ago) by bagder Branch: MAIN CVS Tags: curl-7_19_5 Changes since 1.1670: +2 -0 lines Diff to previous 1.1670 7.19.5 coming up Revision 1.1670 - (view) (download) (annotate) - [select for diffs] Sun May 17 14:47:50 2009 UTC (10 months ago) by bagder Branch: MAIN Changes since 1.1669: +5 -0 lines Diff to previous 1.1669 - 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.1669 - (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.1668: +5 -0 lines Diff to previous 1.1668 - 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.1668 - (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.1667: +6 -0 lines Diff to previous 1.1667 - 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.1667 - (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.1666: +6 -0 lines Diff to previous 1.1666 - 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.1666 - (view) (download) (annotate) - [select for diffs] Sun May 10 21:33:55 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1665: +4 -0 lines Diff to previous 1.1665 - Andre Guibert de Bruet correctly pointed out an over-alloc with one wasted byte in the digest code. Revision 1.1665 - (view) (download) (annotate) - [select for diffs] Sat May 9 12:56:36 2009 UTC (10 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1664: +6 -0 lines Diff to previous 1.1664 Mention last changes Revision 1.1664 - (view) (download) (annotate) - [select for diffs] Fri May 8 19:19:46 2009 UTC (10 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1663: +6 -0 lines Diff to previous 1.1663 Mention last changes Revision 1.1663 - (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.1662: +9 -0 lines Diff to previous 1.1662 - 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.1662 - (view) (download) (annotate) - [select for diffs] Thu May 7 20:00:44 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1661: +4 -0 lines Diff to previous 1.1661 - Made the SO_SNDBUF setting for the data connection socket for ftp uploads as well. See change 28 Apr 2009. Revision 1.1661 - (view) (download) (annotate) - [select for diffs] Thu May 7 18:03:49 2009 UTC (10 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1660: +4 -0 lines Diff to previous 1.1660 Fix an issue, affecting FTP transfers, introduced with the transfer.c patch committed May 4. Additionally some identation fixes. Revision 1.1660 - (view) (download) (annotate) - [select for diffs] Thu May 7 09:31:24 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1659: +3 -0 lines Diff to previous 1.1659 - Man page *roff problems fixed thanks to input from Colin Watson. Problems reported in the Debian package. Revision 1.1659 - (view) (download) (annotate) - [select for diffs] Thu May 7 08:30:43 2009 UTC (10 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1658: +5 -0 lines Diff to previous 1.1658 - 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.1658 - (view) (download) (annotate) - [select for diffs] Tue May 5 08:52:08 2009 UTC (10 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1657: +4 -0 lines Diff to previous 1.1657 Mention last changes Revision 1.1657 - (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.1656: +5 -0 lines Diff to previous 1.1656 - 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.1656 - (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.1655: +8 -0 lines Diff to previous 1.1655 - 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.1655 - (view) (download) (annotate) - [select for diffs] Mon May 4 10:30:23 2009 UTC (10 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1654: +4 -0 lines Diff to previous 1.1654 David McCreedy's patch to fix test suite harness to allow test FTP server and client on different machines, providing FTP client address when running the FTP test server. Revision 1.1654 - (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.1653: +8 -0 lines Diff to previous 1.1653 David McCreedy's "transfer.c fixes for CURL_DO_LINEEND_CONV and non-ASCII platform HTTP requests" patch Revision 1.1653 - (view) (download) (annotate) - [select for diffs] Sun May 3 19:25:17 2009 UTC (10 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1652: +4 -0 lines Diff to previous 1.1652 Added and disabled test case 563 which shows KNOWN_BUGS #59. The bug report failed to mention that a proxy must be used to reproduce it. Revision 1.1652 - (view) (download) (annotate) - [select for diffs] Sat May 2 02:37:32 2009 UTC (10 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1651: +3 -0 lines Diff to previous 1.1651 Use build-time configured curl_socklen_t instead of socklen_t Revision 1.1651 - (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.1650: +4 -0 lines Diff to previous 1.1650 Mention David McCreedy's patches applied today Revision 1.1650 - (view) (download) (annotate) - [select for diffs] Thu Apr 30 09:02:39 2009 UTC (10 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1649: +10 -0 lines Diff to previous 1.1649 - I was going to fix issue #59 in KNOWN_BUGS If the CURLOPT_PORT option is used on an FTP URL like "ftp://example.com/file;type=A" the ";type=A" is stripped off. I added test case 562 to verify, only to find out that I couldn't repeat this bug so I hereby consider it not a bug anymore! Revision 1.1649 - (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.1648: +8 -0 lines Diff to previous 1.1648 - 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.1648 - (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.1647: +6 -0 lines Diff to previous 1.1647 - 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.1647 - (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.1646: +12 -0 lines Diff to previous 1.1646 - 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.1646 - (view) (download) (annotate) - [select for diffs] Sun Apr 26 11:56:22 2009 UTC (10 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1645: +6 -1 lines Diff to previous 1.1645 - 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.1645 - (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.1644: +2 -0 lines Diff to previous 1.1644 - Kamil Dudka fixed another NSS-related leak when client certs were used. Revision 1.1644 - (view) (download) (annotate) - [select for diffs] Thu Apr 23 22:01:33 2009 UTC (10 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1643: +6 -0 lines Diff to previous 1.1643 - bug report #2779245 (http://curl.haxx.se/bug/view.cgi?id=2779245) by Rainer Koenig pointed out that the man page didn't tell that the *_proxy environment variables can be specified lower case or UPPER CASE and the lower case takes precedence, Revision 1.1643 - (view) (download) (annotate) - [select for diffs] Thu Apr 23 04:12:04 2009 UTC (10 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.1642: +3 -0 lines Diff to previous 1.1642 Added new libcurl source files to Amiga, RiscOS and VC6 build files. Revision 1.1642 - (view) (download) (annotate) - [select for diffs] Tue Apr 21 11:46:16 2009 UTC (10 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.1641: +2 -0 lines Diff to previous 1.1641 libcurl's memory.h renamed to curl_memory.h Revision 1.1641 - (view) (download) (annotate) - [select for diffs] Tue Apr 21 10:26:58 2009 UTC (10 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.1640: +5 -0 lines Diff to previous 1.1640 Moved potential inclusion of system's malloc.h and memory.h header files to setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively. Revision 1.1640 - (view) (download) (annotate) - [select for diffs] Mon Apr 20 21:41:17 2009 UTC (11 months ago) by bagder Branch: MAIN Changes since 1.1639: +7 -0 lines Diff to previous 1.1639 - 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.1639 - (view) (download) (annotate) - [select for diffs] Mon Apr 20 17:53:06 2009 UTC (11 months ago) by bagder Branch: MAIN Changes since 1.1638: +6 -0 lines Diff to previous 1.1638 - 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.1638 - (view) (download) (annotate) - [select for diffs] Fri Apr 17 12:48:24 2009 UTC (11 months ago) by bagder Branch: MAIN Changes since 1.1637: +11 -0 lines Diff to previous 1.1637 - Pramod Sharma reported and tracked down a bug when doing FTP over a HTTP proxy. libcurl would then wrongly close the connection after each request. In his case it had the weird side-effect that it killed NTLM auth for the proxy causing an inifinite loop! I added test case 1098 to verify this fix. The test case does however not properly verify that the transfers are done persistently - as I couldn't think of a clever way to achieve it right now - but you need to read the stderr output after a test run to see that it truly did the right thing. Revision 1.1637 - (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.1636: +14 -0 lines Diff to previous 1.1636 - 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.1636 - (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.1635: +8 -0 lines Diff to previous 1.1635 - 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.1635 - (view) (download) (annotate) - [select for diffs] Sat Apr 11 07:06:34 2009 UTC (11 months, 1 week ago) by danf Branch: MAIN Changes since 1.1634: +4 -0 lines Diff to previous 1.1634 Added new libcurl source files to Symbian OS build files. Improved Symbian support for SSL. Revision 1.1634 - (view) (download) (annotate) - [select for diffs] Fri Apr 10 02:50:21 2009 UTC (11 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1633: +4 -0 lines Diff to previous 1.1633 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.1633 - (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.1632: +8 -0 lines Diff to previous 1.1632 Sun compilers specific preprocessor block removed from curlbuild.h.dist Revision 1.1632 - (view) (download) (annotate) - [select for diffs] Mon Apr 6 21:44:53 2009 UTC (11 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1631: +7 -0 lines Diff to previous 1.1631 - I clarified in the docs that CURLOPT_SEEKFUNCTION should return 0 on success and 1 on fatal errors. Previously it only mentioned non-zero on fatal errors. This is a slight change in meaning, but it follows what we've done elsewhere before and it opens up for LOTS of more useful return codes whenever we can think of them... Revision 1.1631 - (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.1630: +10 -0 lines Diff to previous 1.1630 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.1630 - (view) (download) (annotate) - [select for diffs] Wed Apr 1 12:15:37 2009 UTC (11 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1629: +5 -0 lines Diff to previous 1.1629 - Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a strdup() call failed. Revision 1.1629 - (view) (download) (annotate) - [select for diffs] Tue Mar 31 14:49:25 2009 UTC (11 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1628: +3 -0 lines Diff to previous 1.1628 Properly return an error code in curl_easy_recv (reported by Jim Freeman). Revision 1.1628 - (view) (download) (annotate) - [select for diffs] Wed Mar 18 12:48:51 2009 UTC (12 months ago) by bagder Branch: MAIN Changes since 1.1627: +5 -0 lines Diff to previous 1.1627 - 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.1627 - (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.1626: +4 -0 lines Diff to previous 1.1626 - Use libssh2_version() to present the libssh2 version in case the libssh2 library is found to support it. Revision 1.1626 - (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.1625: +6 -0 lines Diff to previous 1.1625 Fix TELNET transfers not being aborted upon write callback failures Revision 1.1625 - (view) (download) (annotate) - [select for diffs] Wed Mar 11 22:56:03 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1624: +4 -0 lines Diff to previous 1.1624 - Kamil Dudka made the curl tool properly call curl_global_init() before any other libcurl function. Revision 1.1624 - (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.1623: +4 -0 lines Diff to previous 1.1623 Added TELNET timeout support for Windows builds Revision 1.1623 - (view) (download) (annotate) - [select for diffs] Tue Mar 10 10:00:07 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1622: +0 -1711 lines Diff to previous 1.1622 Moved 7.19.2 and older entries from CHANGES to CHANGES.0 (the latter is not shipped in release archives but is only in CVS) Revision 1.1622 - (view) (download) (annotate) - [select for diffs] Mon Mar 9 12:21:46 2009 UTC (12 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1621: +15 -0 lines Diff to previous 1.1621 - 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.1621 - (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.1620: +7 -0 lines Diff to previous 1.1620 - 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.1620 - (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.1619: +3 -0 lines Diff to previous 1.1619 - 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.1619 - (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.1618: +5 -0 lines Diff to previous 1.1618 - 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.1618 - (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.1617: +7 -0 lines Diff to previous 1.1617 - 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.1617 - (view) (download) (annotate) - [select for diffs] Thu Mar 5 06:44:18 2009 UTC (12 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1616: +5 -0 lines Diff to previous 1.1616 Expanded the security section of the libcurl-tutorial man page to cover more issues for authors to consider when writing robust libcurl-using applications. Revision 1.1616 - (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.1615: +4 -0 lines Diff to previous 1.1615 Fix NTLM authentication memory leak on SSPI enabled Windows builds Revision 1.1615 - (view) (download) (annotate) - [select for diffs] Wed Mar 4 08:09:39 2009 UTC (12 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1614: +4 -0 lines Diff to previous 1.1614 Fixed a problem with m4 quoting in the OpenSSL configure check reported by Daniel Johnson. Revision 1.1614 - (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.1613: +11 -0 lines Diff to previous 1.1613 - David James brought a patch that make libcurl close (all) dead connections whenever you attempt to open a new connection. Revision 1.1613 - (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.1612: +21 -0 lines Diff to previous 1.1612 - 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.1612 - (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.1611: +5 -0 lines Diff to previous 1.1611 - 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.1611 - (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.1610: +8 -0 lines Diff to previous 1.1610 - 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.1610 - (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.1609: +5 -0 lines Diff to previous 1.1609 - 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.1609 - (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.1608: +6 -0 lines Diff to previous 1.1608 - 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.1608 - (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.1607: +4 -0 lines Diff to previous 1.1607 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.1607 - (view) (download) (annotate) - [select for diffs] Mon Feb 23 09:36:54 2009 UTC (12 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1606: +4 -0 lines Diff to previous 1.1606 - I renamed everything in the windows builds files that used the name 'curllib' to the proper 'libcurl' as clearly this caused confusion. Revision 1.1606 - (view) (download) (annotate) - [select for diffs] Fri Feb 20 11:30:11 2009 UTC (12 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.1605: +3 -0 lines Diff to previous 1.1605 Do not halt compilation when using VS2008 to build a Windows 2000 target Revision 1.1605 - (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.1604: +10 -0 lines Diff to previous 1.1604 - 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.1604 - (view) (download) (annotate) - [select for diffs] Thu Feb 19 10:36:20 2009 UTC (12 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1603: +11 -0 lines Diff to previous 1.1603 - 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.1603 - (view) (download) (annotate) - [select for diffs] Wed Feb 18 11:40:16 2009 UTC (13 months ago) by patrickm Branch: MAIN Changes since 1.1602: +4 -0 lines Diff to previous 1.1602 FTP downloads (i.e.: RETR) ending with code 550 now return error CURLE_REMOTE_FILE_NOT_FOUND instead of CURLE_FTP_COULDNT_RETR_FILE. Revision 1.1602 - (view) (download) (annotate) - [select for diffs] Tue Feb 17 12:18:34 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.1601: +2 -0 lines Diff to previous 1.1601 - Kamil Dudka made NSS-powered builds compile and run again! Revision 1.1601 - (view) (download) (annotate) - [select for diffs] Tue Feb 17 12:14:41 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.1600: +4 -0 lines Diff to previous 1.1600 - A second follow-up change by Andre Guibert de Bruet to fix a related memory leak like that fixed on the 14th. When zlib returns failure, we need to cleanup properly before returning error. Revision 1.1600 - (view) (download) (annotate) - [select for diffs] Tue Feb 17 09:07:25 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.1599: +14 -0 lines Diff to previous 1.1599 - 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.1599 - (view) (download) (annotate) - [select for diffs] Sat Feb 14 09:09:09 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.1598: +4 -0 lines Diff to previous 1.1598 - Andre Guibert de Bruet found and fixed a memory leak in the content encoding code, which could happen on libz errors. Revision 1.1598 - (view) (download) (annotate) - [select for diffs] Thu Feb 12 20:48:40 2009 UTC (13 months ago) by danf Branch: MAIN Changes since 1.1597: +3 -0 lines Diff to previous 1.1597 Added support for Digest and NTLM authentication using GnuTLS. Revision 1.1597 - (view) (download) (annotate) - [select for diffs] Thu Feb 12 08:05:23 2009 UTC (13 months ago) by bagder Branch: MAIN Changes since 1.1596: +1 -1 lines Diff to previous 1.1596 credit Jocelyn Jaubert for his bug report and associated work Revision 1.1596 - (view) (download) (annotate) - [select for diffs] Wed Feb 11 21:47:14 2009 UTC (13 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1595: +7 -0 lines Diff to previous 1.1595 - 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.1595 - (view) (download) (annotate) - [select for diffs] Thu Feb 5 00:13:40 2009 UTC (13 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1594: +4 -0 lines Diff to previous 1.1594 Added an explicit buffer limit check in msdosify() (patch based on FreeBSD). This couldn't ever overflow in curl, but might if the code were used elsewhere or under different conditions. Revision 1.1594 - (view) (download) (annotate) - [select for diffs] Wed Feb 4 23:33:34 2009 UTC (13 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1593: +4 -0 lines Diff to previous 1.1593 Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS (respectively) when --with-ssl=/usr is used (patch based on FreeBSD). Revision 1.1593 - (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.1592: +6 -1 lines Diff to previous 1.1592 - 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.1592 - (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.1591: +5 -0 lines Diff to previous 1.1591 - 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.1591 - (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.1590: +10 -0 lines Diff to previous 1.1590 - 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.1590 - (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.1589: +7 -0 lines Diff to previous 1.1589 - 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.1589 - (view) (download) (annotate) - [select for diffs] Sat Jan 31 18:38:41 2009 UTC (13 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1588: +7 -0 lines Diff to previous 1.1588 - 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.1588 - (view) (download) (annotate) - [select for diffs] Fri Jan 30 19:29:25 2009 UTC (13 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1587: +4 -0 lines Diff to previous 1.1587 Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for reporting the problem. Revision 1.1587 - (view) (download) (annotate) - [select for diffs] Thu Jan 29 20:32:27 2009 UTC (13 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1586: +7 -0 lines Diff to previous 1.1586 Introduced curl_sspi.c and curl_sspi.h for the implementation of functions Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c Also adjusted socks_sspi.c to remove the link-time dependency on the Windows SSPI library using it now in the same way as it was done in http_ntlm.c. Revision 1.1586 - (view) (download) (annotate) - [select for diffs] Wed Jan 28 21:33:58 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1585: +7 -0 lines Diff to previous 1.1585 - 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.1585 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 22:43:06 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1584: +4 -0 lines Diff to previous 1.1584 - 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.1584 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 14:36:18 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1583: +15 -0 lines Diff to previous 1.1583 - 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.1583 - (view) (download) (annotate) - [select for diffs] Mon Jan 26 13:19:03 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1582: +5 -0 lines Diff to previous 1.1582 - 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.1582 - (view) (download) (annotate) - [select for diffs] Sun Jan 25 23:26:25 2009 UTC (13 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1581: +8 -2 lines Diff to previous 1.1581 - 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.1581 - (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.1580: +13 -0 lines Diff to previous 1.1580 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.1580 - (view) (download) (annotate) - [select for diffs] Tue Jan 20 06:24:25 2009 UTC (13 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1579: +4 -0 lines Diff to previous 1.1579 - 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.1579 - (view) (download) (annotate) - [select for diffs] Mon Jan 19 09:59:20 2009 UTC (14 months ago) by bagder Branch: MAIN CVS Tags: curl-7_19_3 Changes since 1.1578: +2 -0 lines Diff to previous 1.1578 time to release Revision 1.1578 - (view) (download) (annotate) - [select for diffs] Fri Jan 16 08:36:40 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.1577: +4 -0 lines Diff to previous 1.1577 - Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both 32 bit and 64 bit. Revision 1.1577 - (view) (download) (annotate) - [select for diffs] Thu Jan 15 08:32:58 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.1576: +3 -0 lines Diff to previous 1.1576 - Tim Ansell fixed a compiler warning in lib/cookie.c Revision 1.1576 - (view) (download) (annotate) - [select for diffs] Tue Jan 13 23:24:06 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.1575: +38 -0 lines Diff to previous 1.1575 Grant Erickson fixed timeouts for TFTP Revision 1.1575 - (view) (download) (annotate) - [select for diffs] Tue Jan 13 22:21:14 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.1574: +4 -0 lines Diff to previous 1.1574 - 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.1574 - (view) (download) (annotate) - [select for diffs] Tue Jan 13 22:01:39 2009 UTC (14 months ago) by bagder Branch: MAIN Changes since 1.1573: +4 -0 lines Diff to previous 1.1573 - Stefan Teleman brought a patch to fix the default curlbuild.h file for the SunPro compilers. Revision 1.1573 - (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.1572: +7 -0 lines Diff to previous 1.1572 - 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.1572 - (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.1571: +3 -2 lines Diff to previous 1.1571 credit Karl Moerder properly Revision 1.1571 - (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.1570: +4 -0 lines Diff to previous 1.1570 - 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.1570 - (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.1569: +19 -3 lines Diff to previous 1.1569 - 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.1569 - (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.1568: +6 -0 lines Diff to previous 1.1568 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.1568 - (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.1567: +16 -0 lines Diff to previous 1.1567 - 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.1567 - (view) (download) (annotate) - [select for diffs] Thu Jan 1 20:50:59 2009 UTC (14 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1566: +3 -0 lines Diff to previous 1.1566 - 'reconf' is removed since we rather have users use 'buildconf' Revision 1.1566 - (view) (download) (annotate) - [select for diffs] Wed Dec 31 20:35:46 2008 UTC (14 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1565: +5 -0 lines Diff to previous 1.1565 - Bas Mevissen reported http://curl.haxx.se/bug/view.cgi?id=2479030 pointing out that 'reconf' didn't properly point out the m4 subdirectory when running aclocal. Revision 1.1565 - (view) (download) (annotate) - [select for diffs] Mon Dec 29 22:25:50 2008 UTC (14 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1564: +10 -0 lines Diff to previous 1.1564 - 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.1564 - (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.1563: +6 -0 lines Diff to previous 1.1563 - Peter Korsgaard fixed building libcurl with "configure --with-ssl --disable-verbose". Revision 1.1563 - (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.1562: +2 -0 lines Diff to previous 1.1562 - Given a recent enough libssh2, libcurl can now seek/resume with SFTP even on file indexes beyond 2 or 4GB. Revision 1.1562 - (view) (download) (annotate) - [select for diffs] Mon Dec 22 13:07:13 2008 UTC (14 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1561: +5 -0 lines Diff to previous 1.1561 - Anthony Bryan provided a set of patches that cleaned up manual language, corrected spellings and more. Revision 1.1561 - (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.1560: +7 -0 lines Diff to previous 1.1560 - 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.1560 - (view) (download) (annotate) - [select for diffs] Fri Dec 19 22:58:22 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.1559: +7 -0 lines Diff to previous 1.1559 - 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.1559 - (view) (download) (annotate) - [select for diffs] Fri Dec 19 21:14:52 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.1558: +7 -0 lines Diff to previous 1.1558 - 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.1558 - (view) (download) (annotate) - [select for diffs] Wed Dec 17 12:32:41 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.1557: +9 -0 lines Diff to previous 1.1557 - 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.1557 - (view) (download) (annotate) - [select for diffs] Tue Dec 16 08:59:45 2008 UTC (15 months ago) by giva Branch: MAIN Changes since 1.1556: +15 -9 lines Diff to previous 1.1556 Added the use of Watt-32 tcp/ip stack for Win32 targets. Revision 1.1556 - (view) (download) (annotate) - [select for diffs] Mon Dec 15 23:04:51 2008 UTC (15 months ago) by bagder Branch: MAIN Changes since 1.1555: +4 -0 lines Diff to previous 1.1555 - libssh2_sftp_last_error() was wrongly used at some places in libcurl which made libcurl sometimes not properly abort problematic SFTP transfers. Revision 1.1555 - (view) (download) (annotate) - [select for diffs] Fri Dec 12 12:21:11 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1554: +7 -0 lines Diff to previous 1.1554 - More work with Igor Novoseltsev to first fix the remaining stuff for removing easy handles from multi handles when the easy handle is/was within a HTTP pipeline. His bug report #2351653 (http://curl.haxx.se/bug/view.cgi?id=2351653) was also related and was eventually fixed by a patch by Igor himself. Revision 1.1554 - (view) (download) (annotate) - [select for diffs] Fri Dec 12 08:36:56 2008 UTC (15 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1553: +4 -3 lines Diff to previous 1.1553 credit Mark Karpeles for his report and work Revision 1.1553 - (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.1552: +4 -0 lines Diff to previous 1.1552 Patrick Monnerat fixed a build regression, introduced in 7.19.2, affecting OS/400 compilations with IPv6 enabled. Revision 1.1552 - (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.1551: +7 -0 lines Diff to previous 1.1551 - 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.1551 - (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.1550: +5 -0 lines Diff to previous 1.1550 - 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.1550 - (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.1549: +16 -0 lines Diff to previous 1.1549 - 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.1549 - (view) (download) (annotate) - [select for diffs] Tue Dec 9 21:59:57 2008 UTC (15 months, 1 week ago) by danf Branch: MAIN Changes since 1.1548: +6 -0 lines Diff to previous 1.1548 Added test cases 1089 and 1090 to test --write-out after a redirect to test a report that the size didn't work, but these test cases pass. Revision 1.1548 - (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.1547: +7 -0 lines Diff to previous 1.1547 - 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.1547 - (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.1546: +12 -0 lines Diff to previous 1.1546 - 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.1546 - (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.1545: +7 -0 lines Diff to previous 1.1545 - 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.1545 - (view) (download) (annotate) - [select for diffs] Thu Dec 4 06:24:00 2008 UTC (15 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1544: +4 -0 lines Diff to previous 1.1544 Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6 support (e.g. Minix) Revision 1.1544 - (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.1543: +6 -1 lines Diff to previous 1.1543 - 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.1543 - (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.1542: +5 -0 lines Diff to previous 1.1542 - 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.1542 - (view) (download) (annotate) - [select for diffs] Tue Nov 25 23:30:53 2008 UTC (15 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1541: +9 -0 lines Diff to previous 1.1541 Added tests 1087 and 1088 to test Basic authentication on a redirect with and without --location-trusted Revision 1.1541 - (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.1540: +9 -0 lines Diff to previous 1.1540 - 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.1540 - (view) (download) (annotate) - [select for diffs] Fri Nov 21 06:36:21 2008 UTC (15 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.1539: +3 -0 lines Diff to previous 1.1539 Automatically detect OpenBSD's CA cert bundle. Revision 1.1539 - (view) (download) (annotate) - [select for diffs] Wed Nov 19 22:00:14 2008 UTC (15 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1538: +8 -0 lines Diff to previous 1.1538 - 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.1538 - (view) (download) (annotate) - [select for diffs] Wed Nov 19 14:22:01 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.1537: +3 -0 lines Diff to previous 1.1537 - 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.1537 - (view) (download) (annotate) - [select for diffs] Wed Nov 19 10:15:19 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.1536: +11 -0 lines Diff to previous 1.1536 - 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.1536 - (view) (download) (annotate) - [select for diffs] Mon Nov 17 21:11:10 2008 UTC (16 months ago) by danf Branch: MAIN Changes since 1.1535: +3 -0 lines Diff to previous 1.1535 Added more compiler warning options for gcc 4.3 Revision 1.1535 - (view) (download) (annotate) - [select for diffs] Mon Nov 17 13:13:15 2008 UTC (16 months ago) by yangtse Branch: MAIN Changes since 1.1534: +3 -0 lines Diff to previous 1.1534 Make configure script check if ioctl with the SIOCGIFADDR command can be used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate. Revision 1.1534 - (view) (download) (annotate) - [select for diffs] Mon Nov 17 04:11:29 2008 UTC (16 months ago) by yangtse Branch: MAIN Changes since 1.1533: +8 -0 lines Diff to previous 1.1533 update with my last changes Revision 1.1533 - (view) (download) (annotate) - [select for diffs] Sun Nov 16 12:42:53 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.1532: +3 -0 lines Diff to previous 1.1532 Christian Krause fixed a build failure when building with gss support enabled and FTP disabled. Revision 1.1532 - (view) (download) (annotate) - [select for diffs] Sat Nov 15 23:47:01 2008 UTC (16 months ago) by bagder Branch: MAIN Changes since 1.1531: +13 -0 lines Diff to previous 1.1531 my recent changes Revision 1.1531 - (view) (download) (annotate) - [select for diffs] Fri Nov 14 23:17:32 2008 UTC (16 months ago) by danf Branch: MAIN Changes since 1.1530: +3 -0 lines Diff to previous 1.1530 Added some #ifdefs around header files and change the EAGAIN test to fix compilation on Cell (reported by Jeff Curley). Revision 1.1530 - (view) (download) (annotate) - [select for diffs] Fri Nov 14 19:22:40 2008 UTC (16 months ago) by danf Branch: MAIN Changes since 1.1529: +4 -0 lines Diff to previous 1.1529 Added .xml as one of the few common file extensions known by the multipart form generator. Made the extensions part of the MIME type struct to reduce the size and run-time relocations necessary to build the table. Revision 1.1529 - (view) (download) (annotate) - [select for diffs] Thu Nov 13 18:56:55 2008 UTC (16 months ago) by yangtse Branch: MAIN Changes since 1.1528: +4 -0 lines Diff to previous 1.1528 Refactor configure script detection of functions used to set sockets into non-blocking mode, and decouple function detection from function capability. Revision 1.1528 - (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.1527: +2 -0 lines Diff to previous 1.1527 7.19.2 coming up Revision 1.1527 - (view) (download) (annotate) - [select for diffs] Thu Nov 13 08:20:23 2008 UTC (16 months ago) by mmarek Branch: MAIN Changes since 1.1526: +4 -0 lines Diff to previous 1.1526 - Fixed a potential data loss in Curl_client_write() when the transfer is paused. Revision 1.1526 - (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.1525: +15 -0 lines Diff to previous 1.1525 - 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.1525 - (view) (download) (annotate) - [select for diffs] Tue Nov 11 01:12:17 2008 UTC (16 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1524: +5 -0 lines Diff to previous 1.1524 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.1524 - (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.1523: +5 -0 lines Diff to previous 1.1523 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.1523 - (view) (download) (annotate) - [select for diffs] Fri Nov 7 01:42:34 2008 UTC (16 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1522: +1 -1 lines Diff to previous 1.1522 give credit where credit is due Revision 1.1522 - (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.1521: +5 -0 lines Diff to previous 1.1521 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.1521 - (view) (download) (annotate) - [select for diffs] Thu Nov 6 17:19:56 2008 UTC (16 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1520: +4 -0 lines Diff to previous 1.1520 Merged existing IPv4 and IPv6 Curl_ip2addr functions into a single one which now also takes a protocol address family argument. Revision 1.1520 - (view) (download) (annotate) - [select for diffs] Wed Nov 5 12:00:08 2008 UTC (16 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_1 Changes since 1.1519: +2 -0 lines Diff to previous 1.1519 7.19.1 coming up Revision 1.1519 - (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.1518: +3 -0 lines Diff to previous 1.1518 CURLINFO_FILETIME now works for file:// transfers as well Revision 1.1518 - (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.1517: +20 -0 lines Diff to previous 1.1517 Sync up with reality Revision 1.1517 - (view) (download) (annotate) - [select for diffs] Mon Nov 3 16:24:56 2008 UTC (16 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1516: +7 -0 lines Diff to previous 1.1516 - Bug #2218480 (http://curl.haxx.se/bug/view.cgi?id=2218480) pointed out a problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL pointer read. I also took the opportunity to clean up this logic (storing of the connection's IP address) somewhat as we had it stored in two different places and ways previously and they are now unified. Revision 1.1516 - (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.1515: +20 -0 lines Diff to previous 1.1515 Daniel Johnson reported and fixed ipv4 name resolves when libcurl is built with ipv6-enabled c-ares Revision 1.1515 - (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.1514: +4 -0 lines Diff to previous 1.1514 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.1514 - (view) (download) (annotate) - [select for diffs] Tue Oct 28 20:03:22 2008 UTC (16 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1513: +8 -0 lines Diff to previous 1.1513 Changed the "resolve" test precheck program to verify that an IPv6 socket can be created before resolving the IPv6 name. In the context of running a test, it doesn't make sense to run an IPv6 test when a host is resolvable but IPv6 isn't usable. This should fix failures of test 1085 on hosts with library and DNS support for IPv6 but where actual use of IPv6 has been administratively disabled. Revision 1.1513 - (view) (download) (annotate) - [select for diffs] Sat Oct 25 05:41:01 2008 UTC (16 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1512: +3 -0 lines Diff to previous 1.1512 Added experimental support for zlib and OpenSSL on Symbian OS. Revision 1.1512 - (view) (download) (annotate) - [select for diffs] Tue Oct 21 07:10:25 2008 UTC (16 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.1511: +4 -0 lines Diff to previous 1.1511 Fixed some problems with SFTP range support to fix test cases 634 through 637. Revision 1.1511 - (view) (download) (annotate) - [select for diffs] Fri Oct 17 22:23:48 2008 UTC (17 months ago) by danf Branch: MAIN Changes since 1.1510: +4 -0 lines Diff to previous 1.1510 Fixed a compile error reported by Albert Chin on AIX and IRIX when using GTLS. Revision 1.1510 - (view) (download) (annotate) - [select for diffs] Thu Oct 16 20:21:22 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.1509: +6 -0 lines Diff to previous 1.1509 - 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.1509 - (view) (download) (annotate) - [select for diffs] Thu Oct 16 11:04:53 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.1508: +1 -1 lines Diff to previous 1.1508 I renamed the function Revision 1.1508 - (view) (download) (annotate) - [select for diffs] Wed Oct 15 21:43:48 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.1507: +11 -0 lines Diff to previous 1.1507 - 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.1507 - (view) (download) (annotate) - [select for diffs] Wed Oct 15 17:41:02 2008 UTC (17 months ago) by danf Branch: MAIN Changes since 1.1506: +6 -0 lines Diff to previous 1.1506 A <precheck> command is considered to have failed if it returns a non-zero return code. This way, if the precheck command can't be run at all for whatever reason, it's treated as a precheck failure which causes the test to be skipped. Revision 1.1506 - (view) (download) (annotate) - [select for diffs] Wed Oct 15 07:45:51 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.1505: +5 -4 lines Diff to previous 1.1505 mention his full name Revision 1.1505 - (view) (download) (annotate) - [select for diffs] Wed Oct 15 07:43:48 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.1504: +8 -0 lines Diff to previous 1.1504 - John Wilkinson filed bug #2155496 (http://curl.haxx.se/bug/view.cgi?id=2155496) pointing out an error case without a proper human-readable error message. When a read callback returns a too large value (like when trying to return a negative number) it would trigger and the generic error message then makes the proplem slightly different to track down. I've added an error message for this now. Revision 1.1504 - (view) (download) (annotate) - [select for diffs] Wed Oct 15 07:31:31 2008 UTC (17 months ago) by bagder Branch: MAIN Changes since 1.1503: +3 -2 lines Diff to previous 1.1503 credit to John Wilkinson Revision 1.1503 - (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.1502: +6 -0 lines Diff to previous 1.1502 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.1502 - (view) (download) (annotate) - [select for diffs] Thu Oct 9 05:16:06 2008 UTC (17 months, 1 week ago) by danf Branch: MAIN Changes since 1.1501: +4 -0 lines Diff to previous 1.1501 Added tests 633 through 637 to test the new file range support for SFTP. All but the first test cause an infinite loop or other failure and so are added to DISABLED. Revision 1.1501 - (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.1500: +9 -0 lines Diff to previous 1.1500 - 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.1500 - (view) (download) (annotate) - [select for diffs] Wed Oct 8 21:46:55 2008 UTC (17 months, 1 week ago) by danf Branch: MAIN Changes since 1.1499: +3 -0 lines Diff to previous 1.1499 Added tests 1082 through 1085 to test symbolic --interface parameters Revision 1.1499 - (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.1498: +5 -0 lines Diff to previous 1.1498 - 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.1498 - (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.1497: +7 -0 lines Diff to previous 1.1497 - 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.1497 - (view) (download) (annotate) - [select for diffs] Wed Oct 8 03:32:10 2008 UTC (17 months, 1 week ago) by danf Branch: MAIN Changes since 1.1496: +4 -0 lines Diff to previous 1.1496 Created test cases 1080 and 1081 to reproduce a problem of CURLINFO_REDIRECT_URL leaking memory and returning incorrect results when two URLs are requested. Reported by vmpdemo in bug #2152270 Revision 1.1496 - (view) (download) (annotate) - [select for diffs] Tue Oct 7 23:15:03 2008 UTC (17 months, 1 week ago) by danf Branch: MAIN Changes since 1.1495: +7 -0 lines Diff to previous 1.1495 Changed the handling of read/write errors in Curl_perform() to allow a a fresh connection to be made in such cases and the request retransmitted. This should fix test case 160. Added test case 1079 in an attempt to test a similar connection dropping scenario, but as a race condition, it's hard to test reliably. Revision 1.1495 - (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.1494: +7 -0 lines Diff to previous 1.1494 - 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.1494 - (view) (download) (annotate) - [select for diffs] Tue Oct 7 13:34:59 2008 UTC (17 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1493: +11 -0 lines Diff to previous 1.1493 Sync up with reality Revision 1.1493 - (view) (download) (annotate) - [select for diffs] Wed Oct 1 18:29:13 2008 UTC (17 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1492: +3 -0 lines Diff to previous 1.1492 "make clean" now cleans out the docs and tests directories, too. Revision 1.1492 - (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.1491: +8 -0 lines Diff to previous 1.1491 - 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.1491 - (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.1490: +5 -0 lines Diff to previous 1.1490 - 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.1490 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 21:02:22 2008 UTC (17 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1489: +4 -0 lines Diff to previous 1.1489 Moved all signal-based name resolution timeout handling into a single new Curl_resolv_timeout function to reduce coupling. Revision 1.1489 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 13:21:21 2008 UTC (17 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1488: +3 -0 lines Diff to previous 1.1488 - Ian Lynagh provided a patch that now makes CURLOPT_RANGE work fine for SFTP downloads! Revision 1.1488 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 12:36:47 2008 UTC (17 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1487: +3 -3 lines Diff to previous 1.1487 credit Maxim Ivanov Revision 1.1487 - (view) (download) (annotate) - [select for diffs] Mon Sep 29 12:22:10 2008 UTC (17 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1486: +5 -0 lines Diff to previous 1.1486 - 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.1486 - (view) (download) (annotate) - [select for diffs] Thu Sep 25 22:35:57 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1485: +3 -2 lines Diff to previous 1.1485 give proper credit! Revision 1.1485 - (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.1484: +4 -0 lines Diff to previous 1.1484 - 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.1484 - (view) (download) (annotate) - [select for diffs] Wed Sep 24 01:08:01 2008 UTC (17 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1483: +7 -1 lines Diff to previous 1.1483 Make sure not to dereference the wrong UrlState proto union member when switching from one protocol to another in a single request (e.g. redirecting from HTTP to FTP as in test 1055) by resetting state.expect100header before every request. Revision 1.1483 - (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.1482: +19 -0 lines Diff to previous 1.1482 - 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.1482 - (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.1481: +4 -0 lines Diff to previous 1.1481 - Rob Crittenden brought a patch to "add some locking for thread-safety to NSS implementation". Revision 1.1481 - (view) (download) (annotate) - [select for diffs] Mon Sep 22 23:12:00 2008 UTC (17 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1480: +7 -0 lines Diff to previous 1.1480 - 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.1480 - (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.1479: +8 -0 lines Diff to previous 1.1479 - 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.1479 - (view) (download) (annotate) - [select for diffs] Mon Sep 22 17:20:43 2008 UTC (17 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1478: +7 -2 lines Diff to previous 1.1478 Fixed test 539 to handle an out of memory condition that shows up now that memdebug.h is included in the test programs. Revision 1.1478 - (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.1477: +3 -0 lines Diff to previous 1.1477 fix regression in configure script which affected OpenSSL builds on MSYS Revision 1.1477 - (view) (download) (annotate) - [select for diffs] Fri Sep 19 18:39:24 2008 UTC (18 months ago) by yangtse Branch: MAIN Changes since 1.1476: +3 -0 lines Diff to previous 1.1476 configure script now checks availability of the alarm() function Revision 1.1476 - (view) (download) (annotate) - [select for diffs] Fri Sep 19 00:43:51 2008 UTC (18 months ago) by danf Branch: MAIN Changes since 1.1475: +5 -0 lines Diff to previous 1.1475 Don't bother to install a SIGALRM handler unless alarm() is available. Also, leave the existing SIGALRM handler alone if the timeout is too small to handle. Revision 1.1475 - (view) (download) (annotate) - [select for diffs] Thu Sep 18 11:35:59 2008 UTC (18 months ago) by yangtse Branch: MAIN Changes since 1.1474: +4 -0 lines Diff to previous 1.1474 sync up with reality Revision 1.1474 - (view) (download) (annotate) - [select for diffs] Wed Sep 17 17:33:23 2008 UTC (18 months ago) by danf Branch: MAIN Changes since 1.1473: +4 -0 lines Diff to previous 1.1473 Removed reference to curl-ca-bundle.crt in the host verification failure error message. Revision 1.1473 - (view) (download) (annotate) - [select for diffs] Wed Sep 17 01:45:16 2008 UTC (18 months ago) by yangtse Branch: MAIN Changes since 1.1472: +4 -0 lines Diff to previous 1.1472 sync up with reality Revision 1.1472 - (view) (download) (annotate) - [select for diffs] Sat Sep 13 03:45:03 2008 UTC (18 months ago) by yangtse Branch: MAIN Changes since 1.1471: +4 -0 lines Diff to previous 1.1471 Disable tracking of fdopen() calls in the low-level memory leak tracking code when fdopen() is not available, to avoid compiler error. Revision 1.1471 - (view) (download) (annotate) - [select for diffs] Fri Sep 12 11:19:54 2008 UTC (18 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1470: +8 -0 lines Diff to previous 1.1470 sync with reality Revision 1.1470 - (view) (download) (annotate) - [select for diffs] Wed Sep 10 20:05:45 2008 UTC (18 months, 1 week ago) by danf Branch: MAIN Changes since 1.1469: +2 -2 lines Diff to previous 1.1469 Checked in some code improvements and minor fixes that I discovered in the FreeBSD ports system. Revision 1.1469 - (view) (download) (annotate) - [select for diffs] Wed Sep 10 07:11:45 2008 UTC (18 months, 1 week ago) by danf Branch: MAIN Changes since 1.1468: +3 -0 lines Diff to previous 1.1468 Checked in some grammatical and minor other fixes in the documentation and examples that I found in the FreeBSD ports system. Revision 1.1468 - (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.1467: +4 -0 lines Diff to previous 1.1467 Mike Revi discovered some swapped speed switches documented in the curl man page. Revision 1.1467 - (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.1466: +11 -0 lines Diff to previous 1.1466 Dmitry Kurochkin fixed pipelining over proxy using the multi interface Revision 1.1466 - (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.1465: +8 -0 lines Diff to previous 1.1465 - 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.1465 - (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.1464: +13 -0 lines Diff to previous 1.1464 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.1464 - (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.1463: +8 -0 lines Diff to previous 1.1463 - 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.1463 - (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.1462: +12 -0 lines Diff to previous 1.1462 - 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.1462 - (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.1461: +5 -0 lines Diff to previous 1.1461 - 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.1461 - (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.1460: +4 -0 lines Diff to previous 1.1460 sync with reality Revision 1.1460 - (view) (download) (annotate) - [select for diffs] Thu Sep 4 18:59:05 2008 UTC (18 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1459: +3 -0 lines Diff to previous 1.1459 fix print formatting string directives Revision 1.1459 - (view) (download) (annotate) - [select for diffs] Wed Sep 3 18:04:47 2008 UTC (18 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1458: +3 -0 lines Diff to previous 1.1458 Search for the FreeBSD CA cert file /usr/local/share/certs/ca-root.crt Revision 1.1458 - (view) (download) (annotate) - [select for diffs] Tue Sep 2 23:12:00 2008 UTC (18 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1457: +4 -0 lines Diff to previous 1.1457 Fixed an out of memory problem that caused torture test failures in tests 706 and 707. Revision 1.1457 - (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.1456: +6 -0 lines Diff to previous 1.1456 - 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.1456 - (view) (download) (annotate) - [select for diffs] Mon Sep 1 14:28:48 2008 UTC (18 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_19_0 Changes since 1.1455: +2 -0 lines Diff to previous 1.1455 stand back for 7.19.0 Revision 1.1455 - (view) (download) (annotate) - [select for diffs] Fri Aug 29 23:42:39 2008 UTC (18 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1454: +9 -0 lines Diff to previous 1.1454 Added tests 1071 through 1074 to test automatic downgrading from HTTP 1.1 to HTTP 1.0 upon receiving a response from the HTTP server. Tests 1072 and 1073 are similar to test 1069 in that they involve the impossible scenario of sending chunked data to a HTTP 1.0 server. All these currently fail and are added to DISABLED. Added test 1075 to test --anyauth with Basic authentication. Revision 1.1454 - (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.1453: +12 -0 lines Diff to previous 1.1453 - 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.1453 - (view) (download) (annotate) - [select for diffs] Thu Aug 28 11:35:54 2008 UTC (18 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1452: +4 -0 lines Diff to previous 1.1452 - I'm abandoning the system with the web site mirrors (but keeping download files bing mirrored) and thus I've changed the URL in the cookiejar header to no longer use curlm.haxx.se but instead use the main site curl.haxx.se Revision 1.1452 - (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.1451: +7 -0 lines Diff to previous 1.1451 - 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.1451 - (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.1450: +7 -0 lines Diff to previous 1.1450 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.1450 - (view) (download) (annotate) - [select for diffs] Wed Aug 27 23:31:58 2008 UTC (18 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.1449: +4 -0 lines Diff to previous 1.1449 VC6 generated .dsp file now supports 4 configurations: libcurl - Win32 DLL Debug libcurl - Win32 DLL Release libcurl - Win32 LIB Debug libcurl - Win32 LIB Release Revision 1.1449 - (view) (download) (annotate) - [select for diffs] Tue Aug 26 21:28:57 2008 UTC (18 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1448: +4 -0 lines Diff to previous 1.1448 Fixed out of memory problems that caused torture test failures in tests 1021 and 1067. Revision 1.1448 - (view) (download) (annotate) - [select for diffs] Tue Aug 26 12:54:12 2008 UTC (18 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.1447: +8 -0 lines Diff to previous 1.1447 Added check and symbol definition for WIN32 file API usage in configure, supporting configure's --disable-largefile option for WIN32 targets also. Non-configure systems which do not use config-win32.h configuration file, and want to use the WIN32 file API, must define USE_WIN32_LARGE_FILES or USE_WIN32_SMALL_FILES as appropriate in their own configuration files. Revision 1.1447 - (view) (download) (annotate) - [select for diffs] Sat Aug 23 22:02:41 2008 UTC (18 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1446: +5 -0 lines Diff to previous 1.1446 - Running 'make ca-firefox' in the root build dir will now run the new firefox-db2pem.sh conversion script that converts a local Firefox db of ca certs into PEM format, suitable for use with a OpenSSL or GnuTLS built libcurl. Revision 1.1446 - (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.1445: +5 -0 lines Diff to previous 1.1445 - 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.1445 - (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.1444: +7 -0 lines Diff to previous 1.1444 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.1444 - (view) (download) (annotate) - [select for diffs] Fri Aug 22 18:09:03 2008 UTC (18 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.1443: +3 -0 lines Diff to previous 1.1443 Adjustments to better select/differentiate when large/small file support is provided using WIN32 functions directly. Revision 1.1443 - (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.1442: +3 -2 lines Diff to previous 1.1442 Improved curl_m*printf() integral data type size and signedness handling Revision 1.1442 - (view) (download) (annotate) - [select for diffs] Thu Aug 21 01:55:33 2008 UTC (18 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.1441: +3 -0 lines Diff to previous 1.1441 Fixed a couple of bugs in libcurl's internal curl_m*printf() functions. Revision 1.1441 - (view) (download) (annotate) - [select for diffs] Wed Aug 20 23:40:40 2008 UTC (18 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.1440: +3 -0 lines Diff to previous 1.1440 Update of lib/Makefile.Watcom. Revision 1.1440 - (view) (download) (annotate) - [select for diffs] Wed Aug 20 19:45:43 2008 UTC (18 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.1439: +4 -0 lines Diff to previous 1.1439 Added an edited version of Vincent Le Normand's documentation of SFTP quote commands to the man pages. Revision 1.1439 - (view) (download) (annotate) - [select for diffs] Wed Aug 20 19:29:00 2008 UTC (18 months, 4 weeks ago) by bagder Branch: MAIN Changes since 1.1438: +6 -0 lines Diff to previous 1.1438 - 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.1438 - (view) (download) (annotate) - [select for diffs] Mon Aug 18 09:58:08 2008 UTC (19 months ago) by yangtse Branch: MAIN Changes since 1.1437: +5 -0 lines Diff to previous 1.1437 Added test case 557 to verify libcurl's internal curl_m*printf() functions formatting functionality when handling signed and unsigned longs, as well as our curl_off_t data type. Revision 1.1437 - (view) (download) (annotate) - [select for diffs] Sun Aug 17 13:25:54 2008 UTC (19 months ago) by yangtse Branch: MAIN Changes since 1.1436: +9 -0 lines Diff to previous 1.1436 OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory when including the OpenSSL header files. This is the recommended setting, this prevents the undesired inclusion of header files with the same name as those of OpenSSL but which do not belong to the OpenSSL package. The visible change from previously released libcurl versions is that now OpenSSl enabled NetWare builds also define USE_OPENSSL in config files, and that OpenSSL header files must be located in a subdirectory named 'openssl'. Revision 1.1436 - (view) (download) (annotate) - [select for diffs] Sat Aug 16 01:33:59 2008 UTC (19 months ago) by yangtse Branch: MAIN Changes since 1.1435: +7 -0 lines Diff to previous 1.1435 Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU remain in use as internal curl_off_t print formatting strings for the internal *printf functions which still cannot handle print formatting string directives such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and other DOS/Windows compilers. This reverts previous commit part which did: FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Revision 1.1435 - (view) (download) (annotate) - [select for diffs] Fri Aug 15 19:18:46 2008 UTC (19 months ago) by danf Branch: MAIN Changes since 1.1434: +10 -0 lines Diff to previous 1.1434 Added test case 1065 to test a PUT with a single file but two URLs. This was discovered to be problematic while investigating an incident reported by Von back in May. curl in this case doesn't include a Content-Length: or Transfer-Encoding: chunked header which is illegal. This test case is added to DISABLED until a solution is found. Revision 1.1434 - (view) (download) (annotate) - [select for diffs] Fri Aug 15 02:58:15 2008 UTC (19 months ago) by yangtse Branch: MAIN Changes since 1.1433: +6 -0 lines Diff to previous 1.1433 For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros, the names of the curl_off_t formatting string directives now become CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU. CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Remove the use of an internal name for the curl_off_t formatting string directives and use the common one available from the inside and outside of the library. FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Revision 1.1433 - (view) (download) (annotate) - [select for diffs] Wed Aug 13 15:48:44 2008 UTC (19 months ago) by yangtse Branch: MAIN Changes since 1.1432: +0 -8 lines Diff to previous 1.1432 Remove first version of comment not intended to be finally committed. Revision 1.1432 - (view) (download) (annotate) - [select for diffs] Wed Aug 13 15:32:20 2008 UTC (19 months ago) by yangtse Branch: MAIN Changes since 1.1431: +13 -0 lines Diff to previous 1.1431 The size of long is a build time characteristic and as such it is now recorded in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems. Revision 1.1431 - (view) (download) (annotate) - [select for diffs] Tue Aug 12 20:07:52 2008 UTC (19 months, 1 week ago) by danf Branch: MAIN Changes since 1.1430: +6 -0 lines Diff to previous 1.1430 Fixed a buffer overflow problem in Curl_proxyCONNECT that could occur when a server responded with long headers and data. Luckily, the buffer overflowed into another unused buffer, so no actual harm was done. Added test cases 1060 and 1061 to verify. Revision 1.1430 - (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.1429: +4 -0 lines Diff to previous 1.1429 - Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel _directory_ if that happened to appear in the path! Revision 1.1429 - (view) (download) (annotate) - [select for diffs] Tue Aug 12 03:00:24 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1428: +4 -0 lines Diff to previous 1.1428 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.1428 - (view) (download) (annotate) - [select for diffs] Mon Aug 11 23:16:08 2008 UTC (19 months, 1 week ago) by danf Branch: MAIN Changes since 1.1427: +10 -0 lines Diff to previous 1.1427 Fixed a boundary condition error in ftp_readresp() whereby a non-terminal line of a multiline FTP response whose last byte landed exactly at the end of the BUFSIZE-length buffer would be treated as the terminal response line. The following response code read in would then actually be the end of the previous response line, and all responses from then on would correspond to the wrong command. Test case 1062 verifies this. Stop closing a never-opened ftp socket. Revision 1.1427 - (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.1426: +6 -0 lines Diff to previous 1.1426 - 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.1426 - (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.1425: +8 -0 lines Diff to previous 1.1425 - 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.1425 - (view) (download) (annotate) - [select for diffs] Mon Aug 11 18:27:21 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1424: +4 -0 lines Diff to previous 1.1424 Added missing signed and unsigned curl_off_t integer constant suffixes for internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU. Revision 1.1424 - (view) (download) (annotate) - [select for diffs] Fri Aug 8 07:26:30 2008 UTC (19 months, 1 week ago) by danf Branch: MAIN Changes since 1.1423: +2 -0 lines Diff to previous 1.1423 Added test1059 to test the FTP proxy tunnel problem fixed July 11. Revision 1.1423 - (view) (download) (annotate) - [select for diffs] Fri Aug 8 01:52:08 2008 UTC (19 months, 1 week ago) by danf Branch: MAIN Changes since 1.1422: +4 -0 lines Diff to previous 1.1422 Fixed an uninitialized variable in multi_runsingle() that could cause a request to prematurely end. Revision 1.1422 - (view) (download) (annotate) - [select for diffs] Thu Aug 7 22:40:06 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1421: +4 -0 lines Diff to previous 1.1421 Remove last adjustment done to testcurl.pl to verify if change introduced by Guenter Knauf in lib/Makefile.netware is enough to get the netware autobuilds going again. Revision 1.1421 - (view) (download) (annotate) - [select for diffs] Thu Aug 7 20:41:12 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1420: +3 -0 lines Diff to previous 1.1420 Adjust testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.h for non-configure targets when host system doesn't run buildconf.bat. Revision 1.1420 - (view) (download) (annotate) - [select for diffs] Thu Aug 7 19:03:46 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1419: +2 -0 lines Diff to previous 1.1419 Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty. Revision 1.1419 - (view) (download) (annotate) - [select for diffs] Thu Aug 7 16:22:25 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1418: +3 -0 lines Diff to previous 1.1418 Prevent buildconf from removing 'Makefile' and 'missing' files. This would blow away our CVS checked 'missing' file and also CVS checked 'hiper/Makefile'. Revision 1.1418 - (view) (download) (annotate) - [select for diffs] Thu Aug 7 16:07:26 2008 UTC (19 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1417: +5 -0 lines Diff to previous 1.1417 Fix CURL_CHECK_DEF so that when the expansion of the preprocessor symbol results in a set of double-quoted strings, this macro will now return an expansion which consists of a single double-quoted string result of concatenating all of them. Revision 1.1417 - (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.1416: +7 -0 lines Diff to previous 1.1416 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.1416 - (view) (download) (annotate) - [select for diffs] Tue Aug 5 06:20:18 2008 UTC (19 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1415: +5 -0 lines Diff to previous 1.1415 Validate that autom4te and autoconf versions match. Validate that aclocal and automake versions match. Improve removal of previous run generated files. Remove verbose debug logging of aclocal on Solaris. Revision 1.1415 - (view) (download) (annotate) - [select for diffs] Mon Aug 4 22:07:50 2008 UTC (19 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1414: +6 -0 lines Diff to previous 1.1414 - 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.1414 - (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.1413: +8 -2 lines Diff to previous 1.1413 - 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.1413 - (view) (download) (annotate) - [select for diffs] Mon Aug 4 06:48:11 2008 UTC (19 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1412: +8 -0 lines Diff to previous 1.1412 Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use. Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. But, autoconf 2.62 version of AC_AIX defines _ALL_SOURCE along with other four preprocessor symbols no matter if the system is AIX or not. To keep the traditional behaviour, as well as an uniform one, across autoconf versions AC_AIX is replaced with our own internal macro. Revision 1.1412 - (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.1411: +8 -0 lines Diff to previous 1.1411 - 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.1411 - (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.1410: +4 -4 lines Diff to previous 1.1410 refer to the new option by its real name Revision 1.1410 - (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.1409: +7 -0 lines Diff to previous 1.1409 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.1409 - (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.1408: +4 -0 lines Diff to previous 1.1408 Added support for --append on SFTP uploads. Unfortunately, OpenSSH doesn't support this so it goes untested. Revision 1.1408 - (view) (download) (annotate) - [select for diffs] Fri Aug 1 05:24:19 2008 UTC (19 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1407: +3 -0 lines Diff to previous 1.1407 Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it has not been in use since revision 1.81 of configure.in 6 years, 9 months ago. Revision 1.1407 - (view) (download) (annotate) - [select for diffs] Fri Aug 1 03:17:38 2008 UTC (19 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1406: +8 -0 lines Diff to previous 1.1406 Sync up with reality Revision 1.1406 - (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.1405: +5 -0 lines Diff to previous 1.1405 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.1405 - (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.1404: +4 -0 lines Diff to previous 1.1404 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.1404 - (view) (download) (annotate) - [select for diffs] Thu Jul 31 20:04:00 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1403: +5 -0 lines Diff to previous 1.1403 Fixed parsing of an IPv6 proxy address to support a scope identifier, as well as IPv4 addresses in IPv6 format. Also, better handle the case of a malformatted IPv6 address (avoid empty and NULL strings). Revision 1.1403 - (view) (download) (annotate) - [select for diffs] Thu Jul 31 01:12:06 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1402: +2 -0 lines Diff to previous 1.1402 Fixed a couple of buffer overflows in the MS-DOS port of the curl tool. Factored out unslashquote. Added some 'const's in function parameters. Revision 1.1402 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 21:55:26 2008 UTC (19 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1401: +6 -0 lines Diff to previous 1.1401 - 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.1401 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 21:24:59 2008 UTC (19 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1400: +10 -0 lines Diff to previous 1.1400 - 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.1400 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 21:04:44 2008 UTC (19 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1399: +7 -3 lines Diff to previous 1.1399 Added test cases 1052 through 1055 to test uploading data from files during redirects. Test cases 1052 and 1055 show problems (maybe the same root cause as 1051) and are disabled. Revision 1.1399 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 07:24:59 2008 UTC (19 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1398: +5 -0 lines Diff to previous 1.1398 Added test case 1051 to test Location: following with PUT, as reported by Ben Sutcliffe. The test when run manually shows a problem in curl, but the test harness web server doesn't run the test correctly so it's disabled for now. Revision 1.1398 - (view) (download) (annotate) - [select for diffs] Wed Jul 30 00:09:02 2008 UTC (19 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1397: +4 -0 lines Diff to previous 1.1397 Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOS and OS/2. Revision 1.1397 - (view) (download) (annotate) - [select for diffs] Tue Jul 29 01:05:28 2008 UTC (19 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1396: +2 -0 lines Diff to previous 1.1396 Added test case 1050 to test --ftp-port with an IPv6 address. Made --interface tests less restrictive on host address. Revision 1.1396 - (view) (download) (annotate) - [select for diffs] Mon Jul 28 18:39:32 2008 UTC (19 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1395: +7 -0 lines Diff to previous 1.1395 Added test cases 1045 through 1049 as simple tests of --interface using the localhost interface. Revision 1.1395 - (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.1394: +5 -0 lines Diff to previous 1.1394 Added feature in runtests.pl to select tests based on key word. Revision 1.1394 - (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.1393: +12 -0 lines Diff to previous 1.1393 - 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.1393 - (view) (download) (annotate) - [select for diffs] Sat Jul 26 20:09:36 2008 UTC (19 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1392: +3 -0 lines Diff to previous 1.1392 Added test 1044 to test large file support in ftp with -I. Revision 1.1392 - (view) (download) (annotate) - [select for diffs] Thu Jul 24 02:16:48 2008 UTC (19 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1391: +8 -0 lines Diff to previous 1.1391 Changed the long logfile elision code in runtests.pl to properly handle lines ending in \r. Revision 1.1391 - (view) (download) (annotate) - [select for diffs] Wed Jul 23 20:53:04 2008 UTC (19 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1390: +9 -0 lines Diff to previous 1.1390 - I went over the curl_easy_setopt man page and replaced most references to non-zero with the fixed value of 1. We should strive at making options support '1' for enabling them mentioned explicitly, as that then will allow us for to extend them in the future without breaking older programs. Revision 1.1390 - (view) (download) (annotate) - [select for diffs] Mon Jul 21 03:06:07 2008 UTC (20 months ago) by yangtse Branch: MAIN Changes since 1.1389: +3 -0 lines Diff to previous 1.1389 Use the sreadfrom() wrapper to replace recvfrom() in our code. Revision 1.1389 - (view) (download) (annotate) - [select for diffs] Mon Jul 21 00:36:55 2008 UTC (20 months ago) by yangtse Branch: MAIN Changes since 1.1388: +5 -0 lines Diff to previous 1.1388 when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate. Revision 1.1388 - (view) (download) (annotate) - [select for diffs] Thu Jul 17 03:07:54 2008 UTC (20 months ago) by yangtse Branch: MAIN Changes since 1.1387: +4 -0 lines Diff to previous 1.1387 RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined to the data type pointed by its respective argument and not the pointer type. Revision 1.1387 - (view) (download) (annotate) - [select for diffs] Wed Jul 16 19:16:41 2008 UTC (20 months ago) by yangtse Branch: MAIN Changes since 1.1386: +6 -0 lines Diff to previous 1.1386 Configure process now checks availability of recvfrom() socket function and finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper. Revision 1.1386 - (view) (download) (annotate) - [select for diffs] Tue Jul 15 13:54:30 2008 UTC (20 months ago) by yangtse Branch: MAIN Changes since 1.1385: +8 -5 lines Diff to previous 1.1385 add comment for include paths Revision 1.1385 - (view) (download) (annotate) - [select for diffs] Tue Jul 15 04:12:15 2008 UTC (20 months ago) by danf Branch: MAIN Changes since 1.1384: +2 -2 lines Diff to previous 1.1384 Added test1042 and test1043 to test -C - on HTTP. Revision 1.1384 - (view) (download) (annotate) - [select for diffs] Tue Jul 15 03:36:38 2008 UTC (20 months ago) by danf Branch: MAIN Changes since 1.1383: +4 -0 lines Diff to previous 1.1383 Added test1040 and test1041 to test -C - on HTTP. Test 1041 failed so it's added to DISABLED. Revision 1.1383 - (view) (download) (annotate) - [select for diffs] Mon Jul 14 17:31:54 2008 UTC (20 months ago) by yangtse Branch: MAIN Changes since 1.1382: +2 -0 lines Diff to previous 1.1382 Move _REENTRANT definition earlier in lib/setup.h Revision 1.1382 - (view) (download) (annotate) - [select for diffs] Mon Jul 14 16:58:34 2008 UTC (20 months ago) by yangtse Branch: MAIN Changes since 1.1381: +2 -0 lines Diff to previous 1.1381 Removed inclusion of remaining system header files from configuration files. These are included from lib/setup.h or specific source code file. Revision 1.1381 - (view) (download) (annotate) - [select for diffs] Mon Jul 14 12:39:50 2008 UTC (20 months ago) by yangtse Branch: MAIN Changes since 1.1380: +5 -0 lines Diff to previous 1.1380 HTTP_ONLY definition check in lib/setup.h is now done once that configuration file has been included. In this way if symbol is defined in the config file it will no longer be ignored. Revision 1.1380 - (view) (download) (annotate) - [select for diffs] Fri Jul 11 18:42:30 2008 UTC (20 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1379: +4 -0 lines Diff to previous 1.1379 Added missing multiple header inclusion prevention definition Revision 1.1379 - (view) (download) (annotate) - [select for diffs] Fri Jul 11 18:23:06 2008 UTC (20 months, 1 week ago) by danf Branch: MAIN Changes since 1.1378: +3 -0 lines Diff to previous 1.1378 Fixed test 553 to pass the torture test. Revision 1.1378 - (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.1377: +5 -0 lines Diff to previous 1.1377 - 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.1377 - (view) (download) (annotate) - [select for diffs] Fri Jul 11 05:08:06 2008 UTC (20 months, 1 week ago) by danf Branch: MAIN Changes since 1.1376: +3 -0 lines Diff to previous 1.1376 Added test cases 1038 and 1039 to test Adrian Kreher's report that ftp uploads with -C - didn't resume properly, but the tests pass. Revision 1.1376 - (view) (download) (annotate) - [select for diffs] Fri Jul 11 04:38:11 2008 UTC (20 months, 1 week ago) by danf Branch: MAIN Changes since 1.1375: +7 -0 lines Diff to previous 1.1375 Changed slightly the SFTP quote commands chmod, chown and chgrp to only set the attribute that has changed instead of all possible ones. Hopefully, this will solve the "Permission denied" problem that Nagarajan Sreenivasan reported when setting some modes, but regardless, it saves a protocol round trip in the chmod case. Revision 1.1375 - (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.1374: +7 -0 lines Diff to previous 1.1374 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.1374 - (view) (download) (annotate) - [select for diffs] Thu Jul 10 06:09:03 2008 UTC (20 months, 1 week ago) by danf Branch: MAIN Changes since 1.1373: +3 -0 lines Diff to previous 1.1373 Added tests 1036 and 1037 to verify resumed ftp downloads with -C - Revision 1.1373 - (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.1372: +5 -0 lines Diff to previous 1.1372 - 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.1372 - (view) (download) (annotate) - [select for diffs] Wed Jul 9 18:33:35 2008 UTC (20 months, 1 week ago) by danf Branch: MAIN Changes since 1.1371: +3 -0 lines Diff to previous 1.1371 Fixed an OOM handling problem that cause test 11 to fail the torture test. Revision 1.1371 - (view) (download) (annotate) - [select for diffs] Tue Jul 8 21:16:18 2008 UTC (20 months, 1 week ago) by danf Branch: MAIN Changes since 1.1370: +3 -0 lines Diff to previous 1.1370 Fixed test 554 to pass the torture test. Revision 1.1370 - (view) (download) (annotate) - [select for diffs] Mon Jul 7 23:52:52 2008 UTC (20 months, 1 week ago) by danf Branch: MAIN Changes since 1.1369: +3 -0 lines Diff to previous 1.1369 Added test cases 1034 & 1035 to test IDN name conversion failures. Revision 1.1369 - (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.1368: +8 -0 lines Diff to previous 1.1368 - 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.1368 - (view) (download) (annotate) - [select for diffs] Sat Jul 5 03:12:47 2008 UTC (20 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1367: +2 -1 lines Diff to previous 1.1367 mention that egrep and ar are also mandatory Revision 1.1367 - (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.1366: +4 -0 lines Diff to previous 1.1366 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.1366 - (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.1365: +8 -0 lines Diff to previous 1.1365 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.1365 - (view) (download) (annotate) - [select for diffs] Wed Jul 2 18:34:01 2008 UTC (20 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1364: +3 -0 lines Diff to previous 1.1364 Support Open Watcom C on Linux (as well as Windows). Revision 1.1364 - (view) (download) (annotate) - [select for diffs] Wed Jul 2 17:42:08 2008 UTC (20 months, 2 weeks ago) by yangtse Branch: MAIN Changes since 1.1363: +2 -0 lines Diff to previous 1.1363 The configure process will now halt when sed or grep are unavailable Revision 1.1363 - (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.1362: +7 -0 lines Diff to previous 1.1362 fallback to gettimeofday when monotonic clock is unavailable at run-time Revision 1.1362 - (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.1361: +4 -0 lines Diff to previous 1.1361 - Rolland Dudemaine provided fixes to get libcurl to build for the INTEGRITY operating system. Revision 1.1361 - (view) (download) (annotate) - [select for diffs] Mon Jun 30 13:07:05 2008 UTC (20 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1360: +7 -0 lines Diff to previous 1.1360 - 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.1360 - (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.1359: +8 -0 lines Diff to previous 1.1359 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.1359 - (view) (download) (annotate) - [select for diffs] Thu Jun 26 01:43:53 2008 UTC (20 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1358: +6 -0 lines Diff to previous 1.1358 Honour --stderr with the -v option. Fixed a file handle leak in the command line client if more than one --stderr option was given. Revision 1.1358 - (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.1357: +7 -0 lines Diff to previous 1.1357 - 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.1357 - (view) (download) (annotate) - [select for diffs] Sun Jun 22 06:57:00 2008 UTC (20 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.1356: +5 -0 lines Diff to previous 1.1356 Stopped using ranges in scanf character sequences (e.g. %[a-z]) since that is not ANSI C, just a common extension. This caused problems on at least Open Watcom C. Revision 1.1356 - (view) (download) (annotate) - [select for diffs] Fri Jun 20 18:09:48 2008 UTC (20 months, 4 weeks ago) by yangtse Branch: MAIN Changes since 1.1355: +6 -0 lines Diff to previous 1.1355 Modified configuration script to actually verify if the compiler is good enough at detecting compilation errors or at least it has been properly configured to do so. Configuration heavily depends on this capability, so if this compiler sanity check fails the configuration process will now fail. Revision 1.1355 - (view) (download) (annotate) - [select for diffs] Fri Jun 20 11:15:54 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.1354: +6 -0 lines Diff to previous 1.1354 - 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.1354 - (view) (download) (annotate) - [select for diffs] Fri Jun 20 10:43:32 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.1353: +8 -0 lines Diff to previous 1.1353 - 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.1353 - (view) (download) (annotate) - [select for diffs] Thu Jun 19 22:24:21 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.1352: +3 -3 lines Diff to previous 1.1352 minor language fix Revision 1.1352 - (view) (download) (annotate) - [select for diffs] Thu Jun 19 21:32:51 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.1351: +7 -0 lines Diff to previous 1.1351 - 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.1351 - (view) (download) (annotate) - [select for diffs] Thu Jun 19 08:31:22 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.1350: +6 -0 lines Diff to previous 1.1350 - 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.1350 - (view) (download) (annotate) - [select for diffs] Thu Jun 19 00:30:02 2008 UTC (21 months ago) by danf Branch: MAIN Changes since 1.1349: +2 -0 lines Diff to previous 1.1349 Fixed a memory leak in the command-line tool that caused a valgrind error. Revision 1.1349 - (view) (download) (annotate) - [select for diffs] Thu Jun 19 00:18:58 2008 UTC (21 months ago) by danf Branch: MAIN Changes since 1.1348: +3 -0 lines Diff to previous 1.1348 Added SSH failure test cases 628-632 Revision 1.1348 - (view) (download) (annotate) - [select for diffs] Wed Jun 18 22:01:55 2008 UTC (21 months ago) by bagder Branch: MAIN Changes since 1.1347: +6 -0 lines Diff to previous 1.1347 - 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.1347 - (view) (download) (annotate) - [select for diffs] Wed Jun 18 04:39:29 2008 UTC (21 months ago) by yangtse Branch: MAIN Changes since 1.1346: +5 -0 lines Diff to previous 1.1346 No longer break out of a shell "for" statement from inside AC_FOO_IFELSE macros, otherwise temp files are not removed. Identation adjustment. Revision 1.1346 - (view) (download) (annotate) - [select for diffs] Fri Jun 13 00:03:12 2008 UTC (21 months, 1 week ago) by danf Branch: MAIN Changes since 1.1345: +2 -0 lines Diff to previous 1.1345 Fixed curl-config --ca which wasn't being exported by configure. Revision 1.1345 - (view) (download) (annotate) - [select for diffs] Wed Jun 11 17:01:58 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1344: +22 -0 lines Diff to previous 1.1344 - I did a cleanup of the internal generic SSL layer and how the various SSL libraries are supported. Starting now, each underlying SSL library support code does a set of defines for the 16 functions the generic layer (sslgen.c) uses (all these new function defines use the prefix "curlssl_"). This greatly simplified the generic layer in readability by involving much less #ifdefs and other preprocessor stuff and should make it easier for people to make libcurl work with new SSL libraries. Hopefully I can later on document these 16 functions somewhat as well. I also made most of the internal SSL-dependent functions (using Curl_ssl_ prefix) #defined to nothing when no SSL support is requested - previously they would unnecessarily call mostly empty functions. Revision 1.1344 - (view) (download) (annotate) - [select for diffs] Tue Jun 10 20:49:17 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1343: +5 -0 lines Diff to previous 1.1343 - I made the OpenSSL code build again with OpenSSL 0.9.6. The CRLFILE functionality killed it due to its unconditional use of X509_STORE_set_flags... Revision 1.1343 - (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.1342: +3 -0 lines Diff to previous 1.1342 the next release is now called 7.19.0 Revision 1.1342 - (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.1341: +13 -0 lines Diff to previous 1.1341 - 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.1341 - (view) (download) (annotate) - [select for diffs] Fri Jun 6 22:11:24 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1340: +2 -1605 lines Diff to previous 1.1340 Moved all changes from 2007 from CHANGES to CHANGES.0 Revision 1.1340 - (view) (download) (annotate) - [select for diffs] Fri Jun 6 20:52:32 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1339: +3 -0 lines Diff to previous 1.1339 - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_ISSUERCERT, for OpenSSL, NSS and GnuTLS-built libcurls. Revision 1.1339 - (view) (download) (annotate) - [select for diffs] Fri Jun 6 18:40:21 2008 UTC (21 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1338: +3 -0 lines Diff to previous 1.1338 - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_CRLFILE, for OpenSSL, NSS and GnuTLS-built libcurls. Revision 1.1338 - (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.1337: +6 -0 lines Diff to previous 1.1337 - 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.1337 - (view) (download) (annotate) - [select for diffs] Wed Jun 4 15:38:27 2008 UTC (21 months, 2 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_18_2 Changes since 1.1336: +2 -0 lines Diff to previous 1.1336 7.18.2 Revision 1.1336 - (view) (download) (annotate) - [select for diffs] Tue Jun 3 18:03:11 2008 UTC (21 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1335: +4 -0 lines Diff to previous 1.1335 Fixed a problem where telnet data would be lost if an EWOULDBLOCK condition were encountered. Revision 1.1335 - (view) (download) (annotate) - [select for diffs] Sun Jun 1 17:59:53 2008 UTC (21 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1334: +5 -0 lines Diff to previous 1.1334 (committed this for Marty Kuhrt:) - Updated main.c to return CURLE_OK if PARAM_HELP_REQUESTED was returned from getparameter instead of CURLE_FAILED_INIT. No point in returning an error if --help or --version were requested. Revision 1.1334 - (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.1333: +5 -0 lines Diff to previous 1.1333 - 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.1333 - (view) (download) (annotate) - [select for diffs] Wed May 28 20:31:54 2008 UTC (21 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1332: +6 -0 lines Diff to previous 1.1332 - 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.1332 - (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.1331: +5 -0 lines Diff to previous 1.1331 - 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.1331 - (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.1330: +3 -0 lines Diff to previous 1.1330 Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS Revision 1.1330 - (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.1329: +4 -0 lines Diff to previous 1.1329 David Rosenstrauch reported that header files spnegohelp.h and openssl/objects.h were needed to compile SPNEGO support. Revision 1.1329 - (view) (download) (annotate) - [select for diffs] Thu May 22 21:49:52 2008 UTC (21 months, 4 weeks ago) by danf Branch: MAIN Changes since 1.1328: +4 -0 lines Diff to previous 1.1328 Made sure to pass longs in to curl_easy_setopt where necessary in the libtest code. Revision 1.1328 - (view) (download) (annotate) - [select for diffs] Mon May 19 20:58:12 2008 UTC (22 months ago) by bagder Branch: MAIN Changes since 1.1327: +17 -0 lines Diff to previous 1.1327 - 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.1327 - (view) (download) (annotate) - [select for diffs] Tue May 13 21:42:07 2008 UTC (22 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1326: +3 -0 lines Diff to previous 1.1326 Added test case 556 that uses curl_easy_send() and curl_easy_recv() Revision 1.1326 - (view) (download) (annotate) - [select for diffs] Mon May 12 21:43:24 2008 UTC (22 months, 1 week ago) by bagder Branch: MAIN Changes since 1.1325: +6 -0 lines Diff to previous 1.1325 - 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.1325 - (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.1324: +4 -0 lines Diff to previous 1.1324 Internal time differences now use monotonic time source if available. This also implies the removal of the winmm.lib dependency for WIN32. Revision 1.1324 - (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.1323: +5 -0 lines Diff to previous 1.1323 - 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.1323 - (view) (download) (annotate) - [select for diffs] Fri May 9 11:27:54 2008 UTC (22 months, 1 week ago) by mmarek Branch: MAIN Changes since 1.1322: +4 -0 lines Diff to previous 1.1322 - Make Curl_write and it's callees accept a const pointer, in preparation of tetetest's patch for curl_easy_send() Revision 1.1322 - (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.1321: +5 -0 lines Diff to previous 1.1321 - 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.1321 - (view) (download) (annotate) - [select for diffs] Wed May 7 15:41:41 2008 UTC (22 months, 1 week ago) by yangtse Branch: MAIN Changes since 1.1320: +4 -0 lines Diff to previous 1.1320 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.1320 - (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.1319: +4 -0 lines Diff to previous 1.1319 - Yuriy Sosov pointed out a configure fix for detecting c-ares when that is built debug-enabled. Revision 1.1319 - (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.1318: +8 -0 lines Diff to previous 1.1318 - 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.1318 - (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.1317: +7 -0 lines Diff to previous 1.1317 - 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.1317 - (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.1316: +5 -0 lines Diff to previous 1.1316 - 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.1316 - (view) (download) (annotate) - [select for diffs] Wed Apr 30 21:20:08 2008 UTC (22 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1315: +9 -0 lines Diff to previous 1.1315 - 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.1315 - (view) (download) (annotate) - [select for diffs] Tue Apr 29 04:28:40 2008 UTC (22 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.1314: +3 -0 lines Diff to previous 1.1314 improved easy interface resolving timeout handling in c-ares enabled builds Revision 1.1314 - (view) (download) (annotate) - [select for diffs] Tue Apr 29 02:30:09 2008 UTC (22 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1313: +3 -0 lines Diff to previous 1.1313 Added test 1028 to test an HTTP redirect to a FTP URL. Revision 1.1313 - (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.1312: +8 -0 lines Diff to previous 1.1312 - 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.1312 - (view) (download) (annotate) - [select for diffs] Sat Apr 26 22:02:07 2008 UTC (22 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1311: +9 -0 lines Diff to previous 1.1311 mention the automake problems and solution even though it doesn't strictly caused any change in curl-related files Revision 1.1311 - (view) (download) (annotate) - [select for diffs] Fri Apr 25 04:19:50 2008 UTC (22 months, 3 weeks ago) by yangtse Branch: MAIN Changes since 1.1310: +8 -0 lines Diff to previous 1.1310 Add 'timeout' and 'delay' attributes support for the test harness <command> subsection Revision 1.1310 - (view) (download) (annotate) - [select for diffs] Fri Apr 25 00:41:44 2008 UTC (22 months, 3 weeks ago) by danf Branch: MAIN Changes since 1.1309: +3 -0 lines Diff to previous 1.1309 Made --stderr able to redirect all stderr messages. Revision 1.1309 - (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.1308: +3 -0 lines Diff to previous 1.1308 Added support for running on Symbian OS. Revision 1.1308 - (view) (download) (annotate) - [select for diffs] Fri Apr 18 22:31:52 2008 UTC (23 months ago) by danf Branch: MAIN Changes since 1.1307: +4 -0 lines Diff to previous 1.1307 Added test cases 1026 and 1027 to do some rudimentary tests on the --manual and --help options. Revision 1.1307 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 19:01:41 2008 UTC (23 months ago) by mmarek Branch: MAIN Changes since 1.1306: +4 -0 lines Diff to previous 1.1306 allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html Revision 1.1306 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 15:26:34 2008 UTC (23 months ago) by bagder Branch: MAIN Changes since 1.1305: +4 -0 lines Diff to previous 1.1305 - 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.1305 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 15:22:45 2008 UTC (23 months ago) by bagder Branch: MAIN Changes since 1.1304: +3 -0 lines Diff to previous 1.1304 - Andre Guibert de Bruet fixed a second case of not checking the malloc() return code in the Negotiate code. Revision 1.1304 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 15:19:05 2008 UTC (23 months ago) by bagder Branch: MAIN Changes since 1.1303: +4 -0 lines Diff to previous 1.1303 - Sandor Feldi reported bug #1942022 (http://curl.haxx.se/bug/view.cgi?id=1942022) pointing out a mistake in the lib/Makefile.vc[68] makefiles' release-ssl-dll target. Revision 1.1303 - (view) (download) (annotate) - [select for diffs] Mon Apr 14 14:42:06 2008 UTC (23 months ago) by bagder Branch: MAIN Changes since 1.1302: +5 -0 lines Diff to previous 1.1302 - Brock Noland reported that curl behaved differently depending on which order you used -i and -I. Revision 1.1302 - (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.1301: +4 -0 lines Diff to previous 1.1301 - 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.1301 - (view) (download) (annotate) - [select for diffs] Thu Apr 10 18:18:55 2008 UTC (23 months, 1 week ago) by danf Branch: MAIN Changes since 1.1300: +2 -2 lines Diff to previous 1.1300 Added test case 1025 to test a command-line cookie with Location: following Revision 1.1300 - (view) (download) (annotate) - [select for diffs] Thu Apr 10 04:21:08 2008 UTC (23 months, 1 week ago) by danf Branch: MAIN Changes since 1.1299: +5 -0 lines Diff to previous 1.1299 Added test case 1024 to test a scenario similar to the one reported by Ben Combee where libcurl would send the wrong cookie to a redirected server. libcurl was doing the right thing in this test case. Revision 1.1299 - (view) (download) (annotate) - [select for diffs] Mon Apr 7 09:26:30 2008 UTC (23 months, 1 week ago) by mmarek Branch: MAIN Changes since 1.1298: +9 -0 lines Diff to previous 1.1298 - 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.1298 - (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.1297: +2 -0 lines Diff to previous 1.1297 - Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly Revision 1.1297 - (view) (download) (annotate) - [select for diffs] Sat Apr 5 21:02:38 2008 UTC (23 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1296: +11 -0 lines Diff to previous 1.1296 - Based on the Debian bug report #474224 that complained about the FTP error
message when libcurl doesn't get a 220 back immediately on connect, I now
changed it to be more specific on what the problem is. Also worth noticing:
while the bug report contains an example where the response is:
421 There are too many connected users, please try again later
we cannot assume that the error message will always be this readable nor
that it fits within a particular boundary etc.
Revision 1.1296 - (view) (download) (annotate) - [select for diffs] Fri Apr 4 02:06:35 2008 UTC (23 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1295: +3 -0 lines Diff to previous 1.1295 Added test627 to test SFTP with CURLOPT_NOBODY Revision 1.1295 - (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.1294: +5 -0 lines Diff to previous 1.1294 - 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.1294 - (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.1293: +3 -0 lines Diff to previous 1.1293 Scott Barrett added support for CURLOPT_NOBODY over SFTP Revision 1.1293 - (view) (download) (annotate) - [select for diffs] Thu Apr 3 20:28:32 2008 UTC (23 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1292: +4 -0 lines Diff to previous 1.1292 Made sure that curl_global_init is called in all the multithreaded example programs. Revision 1.1292 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 12:09:43 2008 UTC (23 months, 2 weeks ago) by mmarek Branch: MAIN Changes since 1.1291: +4 -0 lines Diff to previous 1.1291 Removed the generated ca-bundle.h file. The verbatim value of $ca and $capath is known to configure, so it can be defined in config.h instead. Revision 1.1291 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 10:02:23 2008 UTC (23 months, 2 weeks ago) by bagder Branch: MAIN Changes since 1.1290: +7 -0 lines Diff to previous 1.1290 - 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.1290 - (view) (download) (annotate) - [select for diffs] Mon Mar 31 03:01:13 2008 UTC (23 months, 2 weeks ago) by danf Branch: MAIN Changes since 1.1289: +5 -0 lines Diff to previous 1.1289 Changed the makefile so the doc/examples/ programs are never built in a normal build/install (only with the 'make check' target), so that a build failure in the examples isn't fatal. Revision 1.1289 - (view) (download) (annotate) - [select for diffs] Sun Mar 30 09:11:35 2008 UTC (23 months, 3 weeks ago) by bagder Branch: MAIN CVS Tags: curl-7_18_1 Changes since 1.1288: +2 -0 lines Diff to previous 1.1288 7.18.1 Revision 1.1288 - (view) (download) (annotate) - [select for diffs] Thu Mar 27 23:13:57 2008 UTC (23 months, 3 weeks ago) by bagder Branch: MAIN Changes since 1.1287: +4 -0 lines Diff to previous 1.1287 - Stephen Collyer pointed out that configure --with-libssh2 without a given path didn't work properly but now it does! Revision 1.1287 - (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.1286: +5 -0 lines Diff to previous 1.1286 - 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.1286 - (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.1285: +5 -0 lines Diff to previous 1.1285 - 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.1285 - (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.1284: +4 -0 lines Diff to previous 1.1284 - 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.1284 - (view) (download) (annotate) - [select for diffs] Thu Mar 20 20:08:44 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.1283: +6 -0 lines Diff to previous 1.1283 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.1283 - (view) (download) (annotate) - [select for diffs] Thu Mar 20 08:09:23 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.1282: +7 -0 lines Diff to previous 1.1282 - 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.1282 - (view) (download) (annotate) - [select for diffs] Tue Mar 18 22:59:04 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.1281: +1 -1 lines Diff to previous 1.1281 Fixed an infinite loop when given an invalid SFTP quote command. Revision 1.1281 - (view) (download) (annotate) - [select for diffs] Tue Mar 18 17:05:29 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.1280: +4 -0 lines Diff to previous 1.1280 Added test 626 to reproduce an infinite loop when given an invalid SFTP quote command reported by Vincent Le Normand, but left it disabled. Revision 1.1280 - (view) (download) (annotate) - [select for diffs] Tue Mar 18 08:14:37 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.1279: +6 -0 lines Diff to previous 1.1279 - 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.1279 - (view) (download) (annotate) - [select for diffs] Thu Mar 13 22:51:39 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.1278: +5 -0 lines Diff to previous 1.1278 Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that seems to need a call curl_easy_reset() which this test case doesn't do. Revision 1.1278 - (view) (download) (annotate) - [select for diffs] Thu Mar 13 21:43:39 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1277: +11 -1 lines Diff to previous 1.1277 - 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.1277 - (view) (download) (annotate) - [select for diffs] Tue Mar 11 22:55:23 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1276: +6 -0 lines Diff to previous 1.1276 - 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.1276 - (view) (download) (annotate) - [select for diffs] Tue Mar 11 13:14:16 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1275: +6 -0 lines Diff to previous 1.1275 - 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.1275 - (view) (download) (annotate) - [select for diffs] Tue Mar 11 07:37:40 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.1274: +5 -0 lines Diff to previous 1.1274 - 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.1274 - (view) (download) (annotate) - [select for diffs] Mon Mar 10 19:40:27 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.1273: +4 -0 lines Diff to previous 1.1273 Added tests 618-621 to test SFTP/SCP transfers of more than one file (test 620 tests the just-fixed problem reported by Brian Ulm). Revision 1.1273 - (view) (download) (annotate) - [select for diffs] Sun Mar 9 11:37:48 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1272: +10 -0 lines Diff to previous 1.1272 - 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.1272 - (view) (download) (annotate) - [select for diffs] Thu Mar 6 17:22:45 2008 UTC (2 years ago) by mmarek Branch: MAIN Changes since 1.1271: +4 -0 lines Diff to previous 1.1271 Fix the gssapi configure check to detect newer MIT Kerberos (patch by Michael Calmer) Revision 1.1271 - (view) (download) (annotate) - [select for diffs] Thu Mar 6 03:48:33 2008 UTC (2 years ago) by yangtse Branch: MAIN Changes since 1.1270: +4 -0 lines Diff to previous 1.1270 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.1270 - (view) (download) (annotate) - [select for diffs] Thu Mar 6 01:15:28 2008 UTC (2 years ago) by danf Branch: MAIN Changes since 1.1269: +7 -0 lines Diff to previous 1.1269 Added tests 616 and 617 to see how SFTP and SCP cope with zero-length files, as questioned by Mike Protts. SFTP does for me but SCP doesn't so test 617 is disabled for now. Revision 1.1269 - (view) (download) (annotate) - [select for diffs] Tue Mar 4 11:53:15 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1268: +3 -0 lines Diff to previous 1.1268 Mike Protts brought a patch that makes resumed transfers work with SFTP. Revision 1.1268 - (view) (download) (annotate) - [select for diffs] Sat Mar 1 22:32:03 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1267: +4 -0 lines Diff to previous 1.1267 - Anatoli Tubman found and fixed a crash with Negotiate authentication used on a re-used connection where both requests used Negotiate. Revision 1.1267 - (view) (download) (annotate) - [select for diffs] Tue Feb 26 10:30:13 2008 UTC (2 years ago) by gknauf Branch: MAIN Changes since 1.1266: +5 -2 lines Diff to previous 1.1266 Added support for server name indication (RFC 4366). Patch submitted by Kaspar Brand. Revision 1.1266 - (view) (download) (annotate) - [select for diffs] Mon Feb 25 07:51:39 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1265: +4 -0 lines Diff to previous 1.1265 - Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that forces it to prefer SSLv3. Revision 1.1265 - (view) (download) (annotate) - [select for diffs] Sat Feb 23 12:27:45 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1264: +6 -0 lines Diff to previous 1.1264 - 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.1264 - (view) (download) (annotate) - [select for diffs] Fri Feb 22 22:53:01 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1263: +4 -0 lines Diff to previous 1.1263 - Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model options as the lib/Makefile.vc6 already did. Revision 1.1263 - (view) (download) (annotate) - [select for diffs] Thu Feb 21 17:52:16 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1262: +6 -0 lines Diff to previous 1.1262 - 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.1262 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 12:18:08 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1261: +2 -0 lines Diff to previous 1.1261 - Fixed test case 405 to not fail when libcurl is built with GnuTLS Revision 1.1261 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 11:58:20 2008 UTC (2 years ago) by gknauf Branch: MAIN Changes since 1.1260: +4 -0 lines Diff to previous 1.1260 mention removal of SSLv2 by default. Revision 1.1260 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 09:56:26 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1259: +6 -0 lines Diff to previous 1.1259 - 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.1259 - (view) (download) (annotate) - [select for diffs] Wed Feb 20 08:28:02 2008 UTC (2 years ago) by bagder Branch: MAIN Changes since 1.1258: +11 -0 lines Diff to previous 1.1258 - 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.1258 - (view) (download) (annotate) - [select for diffs] Tue Feb 19 21:57:41 2008 UTC (2 years, 1 month ago) by danf Branch: MAIN Changes since 1.1257: +3 -0 lines Diff to previous 1.1257 Added test309 to test HTTP redirect to HTTPS URL Revision 1.1257 - (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.1256: +10 -0 lines Diff to previous 1.1256 - 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.1256 - (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.1255: +10 -0 lines Diff to previous 1.1255 - 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.1255 - (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.1254: +7 -0 lines Diff to previous 1.1254 - 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.1254 - (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.1253: +5 -0 lines Diff to previous 1.1253 - 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.1253 - (view) (download) (annotate) - [select for diffs] Mon Feb 11 22:03:31 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.1252: +5 -0 lines Diff to previous 1.1252 Yang Tse pointed out a few remaining quirks from my timeout refactoring from Feb 7 that didn't abort properly on timeouts. These are actually old problems but now they should be fixed. Revision 1.1252 - (view) (download) (annotate) - [select for diffs] Sun Feb 10 04:20:09 2008 UTC (2 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.1251: +6 -0 lines Diff to previous 1.1251 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.1251 - (view) (download) (annotate) - [select for diffs] Sat Feb 9 02:08:34 2008 UTC (2 years, 1 month ago) by danf Branch: MAIN Changes since 1.1250: +4 -0 lines Diff to previous 1.1250 Added key words to all SSL-using tests so they can be skipped if necessary. Removed a few unnecessary requires SSL statements. Revision 1.1250 - (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.1249: +7 -0 lines Diff to previous 1.1249 - 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.1249 - (view) (download) (annotate) - [select for diffs] Fri Feb 8 13:54:02 2008 UTC (2 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.1248: +5 -0 lines Diff to previous 1.1248 To verify that the sftp server is actually running, responsive and that all curl's tests generated configuration and key files are fine, a real connection is established to the test harness sftp server authenticating and running a simple sftp remote pwd command. The verification is done using OpenSSH's or SunSSH's sftp client tool with a configuration file with the same options as the test harness socks server with the exception that dynamic forwarding is not used for sftp. Revision 1.1248 - (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.1247: +5 -0 lines Diff to previous 1.1247 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.1247 - (view) (download) (annotate) - [select for diffs] Fri Feb 8 01:21:03 2008 UTC (2 years, 1 month ago) by danf Branch: MAIN Changes since 1.1246: +4 -0 lines Diff to previous 1.1246 Added tests 1022 and 1023 to validate output of curl-config --version and --vernum Revision 1.1246 - (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.1245: +5 -0 lines Diff to previous 1.1245 - 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.1245 - (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.1244: +4 -0 lines Diff to previous 1.1244 Fix problem in strdup replacement when dealing with absolutely huge strings. Revision 1.1244 - (view) (download) (annotate) - [select for diffs] Sun Feb 3 12:31:35 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.1243: +8 -0 lines Diff to previous 1.1243 - Dmitry Kurochkin cleaned up the pipelining code and removed the need for and use of the "is_in_pipeline" struct field. Revision 1.1243 - (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.1242: +8 -0 lines Diff to previous 1.1242 - 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.1242 - (view) (download) (annotate) - [select for diffs] Thu Jan 31 12:04:33 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.1241: +6 -0 lines Diff to previous 1.1241 - Dmitry Kurochkin moved several struct fields from the connectdata struct to the SingleRequest one to make pipelining better. It is a bit tricky to keep them in the right place, to keep things related to the actual request or to the actual connection in the right place. Revision 1.1241 - (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.1240: +3 -0 lines Diff to previous 1.1240 - Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously crash! Revision 1.1240 - (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.1239: +4 -0 lines Diff to previous 1.1239 - Michal Marek fixed minor mistake in test case 553 that prevented it from working on other IP-addresses or port numbers. Revision 1.1239 - (view) (download) (annotate) - [select for diffs] Mon Jan 28 17:28:21 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_18_0 Changes since 1.1238: +2 -0 lines Diff to previous 1.1238 7.18.0 Revision 1.1238 - (view) (download) (annotate) - [select for diffs] Sun Jan 27 22:53:09 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.1237: +5 -0 lines Diff to previous 1.1237 Dmitry Kurochkin: In "real world" testing I found more bugs in pipelining. Broken connection is not restored and we get into infinite loop. It happens because of wrong is_in_pipeline values. Revision 1.1237 - (view) (download) (annotate) - [select for diffs] Fri Jan 25 23:33:45 2008 UTC (2 years, 1 month ago) by bagder Branch: MAIN Changes since 1.1236: +14 -0 lines Diff to previous 1.1236 - 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.1236 - (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.1235: +2 -5 lines Diff to previous 1.1235 and Igor Franchuk is his name! Revision 1.1235 - (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.1234: +7 -0 lines Diff to previous 1.1234 "Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so did "SESS". Fixed now. Revision 1.1234 - (view) (download) (annotate) - [select for diffs] Tue Jan 22 14:52:54 2008 UTC (2 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.1233: +3 -0 lines Diff to previous 1.1233 check availability of poll.h header at configuration time, and include it when sys/poll.h is unavailable Revision 1.1233 - (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.1232: +5 -0 lines Diff to previous 1.1232 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.1232 - (view) (download) (annotate) - [select for diffs] Mon Jan 21 20:22:33 2008 UTC (2 years, 1 month ago) by yangtse Branch: MAIN Changes since 1.1231: +4 -0 lines Diff to previous 1.1231 Disable ldap support for cygwin builds, since it breaks whole build process. Revision 1.1231 - (view) (download) (annotate) - [select for diffs] Fri Jan 18 21:51:10 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.1230: +6 -0 lines Diff to previous 1.1230 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.1230 - (view) (download) (annotate) - [select for diffs] Thu Jan 17 18:57:50 2008 UTC (2 years, 2 months ago) by yangtse Branch: MAIN Changes since 1.1229: +3 -0 lines Diff to previous 1.1229 Don't abort tests 518 and 537 when unable to raise the open-file soft limit Revision 1.1229 - (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.1228: +4 -0 lines Diff to previous 1.1228 Nathan Coulter's patch that makes runtests.pl respect the PATH when figuring out what valgrind to run. Revision 1.1228 - (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.1227: +4 -0 lines Diff to previous 1.1227 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.1227 - (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.1226: +6 -0 lines Diff to previous 1.1226 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.1226 - (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.1225: +4 -0 lines Diff to previous 1.1225 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.1225 - (view) (download) (annotate) - [select for diffs] Tue Jan 15 22:15:55 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.1224: +6 -0 lines Diff to previous 1.1224 I made the torture test on test 530 go through. This was actually due to silly code left from when we switched to let the multi handle "hold" the dns cache when using the multi interface... Of course this only triggered when a certain function call returned error at the correct moment. Revision 1.1224 - (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.1223: +6 -0 lines Diff to previous 1.1223 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.1223 - (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.1222: +3 -0 lines Diff to previous 1.1222 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.1222 - (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.1221: +8 -0 lines Diff to previous 1.1221 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.1221 - (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.1220: +3 -0 lines Diff to previous 1.1220 Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it already worked for FTP:// URLs Revision 1.1220 - (view) (download) (annotate) - [select for diffs] Fri Jan 11 14:00:47 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.1219: +9 -0 lines Diff to previous 1.1219 I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved performance for the upload resume cases where you want to upload the last few bytes of a very large file. To implement this decently, I had to switch the client code for uploading from fopen()/fread() to plain open()/read() so that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that) on systems that offer support for that. Revision 1.1219 - (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.1218: +5 -0 lines Diff to previous 1.1218 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.1218 - (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.1217: +10 -0 lines Diff to previous 1.1217 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.1217 - (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.1216: +6 -0 lines Diff to previous 1.1216 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.1216 - (view) (download) (annotate) - [select for diffs] Tue Jan 8 14:52:05 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.1215: +5 -0 lines Diff to previous 1.1215 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.1215 - (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.1214: +7 -0 lines Diff to previous 1.1214 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.1214 - (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.1213: +11 -0 lines Diff to previous 1.1213 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.1213 - (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.1212: +6 -0 lines Diff to previous 1.1212 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.1212 - (view) (download) (annotate) - [select for diffs] Thu Jan 3 20:48:22 2008 UTC (2 years, 2 months ago) by yangtse Branch: MAIN Changes since 1.1211: +5 -0 lines Diff to previous 1.1211 Modify test harness so that the minimum SSH version required to run SCP, SFTP and SOCKS4 tests is now OpenSSH 2.9.9 or SunSSH 1.0 For SOCKS5 tests minimum versions are OpenSSH 3.7 or SunSSH 1.0 Revision 1.1211 - (view) (download) (annotate) - [select for diffs] Wed Jan 2 22:30:34 2008 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.1210: +4 -0 lines Diff to previous 1.1210 - I fixed two cases of missing return code checks when handling chunked decoding where a write error (or abort return from a callback) didn't stop libcurl's processing. Revision 1.1210 - (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.1209: +11 -0 lines Diff to previous 1.1209 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.1209 - (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.1208: +7 -0 lines Diff to previous 1.1208 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.1208 - (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.1207: +5 -0 lines Diff to previous 1.1207 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.1207 - (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.1206: +6 -0 lines Diff to previous 1.1206 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.1206 - (view) (download) (annotate) - [select for diffs] Wed Dec 26 21:48:52 2007 UTC (2 years, 2 months ago) by bagder Branch: MAIN Changes since 1.1205: +8 -0 lines Diff to previous 1.1205 In an attempt to repeat the problem in bug report #1850730 (http://curl.haxx.se/bug/view.cgi?id=1850730) I wrote up test case 552. The test is doing a 70K POST with a read callback and an ioctl callback over a proxy requiring Digest auth. The test case code is more or less identical to the test recipe code provided by Spacen Jasset (who submitted the bug report). Revision 1.1205 - (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.1204: +6 -0 lines Diff to previous 1.1204 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.1204 - (view) (download) (annotate) - [select for diffs] Wed Dec 19 21:19:01 2007 UTC (2 years, 3 months ago) by danf Branch: MAIN Changes since 1.1203: +3 -0 lines Diff to previous 1.1203 Ensure that nroff doesn't put anything but ASCII characters into the --manual text. Revision 1.1203 - (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.1202: +4 -0 lines Diff to previous 1.1202 (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.1202 - (view) (download) (annotate) - [select for diffs] Tue Dec 18 18:08:19 2007 UTC (2 years, 3 months ago) by yangtse Branch: MAIN Changes since 1.1201: +6 -0 lines Diff to previous 1.1201 MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP, and makes wrong asumptions of build target when it isn't specified. So, if no build target has been defined we will target WinXP when building with MSVC 9.0 (VS2008). Revision 1.1201 - (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.1200: +8 -3 lines Diff to previous 1.1200 pollfd struct and WSA_poll fixes for Windows Vista already present in CVS Revision 1.1200 - (view) (download) (annotate) - [select for diffs] Mon Dec 17 21:19:42 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.1199: +5 -0 lines Diff to previous 1.1199 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.1199 - (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.1198: +9 -0 lines Diff to previous 1.1198 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.1198 - (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.1197: +4 -0 lines Diff to previous 1.1197 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.1197 - (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.1196: +5 -0 lines Diff to previous 1.1196 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.1196 - (view) (download) (annotate) - [select for diffs] Sat Dec 8 23:01:46 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.1195: +17 -0 lines Diff to previous 1.1195 Travelling some 500km by train back and forth on the same day gives you time to do things you don't otherwise do, but here's the summary of today's work... Revision 1.1195 - (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.1194: +8 -1 lines Diff to previous 1.1194 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.1194 - (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.1193: +4 -3 lines Diff to previous 1.1193 Ray Pekowski filed bug report #1842029 Revision 1.1193 - (view) (download) (annotate) - [select for diffs] Mon Dec 3 11:48:09 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.1192: +4 -0 lines Diff to previous 1.1192 Bug report #1842029 (http://curl.haxx.se/bug/view.cgi?id=1842029) identified a problem with SSL session caching that prevent it from working, and the associated fix! Revision 1.1192 - (view) (download) (annotate) - [select for diffs] Mon Dec 3 11:39:27 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.1191: +4 -0 lines Diff to previous 1.1191 Now libcurl (built with OpenSSL) doesn't return error anymore if the remote SSL-based server doesn't present a certificate when the request is told to ignore certificate verification anyway. Revision 1.1191 - (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.1190: +7 -0 lines Diff to previous 1.1190 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.1190 - (view) (download) (annotate) - [select for diffs] Thu Nov 29 22:27:51 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.1189: +1 -1 lines Diff to previous 1.1189 uh, corrected pretty major write error! Revision 1.1189 - (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.1188: +8 -0 lines Diff to previous 1.1188 ftp resumed upload and long Digest nonces Revision 1.1188 - (view) (download) (annotate) - [select for diffs] Mon Nov 26 11:04:51 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.1187: +24 -3 lines Diff to previous 1.1187 Added recent changes and spellchecked Revision 1.1187 - (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.1186: +4 -0 lines Diff to previous 1.1186 Provide a socklen_t definition in curl.h for Win32 API build targets which don't have one. Revision 1.1186 - (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.1185: +4 -0 lines Diff to previous 1.1185 Alessandro Vesely helped me improve the --data-urlencode's syntax, parser and documentation. Revision 1.1185 - (view) (download) (annotate) - [select for diffs] Tue Nov 20 23:17:08 2007 UTC (2 years, 3 months ago) by bagder Branch: MAIN Changes since 1.1184: +11 -0 lines Diff to previous 1.1184 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.1184 - (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.1183: +8 -0 lines Diff to previous 1.1183 Introuced --data-urlencode to the curl tool for easier url encoding of the data sent in a post. Revision 1.1183 - (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.1182: +4 -0 lines Diff to previous 1.1182 Rob Crittenden fixed SSL connections with NSS done with the multi-interface Revision 1.1182 - (view) (download) (annotate) - [select for diffs] Sat Nov 17 10:22:44 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.1181: +3 -0 lines Diff to previous 1.1181 Andres Garcia made the examples build fine on Windows (mingw + msys) when the lib was built staticly. Revision 1.1181 - (view) (download) (annotate) - [select for diffs] Fri Nov 16 23:06:53 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.1180: +4 -0 lines Diff to previous 1.1180 Michal Marek made the test suite remember what test servers that fail to start so that subsequent tries are simply skipped. Revision 1.1180 - (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.1179: +7 -0 lines Diff to previous 1.1179 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.1179 - (view) (download) (annotate) - [select for diffs] Thu Nov 15 22:41:31 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.1178: +8 -0 lines Diff to previous 1.1178 Michal Marek fixed the test suite to better deal with the case when the HTTP ipv6 server can't run. Revision 1.1178 - (view) (download) (annotate) - [select for diffs] Wed Nov 14 00:48:11 2007 UTC (2 years, 4 months ago) by yangtse Branch: MAIN Changes since 1.1177: +4 -0 lines Diff to previous 1.1177 Fix a variable potential wrapping in add_buffer() when using absolutely huge send buffer sizes Revision 1.1177 - (view) (download) (annotate) - [select for diffs] Mon Nov 12 23:04:44 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.1176: +4 -0 lines Diff to previous 1.1176 Fixed a remaining problem with doing SFTP directory listings on a re-used persistent connection. Mentioned by Immanuel Gregoire on the mailing list. Revision 1.1176 - (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.1175: +10 -1 lines Diff to previous 1.1175 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.1175 - (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.1174: +7 -0 lines Diff to previous 1.1174 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.1174 - (view) (download) (annotate) - [select for diffs] Wed Nov 7 05:52:03 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.1173: +5 -0 lines Diff to previous 1.1173 Improved telnet support by drastically reducing the number of write callbacks needed to pass a buffer to the user. Instead one per byte it is now as little as one per segment. Revision 1.1173 - (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.1172: +6 -0 lines Diff to previous 1.1172 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.1172 - (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.1171: +5 -0 lines Diff to previous 1.1171 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.1171 - (view) (download) (annotate) - [select for diffs] Thu Nov 1 18:55:00 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.1170: +4 -0 lines Diff to previous 1.1170 Fixed curl-config --features to not display libz when it wasn't used due to a missing header file. Revision 1.1170 - (view) (download) (annotate) - [select for diffs] Thu Nov 1 03:09:27 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.1169: +2 -2 lines Diff to previous 1.1169 Added test case 1014 to compare curl-config --features with curl --version Revision 1.1169 - (view) (download) (annotate) - [select for diffs] Thu Nov 1 00:36:55 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.1168: +3 -0 lines Diff to previous 1.1168 Added test case 1013 to check that curl-config --protocols matches the protocols listed in curl --version Revision 1.1168 - (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.1167: +4 -0 lines Diff to previous 1.1167 Fixed the output of curl-config --protocols which showed SCP and SFTP always, except when --without-libssh2 was given Revision 1.1167 - (view) (download) (annotate) - [select for diffs] Tue Oct 30 23:00:40 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.1166: +5 -0 lines Diff to previous 1.1166 Fixed an OOM problem with file: URLs Moved Curl_file_connect into the protocol handler struct. Revision 1.1166 - (view) (download) (annotate) - [select for diffs] Mon Oct 29 22:57:31 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.1165: +4 -0 lines Diff to previous 1.1165 Added test case 546 to check that subsequent FTP transfers work after a failed one using the multi interface Revision 1.1165 - (view) (download) (annotate) - [select for diffs] Mon Oct 29 22:13:00 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.1164: +6 -0 lines Diff to previous 1.1164 Based on one of those bug reports that are intercepted by a distro's bug tracker (https://bugzilla.redhat.com/show_bug.cgi?id=316191), I now made curl-config --features and --protocols show the correct output when built with NSS. Revision 1.1164 - (view) (download) (annotate) - [select for diffs] Mon Oct 29 14:49:11 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN CVS Tags: curl-7_17_1 Changes since 1.1163: +2 -0 lines Diff to previous 1.1163 7.17.1! Revision 1.1163 - (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.1162: +3 -0 lines Diff to previous 1.1162 Added the --static-libs option to curl-config Revision 1.1162 - (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.1161: +5 -0 lines Diff to previous 1.1161 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.1161 - (view) (download) (annotate) - [select for diffs] Thu Oct 25 19:40:05 2007 UTC (2 years, 4 months ago) by patrickm Branch: MAIN Changes since 1.1160: +5 -0 lines Diff to previous 1.1160 Allow test server to handle binary POSTs. Tests 35, 544 545 added: binary data POSTs. Revision 1.1160 - (view) (download) (annotate) - [select for diffs] Thu Oct 25 14:30:51 2007 UTC (2 years, 4 months ago) by bagder Branch: MAIN Changes since 1.1159: +3 -0 lines Diff to previous 1.1159 Michal Marek fixed the test script to be able to use valgrind even when the lib is built shared with libtool. Revision 1.1159 - (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.1158: +5 -0 lines Diff to previous 1.1158 Fixed a TFTP memory leak. Enabled test 2003 to verify this. Revision 1.1158 - (view) (download) (annotate) - [select for diffs] Wed Oct 24 22:48:23 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.1157: +3 -2 lines Diff to previous 1.1157 Fixed the test TFTP server to support the >10000 test number notation Added test cases 2002 and 2003 (the latter disabled for now) Revision 1.1157 - (view) (download) (annotate) - [select for diffs] Wed Oct 24 19:40:07 2007 UTC (2 years, 4 months ago) by danf Branch: MAIN Changes since 1.1156: +8 -0 lines Diff to previous 1.1156 Added test cases 2000 and 2001 which test multiple protocols using the same easy handle Fixed the filecheck: make target to work outside the source tree Revision 1.1156 - (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.1155: +6 -0 lines Diff to previous 1.1155 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.1155 - (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.1154: +5 -0 lines Diff to previous 1.1154 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.1154 - (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.1153: +17 -0 lines Diff to previous 1.1153 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.1153 - (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.1152: +5 -0 lines Diff to previous 1.1152 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.1152 - (view) (download) (annotate) - [select for diffs] Mon Oct 15 18:32:01 2007 UTC (2 years, 5 months ago) by patrickm Branch: MAIN Changes since 1.1151: +4 -0 lines Diff to previous 1.1151 Fix dynamic CURLOPT_POSTFIELDS bug: back to static. CURLOPT_COPYPOSTFIELDS option added for dynamic. Fix some OS400 features. Revision 1.1151 - (view) (download) (annotate) - [select for diffs] Fri Oct 12 13:36:37 2007 UTC (2 years, 5 months ago) by patrickm Branch: MAIN Changes since 1.1150: +4 -0 lines Diff to previous 1.1150 Added per-protocol callback static tables, replacing callback ptr storage in the connectdata structure by a single handler table ptr. Revision 1.1150 - (view) (download) (annotate) - [select for diffs] Thu Oct 11 21:15:09 2007 UTC (2 years, 5 months ago) by danf Branch: MAIN Changes since 1.1149: +5 -0 lines Diff to previous 1.1149 Fixed the -l option of runtests.pl Added support for skipping tests based on key words. Revision 1.1149 - (view) (download) (annotate) - [select for diffs] Tue Oct 9 08:42:50 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.1148: +4 -0 lines Diff to previous 1.1148 Michal Marek removed the no longer existing return codes from the curl.1 man page. Revision 1.1148 - (view) (download) (annotate) - [select for diffs] Sun Oct 7 08:28:03 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.1147: +7 -0 lines Diff to previous 1.1147 Known bug #47, which confused libcurl if doing NTLM auth over a proxy with a response that was larger than 16KB is now improved slightly so that now the restriction at 16KB is for the headers only and it should be a rare situation where the response-headers exceed 16KB. Thus, I consider #47 fixed and the header limitation is now known as known bug #48. Revision 1.1147 - (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.1146: +4 -1 lines Diff to previous 1.1146 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.1146 - (view) (download) (annotate) - [select for diffs] Thu Oct 4 22:05:25 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.1145: +4 -0 lines Diff to previous 1.1145 The new file docs/libcurl/ABI describes how we view ABI breakages, soname bumps and what the version number's significance to all that is. Revision 1.1145 - (view) (download) (annotate) - [select for diffs] Thu Oct 4 21:26:26 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.1144: +3 -0 lines Diff to previous 1.1144 I enabled test 1009 and made the --local-port use a wide range to reduce the risk of failures. Revision 1.1144 - (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.1143: +11 -1 lines Diff to previous 1.1143 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.1143 - (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.1142: +2 -0 lines Diff to previous 1.1142 Fix issue related with the use of ares_timeout() result. Revision 1.1142 - (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.1141: +5 -0 lines Diff to previous 1.1141 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.1141 - (view) (download) (annotate) - [select for diffs] Wed Oct 3 08:07:50 2007 UTC (2 years, 5 months ago) by bagder Branch: MAIN Changes since 1.1140: +5 -0 lines Diff to previous 1.1140 I renamed the CURLE_SSL_PEER_CERTIFICATE error code to CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this return code get used by the previous SSH MD5 fingerprint check in case it fails. Revision 1.1140 - (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.1139: +7 -0 lines Diff to previous 1.1139 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.1139 - (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.1138: +3 -0 lines Diff to previous 1.1138 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.1138 - (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.1137: +6 -0 lines Diff to previous 1.1137 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.1137 - (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.1136: +3 -0 lines Diff to previous 1.1136 Immanuel Gregoire fixed a problem with persistent transfers over SFTP - the previous proto struct was kept. Revision 1.1136 - (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.1135: +4 -0 lines Diff to previous 1.1135 Adapted the c-ares code to the API change c-ares 1.5.0 brings in the notifier callback(s). Revision 1.1135 - (view) (download) (annotate) - [select for diffs] Thu Sep 27 01:45:22 2007 UTC (2 years, 5 months ago) by danf Branch: MAIN Changes since 1.1134: +4 -0 lines Diff to previous 1.1134 Enabled a few more gcc warnings with --enable-debug. Renamed a few variables to avoid shadowing global declarations. Revision 1.1134 - (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.1133: +13 -0 lines Diff to previous 1.1133 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.1133 - (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.1132: +6 -0 lines Diff to previous 1.1132 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.1132 - (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.1131: +5 -0 lines Diff to previous 1.1131 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.1131 - (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.1130: +5 -0 lines Diff to previous 1.1130 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.1130 - (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.1129: +5 -5 lines Diff to previous 1.1129 Immanuel Gregoire is the man Revision 1.1129 - (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.1128: +25 -0 lines Diff to previous 1.1128 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.1128 - (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.1127: +7 -0 lines Diff to previous 1.1127 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.1127 - (view) (download) (annotate) - [select for diffs] Mon Sep 17 21:44:57 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.1126: +7 -0 lines Diff to previous 1.1126 Changed some FTP tests to validate the format of the PORT and EPRT commands sent by curl, if not the addresses themselves. Revision 1.1126 - (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.1125: +7 -0 lines Diff to previous 1.1125 Michal Marek made libcurl automatically append ";type=<a|i>" when using HTTP proxies for FTP urls. Revision 1.1125 - (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.1124: +4 -0 lines Diff to previous 1.1124 Added LDAPS, SCP and SFTP to curl-config --protocols. Removed and fixed some AC_SUBST configure entries. Revision 1.1124 - (view) (download) (annotate) - [select for diffs] Thu Sep 13 20:22:14 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN CVS Tags: curl-7_17_0 Changes since 1.1123: +2 -0 lines Diff to previous 1.1123 Version 7.17.0 (13 September 2007) Revision 1.1123 - (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.1122: +11 -0 lines Diff to previous 1.1122 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.1122 - (view) (download) (annotate) - [select for diffs] Fri Sep 7 20:35:37 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.1121: +3 -0 lines Diff to previous 1.1121 TFTP now reports the "not defined" TFTP error code 0 as an error, not success. Revision 1.1121 - (view) (download) (annotate) - [select for diffs] Fri Sep 7 20:05:20 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.1120: +4 -0 lines Diff to previous 1.1120 Added test case 1007 to test permission problem when uploading with TFTP (to validate bug #1790403). Revision 1.1120 - (view) (download) (annotate) - [select for diffs] Wed Sep 5 21:41:07 2007 UTC (2 years, 6 months ago) by bagder Branch: MAIN Changes since 1.1119: +6 -0 lines Diff to previous 1.1119 Curl_GetFTPResponse() now checks and properly deals with the fact that the underlying ftp_readresp() function has a separate "cache" where there might in fact be leftover data... Revision 1.1119 - (view) (download) (annotate) - [select for diffs] Wed Sep 5 17:22:23 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.1118: +4 -0 lines Diff to previous 1.1118 Minix doesn't support getsockopt on UDP sockets or send/recv on TCP sockets. Revision 1.1118 - (view) (download) (annotate) - [select for diffs] Fri Aug 31 19:36:32 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.1117: +10 -0 lines Diff to previous 1.1117 Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED. Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility. Revision 1.1117 - (view) (download) (annotate) - [select for diffs] Fri Aug 31 17:56:06 2007 UTC (2 years, 6 months ago) by danf Branch: MAIN Changes since 1.1116: +4 -0 lines Diff to previous 1.1116 Made some of the error strings returned by the *strerror functions more generic, and more consistent with each other. Revision 1.1116 - (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.1115: +3 -0 lines Diff to previous 1.1115 Added more accurate error code returns from SFTP operations. Added test case 615 to test an SFTP upload failure. Revision 1.1115 - (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.1114: +49 -0 lines Diff to previous 1.1114 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.1114 - (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.1113: +8 -0 lines Diff to previous 1.1113 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.1113 - (view) (download) (annotate) - [select for diffs] Thu Aug 23 14:30:24 2007 UTC (2 years, 6 months ago) by patrickm Branch: MAIN Changes since 1.1112: +4 -0 lines Diff to previous 1.1112 Porting library to OS/400 Revision 1.1112 - (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.1111: +5 -0 lines Diff to previous 1.1111 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.1111 - (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.1110: +7 -0 lines Diff to previous 1.1110 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.1110 - (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.1109: +6 -0 lines Diff to previous 1.1109 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.1109 - (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.1108: +5 -0 lines Diff to previous 1.1108 - 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.1108 - (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.1107: +6 -0 lines Diff to previous 1.1107 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.1107 - (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.1106: +5 -0 lines Diff to previous 1.1106 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.1106 - (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.1105: +5 -0 lines Diff to previous 1.1105 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.1105 - (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.1104: +4 -0 lines Diff to previous 1.1104 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.1104 - (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.1103: +8 -0 lines Diff to previous 1.1103 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.1103 - (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.1102: +4 -0 lines Diff to previous 1.1102 Song Ma noted a zlib memory leak in the illegal compressed header countermeasures code path. Revision 1.1102 - (view) (download) (annotate) - [select for diffs] Sat Aug 4 20:47:59 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.1101: +10 -0 lines Diff to previous 1.1101 Patrick Monnerat fixed curl_easy_escape() and curlx_strtoll() to work on non-ASCII systems. Revision 1.1101 - (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.1100: +6 -0 lines Diff to previous 1.1100 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.1100 - (view) (download) (annotate) - [select for diffs] Thu Aug 2 14:09:08 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.1099: +6 -0 lines Diff to previous 1.1099 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.1099 - (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.1098: +12 -0 lines Diff to previous 1.1098 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.1098 - (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.1097: +7 -0 lines Diff to previous 1.1097 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.1097 - (view) (download) (annotate) - [select for diffs] Mon Jul 30 22:53:18 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.1096: +5 -0 lines Diff to previous 1.1096 Peter O'Gorman pointed out (and fixed) that the non-blocking check in configure made libcurl use blocking sockets on AIX 4 and 5, while that wasn't the intention. Revision 1.1096 - (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.1095: +3 -3 lines Diff to previous 1.1095 give credit to Greg Zavertnik Revision 1.1095 - (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.1094: +11 -0 lines Diff to previous 1.1094 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.1094 - (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.1093: +4 -0 lines Diff to previous 1.1093 Implemented the parts of Patrick Monnerat's OS/400 patch that introduces support for the OS/400 Secure Sockets Layer library Revision 1.1093 - (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.1092: +5 -0 lines Diff to previous 1.1092 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.1092 - (view) (download) (annotate) - [select for diffs] Sun Jul 22 10:17:52 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.1091: +27 -0 lines Diff to previous 1.1091 HTTP Digest auth fix on a re-used connection Revision 1.1091 - (view) (download) (annotate) - [select for diffs] Sun Jul 22 10:08:59 2007 UTC (2 years, 7 months ago) by bagder Branch: MAIN Changes since 1.1090: +11 -0 lines Diff to previous 1.1090 Added test case 354 that makes a simple FTP retrieval without password, which verifies the bug fix in #1757328. Revision 1.1090 - (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.1089: +2 -0 lines Diff to previous 1.1089 PWD for SFTP is fixed Revision 1.1089 - (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.1088: +8 -0 lines Diff to previous 1.1088 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.1088 - (view) (download) (annotate) - [select for diffs] Thu Jul 19 15:08:47 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.1087: +3 -0 lines Diff to previous 1.1087 libssh2 fix Revision 1.1087 - (view) (download) (annotate) - [select for diffs] Tue Jul 17 21:53:38 2007 UTC (2 years, 8 months ago) by danf Branch: MAIN Changes since 1.1086: +6 -0 lines Diff to previous 1.1086 Fixed test cases 613 and 614 by improving the log postprocessor to handle a new directory listing format that newer libssh2's can provide. This is probably NOT sufficient to handle all directory listing formats that server's can provide and should be revisited. Revision 1.1086 - (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.1085: +5 -0 lines Diff to previous 1.1085 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.1085 - (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.1084: +7 -0 lines Diff to previous 1.1084 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.1084 - (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.1083: +6 -0 lines Diff to previous 1.1083 Daniel Cater made libcurl build with CURL_NO_OLDIES defined (which doesn't define the symbols for backwards source compatibility) Revision 1.1083 - (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.1082: +3 -0 lines Diff to previous 1.1082 Made the krb5 code build with Heimdal's GSSAPI lib Revision 1.1082 - (view) (download) (annotate) - [select for diffs] Thu Jul 12 21:11:10 2007 UTC (2 years, 8 months ago) by danf Branch: MAIN Changes since 1.1081: +7 -0 lines Diff to previous 1.1081 Fixed some compile warnings and errors and improved portability in the examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer. Revision 1.1081 - (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.1080: +3 -0 lines Diff to previous 1.1080 Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation could in fact get stuck in an endless loop. Revision 1.1080 - (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.1079: +6 -0 lines Diff to previous 1.1079 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.1079 - (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.1078: +3 -0 lines Diff to previous 1.1078 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.1078 - (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.1077: +4 -0 lines Diff to previous 1.1077 Giancarlo Formicuccia reported and fixed a problem with a closed connection to a proxy during CONNECT auth negotiation. Revision 1.1077 - (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.1076: +9 -0 lines Diff to previous 1.1076 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.1076 - (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.1075: +8 -0 lines Diff to previous 1.1075 7.16.4 preps Revision 1.1075 - (view) (download) (annotate) - [select for diffs] Thu Jul 5 12:48:34 2007 UTC (2 years, 8 months ago) by jehousley Branch: MAIN Changes since 1.1074: +6 -0 lines Diff to previous 1.1074 Gavrie Philipson provided a patch that will use a more specific error message for an scp:// upload failure. If libssh2 has his matching patch, then the error message return by the server will be used instead of a more generic error. Revision 1.1074 - (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.1073: +4 -0 lines Diff to previous 1.1073 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.1073 - (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.1072: +4 -0 lines Diff to previous 1.1072 Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5 proxy Revision 1.1072 - (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.1071: +13 -0 lines Diff to previous 1.1071 reality sync Revision 1.1071 - (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.1070: +6 -0 lines Diff to previous 1.1070 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.1070 - (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.1069: +6 -0 lines Diff to previous 1.1069 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.1069 - (view) (download) (annotate) - [select for diffs] Mon Jun 25 09:18:16 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_3 Changes since 1.1068: +2 -0 lines Diff to previous 1.1068 7.16.3 Revision 1.1068 - (view) (download) (annotate) - [select for diffs] Sun Jun 24 19:32:33 2007 UTC (2 years, 8 months ago) by bagder Branch: MAIN Changes since 1.1067: +7 -0 lines Diff to previous 1.1067 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.1067 - (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.1066: +5 -0 lines Diff to previous 1.1066 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.1066 - (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.1065: +7 -0 lines Diff to previous 1.1065 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.1065 - (view) (download) (annotate) - [select for diffs] Mon Jun 18 21:09:32 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.1064: +8 -0 lines Diff to previous 1.1064 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.1064 - (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.1063: +26 -0 lines Diff to previous 1.1063 Shmulik Regev fixed a flaw in the multi interface that occurred when doing HTTP CONNECT over a proxy Revision 1.1063 - (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.1062: +8 -0 lines Diff to previous 1.1062 s/HAVE_POLL/HAVE_SYS_POLL_H Revision 1.1062 - (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.1061: +4 -0 lines Diff to previous 1.1061 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.1061 - (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.1060: +7 -0 lines Diff to previous 1.1060 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.1060 - (view) (download) (annotate) - [select for diffs] Tue Jun 12 13:51:57 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.1059: +4 -0 lines Diff to previous 1.1059 mention James current work on ssh Revision 1.1059 - (view) (download) (annotate) - [select for diffs] Fri Jun 8 18:56:05 2007 UTC (2 years, 9 months ago) by danf Branch: MAIN Changes since 1.1058: +3 -0 lines Diff to previous 1.1058 Fixed the test harness so that it actually kills the ssh being used as the SOCKS server. Revision 1.1058 - (view) (download) (annotate) - [select for diffs] Fri Jun 8 17:21:40 2007 UTC (2 years, 9 months ago) by danf Branch: MAIN Changes since 1.1057: +8 -0 lines Diff to previous 1.1057 Incorporated Daniel Black's test706 and test707 SOCKS test cases. Revision 1.1057 - (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.1056: +8 -0 lines Diff to previous 1.1056 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.1056 - (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.1055: +10 -0 lines Diff to previous 1.1055 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.1055 - (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.1054: +4 -0 lines Diff to previous 1.1054 Feng Tu made (lib)curl support "upload" resuming work for file:// URLs. Revision 1.1054 - (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.1053: +4 -0 lines Diff to previous 1.1053 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.1053 - (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.1052: +6 -0 lines Diff to previous 1.1052 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.1052 - (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.1051: +6 -0 lines Diff to previous 1.1051 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.1051 - (view) (download) (annotate) - [select for diffs] Thu May 24 21:11:18 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.1050: +4 -0 lines Diff to previous 1.1050 Song Ma filed bug report #1724016 (http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading glob-ranges for TFTP was broken in CVS. Revision 1.1050 - (view) (download) (annotate) - [select for diffs] Thu May 24 20:58:26 2007 UTC (2 years, 9 months ago) by bagder Branch: MAIN Changes since 1.1049: +6 -0 lines Diff to previous 1.1049 'mytx' in bug report #1723194 (http://curl.haxx.se/bug/view.cgi?id=1723194) pointed out that the warnf() function in the curl tool didn't properly deal with the cases when excessively long words were used in the string to chop up. Revision 1.1049 - (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.1048: +1 -1 lines Diff to previous 1.1048 Andre Guibert de Bruet fixed a memory leak when PKCS #12 parsing failed Revision 1.1048 - (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.1047: +10 -4 lines Diff to previous 1.1047 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.1047 - (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.1046: +7 -0 lines Diff to previous 1.1046 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.1046 - (view) (download) (annotate) - [select for diffs] Thu May 17 21:41:02 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.1045: +1 -1 lines Diff to previous 1.1045 they spell five with a v... Revision 1.1045 - (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.1044: +4 -0 lines Diff to previous 1.1044 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.1044 - (view) (download) (annotate) - [select for diffs] Thu May 17 06:04:44 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.1043: +3 -0 lines Diff to previous 1.1043 Added support for compiling under Minix 3.1.3 using ACK. Revision 1.1043 - (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.1042: +8 -0 lines Diff to previous 1.1042 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.1042 - (view) (download) (annotate) - [select for diffs] Mon May 14 22:03:42 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.1041: +3 -0 lines Diff to previous 1.1041 Added SFTP directory listing test case 613. Revision 1.1041 - (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.1040: +4 -0 lines Diff to previous 1.1040 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.1040 - (view) (download) (annotate) - [select for diffs] Tue May 8 22:14:30 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.1039: +3 -0 lines Diff to previous 1.1039 Added FTPS test cases 406 and 407 Revision 1.1039 - (view) (download) (annotate) - [select for diffs] Tue May 8 11:34:31 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.1038: +7 -0 lines Diff to previous 1.1038 CURLE_FTP_COULDNT_STOR_FILE is now known as CURLE_UPLOAD_FAILED. This is because I just made SCP uploads return this value if the file size of the upload file isn't given with CURLOPT_INFILESIZE*. Docs updated to reflect this news, and a define for the old name was added to the public header file. Revision 1.1038 - (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.1037: +4 -0 lines Diff to previous 1.1037 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.1037 - (view) (download) (annotate) - [select for diffs] Sun May 6 08:14:42 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.1036: +6 -0 lines Diff to previous 1.1036 extended the description for the curl_multi_socket_action() change Revision 1.1036 - (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.1035: +6 -0 lines Diff to previous 1.1035 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.1035 - (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.1034: +6 -0 lines Diff to previous 1.1034 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.1034 - (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.1033: +3 -0 lines Diff to previous 1.1033 - Jeff Pohlmeyer improved the hiperfifo.c example to use the CURLMOPT_TIMERFUNCTION callback option. Revision 1.1033 - (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.1032: +7 -0 lines Diff to previous 1.1032 - 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.1032 - (view) (download) (annotate) - [select for diffs] Wed May 2 13:14:56 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.1031: +0 -1090 lines Diff to previous 1.1031 Merged _all_ old changelogs into the single CHANGES.0 file. Having a new one for every year is giving us too many files! I also split out the changes from 2006 from CHANGES to CHANGES.0 now. Revision 1.1031 - (view) (download) (annotate) - [select for diffs] Mon Apr 30 20:15:33 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.1030: +5 -0 lines Diff to previous 1.1030 Improved the test harness to allow running test servers on other than the default port numbers, allowing more than one test suite to run simultaneously on the same host. Revision 1.1030 - (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.1029: +5 -0 lines Diff to previous 1.1029 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.1029 - (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.1028: +6 -0 lines Diff to previous 1.1028 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.1028 - (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.1027: +6 -0 lines Diff to previous 1.1027 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.1027 - (view) (download) (annotate) - [select for diffs] Wed Apr 25 23:18:52 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.1026: +5 -0 lines Diff to previous 1.1026 Added support in runtests.pl for "!n" test numbers to disable individual tests. Revision 1.1026 - (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.1025: +7 -0 lines Diff to previous 1.1025 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.1025 - (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.1024: +3 -0 lines Diff to previous 1.1024 Steve Little's fixes to allow compilation on VMS 64-bit mode Revision 1.1024 - (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.1023: +5 -0 lines Diff to previous 1.1023 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.1023 - (view) (download) (annotate) - [select for diffs] Mon Apr 23 23:00:38 2007 UTC (2 years, 10 months ago) by danf Branch: MAIN Changes since 1.1022: +5 -0 lines Diff to previous 1.1022 Added tests 610-612 to test more SFTP post-quote commands. Revision 1.1022 - (view) (download) (annotate) - [select for diffs] Sun Apr 22 09:31:27 2007 UTC (2 years, 10 months ago) by bagder Branch: MAIN Changes since 1.1021: +9 -0 lines Diff to previous 1.1021 - Song Ma's warning if -r/--range is given with a "bad" range, also noted in the man page now. Revision 1.1021 - (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.1020: +6 -0 lines Diff to previous 1.1020 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.1020 - (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.1019: +6 -0 lines Diff to previous 1.1019 - 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.1019 - (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.1018: +2 -0 lines Diff to previous 1.1018 - James Housley made SFTP uploads use libssh2's non-blocking API (if available) Revision 1.1018 - (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.1017: +4 -0 lines Diff to previous 1.1017 - Prevent the internal progress meter from updating more frequently than once per second. Revision 1.1017 - (view) (download) (annotate) - [select for diffs] Wed Apr 18 06:30:28 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.1016: +3 -0 lines Diff to previous 1.1016 Added test cases 296, 297 and 298 to test --ftp-method handling Revision 1.1016 - (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.1015: +8 -0 lines Diff to previous 1.1015 - 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.1015 - (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.1014: +4 -0 lines Diff to previous 1.1014 Jay Austin added "DH PARAMETERS" to the stunnel.pem certificate Revision 1.1014 - (view) (download) (annotate) - [select for diffs] Fri Apr 13 20:59:15 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.1013: +5 -0 lines Diff to previous 1.1013 Added test cases 294 and 295 to test --ftp-account handling Revision 1.1013 - (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.1012: +5 -0 lines Diff to previous 1.1012 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.1012 - (view) (download) (annotate) - [select for diffs] Thu Apr 12 20:09:19 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.1011: +6 -0 lines Diff to previous 1.1011 Song Ma found a memory leak in the if2ip code if you pass in an interface name longer than the name field of the ifreq struct (typically 6 bytes), as then it wouldn't close the used dummy socket. Revision 1.1011 - (view) (download) (annotate) - [select for diffs] Wed Apr 11 13:12:33 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN CVS Tags: curl-7_16_2 Changes since 1.1010: +2 -0 lines Diff to previous 1.1010 7.16.2 Revision 1.1010 - (view) (download) (annotate) - [select for diffs] Tue Apr 10 20:46:40 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.1009: +2 -0 lines Diff to previous 1.1009 Ravi Pratap provided fixes for HTTP pipelining Revision 1.1009 - (view) (download) (annotate) - [select for diffs] Tue Apr 10 19:09:10 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.1008: +3 -0 lines Diff to previous 1.1008 configure script will ignore --enable-sspi option for non-native Windows Revision 1.1008 - (view) (download) (annotate) - [select for diffs] Sun Apr 8 22:44:21 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.1007: +3 -0 lines Diff to previous 1.1007 Nick Zitzmann did ssh.c cleanups Revision 1.1007 - (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.1006: +3 -0 lines Diff to previous 1.1006 Rob Jones fixed better #ifdef'ing for a bunch of #include lines. Revision 1.1006 - (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.1005: +37 -0 lines Diff to previous 1.1005 Nick Zitzmann made CURLOPT_POSTQUOTE work for SFTP as well. Revision 1.1005 - (view) (download) (annotate) - [select for diffs] Sun Apr 1 08:24:23 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.1004: +4 -0 lines Diff to previous 1.1004 Robert Iakobashvili made curl_multi_remove_handle() a lot faster when many easy handles are added to a multi handle, by avoiding the looping over all the handles to find which one to remove. Revision 1.1004 - (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.1003: +3 -0 lines Diff to previous 1.1003 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.1003 - (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.1002: +6 -0 lines Diff to previous 1.1002 "Pixel" fixed a problem that appeared when you used -f with user+password embedded in the URL. Revision 1.1002 - (view) (download) (annotate) - [select for diffs] Fri Mar 30 01:13:47 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.1001: +9 -0 lines Diff to previous 1.1001 Don't tear down the ftp connection if the maximum filesize was exceeded and added tests 290 and 291 to check. Revision 1.1001 - (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.1000: +4 -0 lines Diff to previous 1.1000 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.1000 - (view) (download) (annotate) - [select for diffs] Mon Mar 26 23:26:07 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.999: +1 -1 lines Diff to previous 1.999 Fix date Revision 1.999 - (view) (download) (annotate) - [select for diffs] Mon Mar 26 23:23:46 2007 UTC (2 years, 11 months ago) by yangtse Branch: MAIN Changes since 1.998: +3 -0 lines Diff to previous 1.998 Internal function Curl_select() renamed to Curl_socket_ready() Revision 1.998 - (view) (download) (annotate) - [select for diffs] Sun Mar 25 08:16:16 2007 UTC (2 years, 11 months ago) by bagder Branch: MAIN Changes since 1.997: +4 -0 lines Diff to previous 1.997 - Daniel Johnson fixed multi code to traverse the easy handle list properly. A left-over bug from the February 21 fix. Revision 1.997 - (view) (download) (annotate) - [select for diffs] Sat Mar 24 02:15:20 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.996: +2 -0 lines Diff to previous 1.996 Fixed a memory leak when specifying a proxy with a file: URL and added test case 288 to verify it. Revision 1.996 - (view) (download) (annotate) - [select for diffs] Sat Mar 24 01:01:28 2007 UTC (2 years, 11 months ago) by danf Branch: MAIN Changes since 1.995: +6 -0 lines Diff to previous 1.995 Changed the test harness to attempt to gracefully shut down servers before resorting to the kill -9 hammer. Added test harness infrastructure to support scp/sftp tests, using OpenSSH as the server. Revision 1.995 - (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.994: +4 -0 lines Diff to previous 1.994 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.994 - (view) (download) (annotate) - [select for diffs] Tue Mar 20 20:00:40 2007 UTC (3 years ago) by yangtse Branch: MAIN Changes since 1.993: +13 -0 lines Diff to previous 1.993 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.993 - (view) (download) (annotate) - [select for diffs] Mon Mar 19 12:02:33 2007 UTC (3 years ago) by yangtse Branch: MAIN Changes since 1.992: +4 -0 lines Diff to previous 1.992 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.992 - (view) (download) (annotate) - [select for diffs] Thu Mar 15 22:29:10 2007 UTC (3 years ago) by danf Branch: MAIN Changes since 1.991: +3 -0 lines Diff to previous 1.991 Various memory leaks plugged and NULL pointer fixes made in the ssh code. Revision 1.991 - (view) (download) (annotate) - [select for diffs] Thu Mar 15 22:05:01 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.990: +4 -0 lines Diff to previous 1.990 - Nick made the curl tool accept globbing ranges that only is one number, i.e you can now use [1-1] without curl complaining. Revision 1.990 - (view) (download) (annotate) - [select for diffs] Sun Mar 11 09:11:29 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.989: +0 -22 lines Diff to previous 1.989 reverted the pselect patch => http://curl.haxx.se/mail/lib-2007-03/0100.html Revision 1.989 - (view) (download) (annotate) - [select for diffs] Sat Mar 10 22:51:20 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.988: +20 -0 lines Diff to previous 1.988 Eygene Ryabinkin fixed a use-after-free issue with HTTP transfers with the multi interface Revision 1.988 - (view) (download) (annotate) - [select for diffs] Sat Mar 10 12:11:21 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.987: +23 -0 lines Diff to previous 1.987 - 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.987 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 23:39:42 2007 UTC (3 years ago) by danf Branch: MAIN Changes since 1.986: +5 -0 lines Diff to previous 1.986 Updated the test harness to add a new "crypto" feature check and updated the appropriate test case to use it. For now, this is treated the same as the "SSL" feature because curl doesn't list it separately. Revision 1.986 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 22:48:07 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.985: +2 -0 lines Diff to previous 1.985 - Robert Iakobashvili fixed CURLOPT_INTERFACE for IPv6. Revision 1.985 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 22:26:59 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.984: +3 -0 lines Diff to previous 1.984 - Robert A. Monat improved the maketgz and VC6/8 generating to set the correct machine type too. Revision 1.984 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 21:51:38 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.983: +5 -0 lines Diff to previous 1.983 - 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.983 - (view) (download) (annotate) - [select for diffs] Fri Mar 9 21:01:39 2007 UTC (3 years ago) by danf Branch: MAIN Changes since 1.982: +4 -0 lines Diff to previous 1.982 Updated the test harness to check for protocol support before running each test, fixing KNOWN_BUGS #11. Fixed some tests to more accurately specify their required servers and features. Revision 1.982 - (view) (download) (annotate) - [select for diffs] Thu Mar 8 19:50:32 2007 UTC (3 years ago) by danf Branch: MAIN Changes since 1.981: +8 -0 lines Diff to previous 1.981 Added SSL as a required feature for test case 400. Revision 1.981 - (view) (download) (annotate) - [select for diffs] Wed Mar 7 22:42:05 2007 UTC (3 years ago) by danf Branch: MAIN Changes since 1.980: +8 -0 lines Diff to previous 1.980 Honour --ftp-ssl-control on ftps:// URLs to allow encrypted control and unencrypted data connections. Revision 1.980 - (view) (download) (annotate) - [select for diffs] Fri Mar 2 22:42:43 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.979: +9 -0 lines Diff to previous 1.979 - 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.979 - (view) (download) (annotate) - [select for diffs] Tue Feb 27 22:12:15 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.978: +14 -0 lines Diff to previous 1.978 - 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.978 - (view) (download) (annotate) - [select for diffs] Sun Feb 25 11:38:13 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.977: +5 -0 lines Diff to previous 1.977 - 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.977 - (view) (download) (annotate) - [select for diffs] Fri Feb 23 09:48:01 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.976: +5 -0 lines Diff to previous 1.976 - Added warning outputs if the command line uses more than one of the options -v, --trace and --trace-ascii, since it could really confuse the user. Clarified this fact in the man page. Revision 1.976 - (view) (download) (annotate) - [select for diffs] Wed Feb 21 21:59:40 2007 UTC (3 years ago) by bagder Branch: MAIN Changes since 1.975: +17 -0 lines Diff to previous 1.975 - 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.975 - (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.974: +2 -0 lines Diff to previous 1.974 Ian Turner fixed the libcurl.m4 macro's support for --with-libcurl. AC_PATH_PROG was not used properly. Revision 1.974 - (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.973: +3 -0 lines Diff to previous 1.973 - Shmulik Regev found a memory leak in re-used HTTPS connections, at least when the multi interface was used. Revision 1.973 - (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.972: +4 -0 lines Diff to previous 1.972 - Robson Braga Araujo made passive FTP transfers work with SOCKS (both 4 and 5). Revision 1.972 - (view) (download) (annotate) - [select for diffs] Sun Feb 18 23:02:42 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.971: +9 -0 lines Diff to previous 1.971 - 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.971 - (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.970: +4 -0 lines Diff to previous 1.970 - 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.970 - (view) (download) (annotate) - [select for diffs] Wed Feb 14 18:13:16 2007 UTC (3 years, 1 month ago) by danf Branch: MAIN Changes since 1.969: +5 -0 lines Diff to previous 1.969 Don't bother adding a library path of /usr/lib in curl-config --libs Revision 1.969 - (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.968: +3 -0 lines Diff to previous 1.968 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.968 - (view) (download) (annotate) - [select for diffs] Tue Feb 13 21:21:44 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.967: +5 -0 lines Diff to previous 1.967 - Robert A. Monat made libcurl build fine with VC2005 - it doesn't have gmtime_r() like the older VC versions. He also made use of some machine- specific defines to differentiate the "OS" define. Revision 1.967 - (view) (download) (annotate) - [select for diffs] Mon Feb 12 22:41:43 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.966: +4 -0 lines Diff to previous 1.966 mention today's LIBCURL_TIMESTAMP fix Revision 1.966 - (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.965: +5 -0 lines Diff to previous 1.965 Rob Crittenden added support for NSS (Network Security Service) for the SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/ Revision 1.965 - (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.964: +9 -0 lines Diff to previous 1.964 - 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.964 - (view) (download) (annotate) - [select for diffs] Mon Feb 12 12:15:41 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.963: +4 -0 lines Diff to previous 1.963 - Jeff Pohlmeyer fixed a flaw in curl_multi_add_handle() when adding a handle that has an easy handle present in the "closure" list pending closure. Revision 1.963 - (view) (download) (annotate) - [select for diffs] Tue Feb 6 16:07:15 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.962: +6 -0 lines Diff to previous 1.962 non-blocking SSH stuff Revision 1.962 - (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.961: +13 -0 lines Diff to previous 1.961 - 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.961 - (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.960: +8 -0 lines Diff to previous 1.960 - 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.960 - (view) (download) (annotate) - [select for diffs] Mon Jan 29 14:53:01 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN CVS Tags: curl-7_16_1 Changes since 1.959: +2 -0 lines Diff to previous 1.959 release time Revision 1.959 - (view) (download) (annotate) - [select for diffs] Mon Jan 29 09:26:36 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.958: +5 -0 lines Diff to previous 1.958 - 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.958 - (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.957: +2 -0 lines Diff to previous 1.957 curl_easy_reset() now resets the CA bundle path correctly Revision 1.957 - (view) (download) (annotate) - [select for diffs] Sat Jan 27 23:02:17 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.956: +4 -0 lines Diff to previous 1.956 - David McCreedy fixed the Curl command line tool for HTTP on non-ASCII platforms. Revision 1.956 - (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.955: +6 -0 lines Diff to previous 1.955 - 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.955 - (view) (download) (annotate) - [select for diffs] Thu Jan 25 01:35:43 2007 UTC (3 years, 1 month ago) by danf Branch: MAIN Changes since 1.954: +5 -0 lines Diff to previous 1.954 Fixed a dangling pointer problem that prevented the http_proxy environment variable from being properly used in many cases (and caused test case 63 to fail). Revision 1.954 - (view) (download) (annotate) - [select for diffs] Tue Jan 23 22:57:42 2007 UTC (3 years, 1 month ago) by bagder Branch: MAIN Changes since 1.953: +26 -0 lines Diff to previous 1.953 - David McCreedy did NTLM changes mainly for non-ASCII platforms: #1 There's a compilation error in http_ntlm.c if USE_NTLM2SESSION is NOT defined. I noticed this while testing various configurations. Line 867 of the current http_ntlm.c is a closing bracket for an if/else pair that only gets compiled in if USE_NTLM2SESSION is defined. But this closing bracket wasn't in an #ifdef so the code fails to compile unless USE_NTLM2SESSION was defined. Lines 198 and 140 of my patch wraps that closing bracket in an #ifdef USE_NTLM2SESSION. #2 I noticed several picky compiler warnings when DEBUG_ME is defined. I've fixed them with casting. By the way, DEBUG_ME was a huge help in understanding this code. #3 Hopefully the last non-ASCII conversion patch for libcurl in a while. I changed the "NTLMSSP" literal to hex since this signature must always be in ASCII. Conversion code was strategically added where necessary. And the Curl_base64_encode calls were changed so the binary "blobs" http_ntlm.c creates are NOT translated on non-ASCII platforms. Revision 1.953 - (view) (download) (annotate) - [select for diffs] Tue Jan 23 02:29:31 2007 UTC (3 years, 1 month ago) by danf Branch: MAIN Changes since 1.952: +6 -0 lines Diff to previous 1.952 Convert (most of) the test data files into genuine XML. A handful still are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools. Revision 1.952 - (view) (download) (annotate) - [select for diffs] Tue Jan 16 22:22:10 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.951: +6 -0 lines Diff to previous 1.951 - 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.951 - (view) (download) (annotate) - [select for diffs] Tue Jan 16 18:33:25 2007 UTC (3 years, 2 months ago) by danf Branch: MAIN Changes since 1.950: +5 -0 lines Diff to previous 1.950 Fixed a small memory leak in tftp uploads discovered by curl's memory leak detector. Also changed tftp downloads to URL-unescape the downloaded file name. Revision 1.950 - (view) (download) (annotate) - [select for diffs] Sun Jan 14 14:57:51 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.949: +5 -0 lines Diff to previous 1.949 - 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.949 - (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.948: +9 -0 lines Diff to previous 1.948 4GB download and cookielist "ALL" fixes Revision 1.948 - (view) (download) (annotate) - [select for diffs] Fri Jan 5 23:11:14 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.947: +6 -0 lines Diff to previous 1.947 - 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.947 - (view) (download) (annotate) - [select for diffs] Wed Jan 3 23:04:38 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.946: +4 -0 lines Diff to previous 1.946 - David McCreedy made changes to allow base64 encoding/decoding to work on non-ASCII platforms. Revision 1.946 - (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.945: +6 -0 lines Diff to previous 1.945 - 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.945 - (view) (download) (annotate) - [select for diffs] Tue Jan 2 22:34:56 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.944: +10 -0 lines Diff to previous 1.944 - 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.944 - (view) (download) (annotate) - [select for diffs] Tue Jan 2 12:14:21 2007 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.943: +6 -0 lines Diff to previous 1.943 - Modified libcurl.pc.in to use Libs.private for the libs libcurl itself needs to get built static. It has been mentioned before and was again brought to our attention by Nathanael Nerode who filed debian bug report #405226 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405226). Revision 1.943 - (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.942: +3 -0 lines Diff to previous 1.942 curl_easy_duphandle() sets the magic number in the new handle Revision 1.942 - (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.941: +6 -0 lines Diff to previous 1.941 - 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.941 - (view) (download) (annotate) - [select for diffs] Fri Dec 22 13:30:54 2006 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.940: +3 -0 lines Diff to previous 1.940 - David McCreedy fixed a bad call to getsockname() that wrongly used a size_t variable to point to when it should be a socklen_t. Revision 1.940 - (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.939: +5 -0 lines Diff to previous 1.939 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.939 - (view) (download) (annotate) - [select for diffs] Thu Dec 21 10:15:38 2006 UTC (3 years, 2 months ago) by bagder Branch: MAIN Changes since 1.938: +13 -0 lines Diff to previous 1.938 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.938 - (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.937: +4 -0 lines Diff to previous 1.937 Brendan Jurd provided a fix that now prevents libcurl from getting a SIGPIPE during certain conditions when GnuTLS is used. Revision 1.937 - (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.936: +11 -0 lines Diff to previous 1.936 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.936 - (view) (download) (annotate) - [select for diffs] Wed Dec 6 09:37:40 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.935: +9 -0 lines Diff to previous 1.935 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.935 - (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.934: +6 -0 lines Diff to previous 1.934 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.934 - (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.933: +6 -0 lines Diff to previous 1.933 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.933 - (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.932: +5 -0 lines Diff to previous 1.932 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.932 - (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.931: +3 -0 lines Diff to previous 1.931 CURLOPT_FORBID_REUSE works again with a cleaned up order of doing things in Curl_done() Revision 1.931 - (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.930: +5 -0 lines Diff to previous 1.930 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.930 - (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.929: +16 -0 lines Diff to previous 1.929 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.929 - (view) (download) (annotate) - [select for diffs] Tue Dec 5 13:37:05 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.928: +13 -0 lines Diff to previous 1.928 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.928 - (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.927: +6 -0 lines Diff to previous 1.927 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.927 - (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.926: +13 -0 lines Diff to previous 1.926 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.926 - (view) (download) (annotate) - [select for diffs] Fri Nov 24 22:14:39 2006 UTC (3 years, 3 months ago) by bagder Branch: MAIN Changes since 1.925: +3 -0 lines Diff to previous 1.925 James Housley did lots of work and introduced SFTP downloads. Revision 1.925 - (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.924: +5 -0 lines Diff to previous 1.924 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.924 - (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.923: +4 -0 lines Diff to previous 1.923 Nir Soffer updated libcurl.framework.make: fix symlinks, should link to Versions, not to ./Versions and indentation improvments Revision 1.923 - (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.922: +4 -0 lines Diff to previous 1.922 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.922 - (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.921: +5 -0 lines Diff to previous 1.921 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.921 - (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.920: +5 -0 lines Diff to previous 1.920 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.920 - (view) (download) (annotate) - [select for diffs] Tue Nov 7 14:07:02 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.919: +4 -0 lines Diff to previous 1.919 Olaf fixed a leftover problem with the CONNECT fix of his that would leave a wrong error message in the error message buffer. Revision 1.919 - (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.918: +7 -0 lines Diff to previous 1.918 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.918 - (view) (download) (annotate) - [select for diffs] Thu Nov 2 22:10:18 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.917: +6 -0 lines Diff to previous 1.917 mention the new options Revision 1.917 - (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.916: +4 -0 lines Diff to previous 1.916 James Housley brought support for SCP transfers Revision 1.916 - (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.915: +2 -0 lines Diff to previous 1.915 7.16.0 material Revision 1.915 - (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.914: +13 -0 lines Diff to previous 1.914 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.914 - (view) (download) (annotate) - [select for diffs] Mon Oct 23 20:34:56 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.913: +4 -0 lines Diff to previous 1.913 Ravi Pratap provided a major update with pipelining fixes. We also no longer re-use connections (for pipelining) before the name resolving is done. Revision 1.913 - (view) (download) (annotate) - [select for diffs] Sat Oct 21 11:40:04 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.912: +4 -0 lines Diff to previous 1.912 Nir Soffer made the tests/libtest/Makefile.am use a proper variable for all the single test applications' link and dependences, so that you easier can override those from the command line when using make. Revision 1.912 - (view) (download) (annotate) - [select for diffs] Sat Oct 21 11:32:05 2006 UTC (3 years, 4 months ago) by bagder Branch: MAIN Changes since 1.911: +5 -0 lines Diff to previous 1.911 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.911 - (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.910: +19 -0 lines Diff to previous 1.910 changes done the last few days Revision 1.910 - (view) (download) (annotate) - [select for diffs] Mon Oct 16 08:30:54 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.909: +8 -0 lines Diff to previous 1.909 Added a check in configure that simply tries to run a program (not when cross-compiling) in order to detect problems with run-time libraries that otherwise would occur when the sizeof tests for curl_off_t would run and thus be much more confusing to users. The check of course should run after all lib-checks are done and before any other test is used that would run an executable built for testing-purposes. Revision 1.909 - (view) (download) (annotate) - [select for diffs] Fri Oct 13 21:02:27 2006 UTC (3 years, 5 months ago) by danf Branch: MAIN Changes since 1.908: +7 -0 lines Diff to previous 1.908 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.908 - (view) (download) (annotate) - [select for diffs] Thu Oct 12 14:30:47 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.907: +3 -0 lines Diff to previous 1.907 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.907 - (view) (download) (annotate) - [select for diffs] Thu Oct 12 08:36:47 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.906: +14 -0 lines Diff to previous 1.906 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.906 - (view) (download) (annotate) - [select for diffs] Mon Oct 9 06:58:05 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.905: +7 -2 lines Diff to previous 1.905 Bogdan Nicula's second test case (posted Sun, 08 Oct 2006) converted to test case 535 and it now runs fine. Again a problem with the pipelining code not taking all possible (error) conditions into account. Revision 1.905 - (view) (download) (annotate) - [select for diffs] Fri Oct 6 21:19:57 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.904: +4 -0 lines Diff to previous 1.904 Bogdan Nicula's hanging test case was converted to test case 533 and the test now runs fine. Revision 1.904 - (view) (download) (annotate) - [select for diffs] Wed Oct 4 21:11:08 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.903: +5 -0 lines Diff to previous 1.903 Dmitriy Sergeyev provided an example source code that crashed CVS libcurl but that worked nicely in 7.15.5. I converted it into test case 532 and fixed the problem. Revision 1.903 - (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.902: +21 -0 lines Diff to previous 1.902 Support for FTP third party transfers is now dropped Revision 1.902 - (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.901: +12 -0 lines Diff to previous 1.901 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.901 - (view) (download) (annotate) - [select for diffs] Sun Sep 24 22:03:01 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.900: +2 -0 lines Diff to previous 1.900 Bernard Leak fixed configure --with-gssapi-libs Revision 1.900 - (view) (download) (annotate) - [select for diffs] Sun Sep 24 10:41:00 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.899: +4 -0 lines Diff to previous 1.899 Cory Nelson made libcurl use the WSAPoll() function if built for Windows Vista (_WIN32_WINNT >= 0x0600) Revision 1.899 - (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.898: +3 -0 lines Diff to previous 1.898 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.898 - (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.897: +5 -0 lines Diff to previous 1.897 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.897 - (view) (download) (annotate) - [select for diffs] Thu Sep 21 20:52:58 2006 UTC (3 years, 5 months ago) by bagder Branch: MAIN Changes since 1.896: +6 -0 lines Diff to previous 1.896 (FTP) a failed upload does not invalidate the control connection Revision 1.896 - (view) (download) (annotate) - [select for diffs] Wed Sep 20 21:49:41 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.895: +5 -0 lines Diff to previous 1.895 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.895 - (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.894: +5 -0 lines Diff to previous 1.894 stuff we do Revision 1.894 - (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.893: +8 -0 lines Diff to previous 1.893 - 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.893 - (view) (download) (annotate) - [select for diffs] Sun Sep 10 22:15:57 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.892: +16 -0 lines Diff to previous 1.892 curl_multi_socket() fix thanks to Jeff's test code Revision 1.892 - (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.891: +3 -0 lines Diff to previous 1.891 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.891 - (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.890: +4 -0 lines Diff to previous 1.890 Peter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some of them can be completetly removed though... Revision 1.890 - (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.889: +19 -0 lines Diff to previous 1.889 Major overhaul introducing http pipelining support and shared connection cache within the multi handle. Revision 1.889 - (view) (download) (annotate) - [select for diffs] Mon Sep 4 06:17:55 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_6-prepipeline Changes since 1.888: +5 -5 lines Diff to previous 1.888 proper credit Revision 1.888 - (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.887: +7 -0 lines Diff to previous 1.887 - "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.887 - (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.886: +4 -0 lines Diff to previous 1.886 Dmitriy Sergeyev found and fixed a multi interface flaw when using asynch name resolves. It could get stuck in the wrong state. Revision 1.886 - (view) (download) (annotate) - [select for diffs] Wed Aug 30 12:10:30 2006 UTC (3 years, 6 months ago) by giva Branch: MAIN Changes since 1.885: +14 -7 lines Diff to previous 1.885 Added support for more MS-DOS compilers. Revision 1.885 - (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.884: +4 -0 lines Diff to previous 1.884 David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to allow applications to set their own socket options. Revision 1.884 - (view) (download) (annotate) - [select for diffs] Fri Aug 25 13:53:20 2006 UTC (3 years, 6 months ago) by bagder Branch: MAIN Changes since 1.883: +5 -0 lines Diff to previous 1.883 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.883 - (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.882: +2 -0 lines Diff to previous 1.882 David McCreedy fixed a remaining mistake from the August 19 TYPE change. Revision 1.882 - (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.881: +4 -0 lines Diff to previous 1.881 Peter Sylvester pointed out a flaw in the AllowServerConnect() in the FTP code when doing pure ipv6 EPRT connections. Revision 1.881 - (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.880: +3 -0 lines Diff to previous 1.880 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.880 - (view) (download) (annotate) - [select for diffs] Fri Aug 18 23:17:33 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.879: +3 -0 lines Diff to previous 1.879 Armel Asselin fixed a crash in the FTP code when using SINGLECWD mode and files in the root directory. Revision 1.879 - (view) (download) (annotate) - [select for diffs] Fri Aug 18 22:54:57 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.878: +9 -1 lines Diff to previous 1.878 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.878 - (view) (download) (annotate) - [select for diffs] Tue Aug 8 22:56:46 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.877: +7 -1 lines Diff to previous 1.877 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.877 - (view) (download) (annotate) - [select for diffs] Tue Aug 8 21:12:49 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.876: +11 -0 lines Diff to previous 1.876 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.876 - (view) (download) (annotate) - [select for diffs] Mon Aug 7 06:32:35 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN CVS Tags: curl-7_15_5 Changes since 1.875: +2 -0 lines Diff to previous 1.875 release time for 7.15.5 Revision 1.875 - (view) (download) (annotate) - [select for diffs] Wed Aug 2 18:18:47 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.874: +5 -0 lines Diff to previous 1.874 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.874 - (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.873: +6 -1 lines Diff to previous 1.873 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.873 - (view) (download) (annotate) - [select for diffs] Sun Jul 30 22:44:07 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.872: +11 -0 lines Diff to previous 1.872 curl_multi_socket() and curl_multi_socket_all() got modified prototypes: they both now provide the number of running handles back to the calling function. Revision 1.872 - (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.871: +5 -0 lines Diff to previous 1.871 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.871 - (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.870: +4 -0 lines Diff to previous 1.870 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.870 - (view) (download) (annotate) - [select for diffs] Wed Jul 26 22:19:42 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.869: +16 -0 lines Diff to previous 1.869 [Hiper-related work] Added a function called curl_multi_assign() that will set a private pointer added to the internal libcurl hash table for the particular socket passed in to this function. Revision 1.869 - (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.868: +4 -0 lines Diff to previous 1.868 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.868 - (view) (download) (annotate) - [select for diffs] Tue Jul 25 22:06:42 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.867: +4 -0 lines Diff to previous 1.867 Michael Jerris added magic that builds lib/curllib.vcproj automatically (for newer MSVC versions) Revision 1.867 - (view) (download) (annotate) - [select for diffs] Tue Jul 25 18:38:51 2006 UTC (3 years, 7 months ago) by bagder Branch: MAIN Changes since 1.866: +3 -0 lines Diff to previous 1.866 Georg Horn made the transfer timeout error message include more details Revision 1.866 - (view) (download) (annotate) - [select for diffs] Thu Jul 20 20:04:52 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.865: +4 -0 lines Diff to previous 1.865 David McCreedy fixed a build error when building libcurl with HTTP disabled, problem added with the curl_formget() patch. Revision 1.865 - (view) (download) (annotate) - [select for diffs] Mon Jul 17 18:35:58 2006 UTC (3 years, 8 months ago) by bagder Branch: MAIN Changes since 1.864: +7 -0 lines Diff to previous 1.864 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.864 - (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.863: +4 -0 lines Diff to previous 1.863 David McCreedy fixed a flaw where the CRLF counter wasn't properly cleared for FTP ASCII transfers. Revision 1.863 - (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.862: +4 -0 lines Diff to previous 1.862 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.862 - (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.861: +12 -0 lines Diff to previous 1.861 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.861 - (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.860: +4 -0 lines Diff to previous 1.860 Toshiyuki Maezawa fixed a problem where you couldn't override the Proxy-Connection: header when using a proxy and not doing CONNECT. Revision 1.860 - (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.859: +4 -0 lines Diff to previous 1.859 Michael Wallner added curl_formget(), which allows an application to extract (serialise) a previously built formpost (as with curl_formadd()). Revision 1.859 - (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.858: +5 -0 lines Diff to previous 1.858 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.858 - (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.857: +10 -0 lines Diff to previous 1.857 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.857 - (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.856: +9 -0 lines Diff to previous 1.856 make -K on a bad file now displays a warning Revision 1.856 - (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.855: +2 -0 lines Diff to previous 1.855 7.15.4 coming up Revision 1.855 - (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.854: +23 -0 lines Diff to previous 1.854 Brian Dessent's fixes for cygwin builds Revision 1.854 - (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.853: +4 -0 lines Diff to previous 1.853 NTLM2 session response support Revision 1.853 - (view) (download) (annotate) - [select for diffs] Fri May 26 22:23:54 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.852: +3 -0 lines Diff to previous 1.852 Óscar Morales Vivó updated the libcurl.framework.make file. Revision 1.852 - (view) (download) (annotate) - [select for diffs] Thu May 25 23:04:20 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.851: +5 -0 lines Diff to previous 1.851 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.851 - (view) (download) (annotate) - [select for diffs] Wed May 24 23:16:22 2006 UTC (3 years, 9 months ago) by bagder Branch: MAIN Changes since 1.850: +17 -0 lines Diff to previous 1.850 added some missing items Revision 1.850 - (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.849: +4 -0 lines Diff to previous 1.849 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.849 - (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.848: +5 -0 lines Diff to previous 1.848 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.848 - (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.847: +7 -0 lines Diff to previous 1.847 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.847 - (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.846: +9 -0 lines Diff to previous 1.846 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.846 - (view) (download) (annotate) - [select for diffs] Tue May 9 12:43:49 2006 UTC (3 years, 10 months ago) by bagder Branch: MAIN Changes since 1.845: +29 -0 lines Diff to previous 1.845 Robson Braga Araujo fixed two problems in the recently added non-blocking SSL connects. The state machine was not reset properly so that subsequent connects using the same handle would fail, and there were two memory leaks. Revision 1.845 - (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.844: +6 -0 lines Diff to previous 1.844 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.844 - (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.843: +4 -0 lines Diff to previous 1.843 Fixed known bug #28. The TFTP code no longer assumes a packed struct and thus works reliably on more platforms. Revision 1.843 - (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.842: +11 -0 lines Diff to previous 1.842 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.842 - (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.841: +12 -0 lines Diff to previous 1.841 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.841 - (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.840: +8 -0 lines Diff to previous 1.840 curl-config got a --checkfor option Revision 1.840 - (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.839: +11 -0 lines Diff to previous 1.839 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.839 - (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.838: +5 -0 lines Diff to previous 1.838 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.838 - (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.837: +7 -0 lines Diff to previous 1.837 Ale Vesely fixed CURLOPT_INTERFACE when using a hostname Revision 1.837 - (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.836: +9 -1 lines Diff to previous 1.836 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.836 - (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.835: +1 -1 lines Diff to previous 1.835 mention Katie Wang as author of the patch Revision 1.835 - (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.834: +5 -0 lines Diff to previous 1.834 #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.834 - (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.833: +19 -0 lines Diff to previous 1.833 mention recent additions Revision 1.833 - (view) (download) (annotate) - [select for diffs] Mon Apr 10 08:14:05 2006 UTC (3 years, 11 months ago) by bagder Branch: MAIN Changes since 1.832: +0 -1184 lines Diff to previous 1.832 forked off the changes from 2005 into its own file Revision 1.832 - (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.831: +11 -0 lines Diff to previous 1.831 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.831 - (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.830: +5 -0 lines Diff to previous 1.830 #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.830 - (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.829: +6 -0 lines Diff to previous 1.829 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.829 - (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.828: +5 -0 lines Diff to previous 1.828 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.828 - (view) (download) (annotate) - [select for diffs] Tue Mar 21 22:30:03 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.827: +2 -0 lines Diff to previous 1.827 David McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry path Revision 1.827 - (view) (download) (annotate) - [select for diffs] Tue Mar 21 21:54:44 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.826: +3 -0 lines Diff to previous 1.826 Xavier Bouchoux made the SSL connection non-blocking for the multi interface (when using OpenSSL). Revision 1.826 - (view) (download) (annotate) - [select for diffs] Tue Mar 21 13:34:41 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.825: +3 -0 lines Diff to previous 1.825 Tor Arntsen fixed the AIX Toolbox RPM spec Revision 1.825 - (view) (download) (annotate) - [select for diffs] Mon Mar 20 22:51:08 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.824: +3 -0 lines Diff to previous 1.824 David McCreedy fixed libcurl to no longer ignore AUTH failures and now it reacts properly according to the CURLOPT_FTP_SSL setting. Revision 1.824 - (view) (download) (annotate) - [select for diffs] Mon Mar 20 22:25:14 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.823: +27 -0 lines Diff to previous 1.823 mention today's fixes Revision 1.823 - (view) (download) (annotate) - [select for diffs] Mon Mar 20 09:03:09 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.822: +2 -0 lines Diff to previous 1.822 start working towards 7.15.4 Revision 1.822 - (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.821: +11 -0 lines Diff to previous 1.821 fixed tftp packet overflow risk Revision 1.821 - (view) (download) (annotate) - [select for diffs] Tue Mar 7 23:11:41 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.820: +6 -0 lines Diff to previous 1.820 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.820 - (view) (download) (annotate) - [select for diffs] Tue Mar 7 22:28:08 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.819: +4 -0 lines Diff to previous 1.819 Peter Heuchert made sure the CURLFTPSSL_CONTROL setting for CURLOPT_FTP_SSL is used properly. Revision 1.819 - (view) (download) (annotate) - [select for diffs] Mon Mar 6 22:35:51 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.818: +7 -0 lines Diff to previous 1.818 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.818 - (view) (download) (annotate) - [select for diffs] Sat Mar 4 22:39:31 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.817: +4 -0 lines Diff to previous 1.817 build fix for Interix Revision 1.817 - (view) (download) (annotate) - [select for diffs] Fri Mar 3 13:09:30 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.816: +9 -0 lines Diff to previous 1.816 Prevent uploading to a URL that has no file name part. Revision 1.816 - (view) (download) (annotate) - [select for diffs] Thu Mar 2 11:41:23 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.815: +5 -0 lines Diff to previous 1.815 mention Dan F's out-of-file handles fix from the other day Revision 1.815 - (view) (download) (annotate) - [select for diffs] Thu Mar 2 11:37:05 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.814: +4 -0 lines Diff to previous 1.814 check for and use getprotobyname Revision 1.814 - (view) (download) (annotate) - [select for diffs] Mon Feb 27 16:09:24 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.813: +1 -1 lines Diff to previous 1.813 hehe, wrong year but who reads these lines anyway? ;-) Revision 1.813 - (view) (download) (annotate) - [select for diffs] Mon Feb 27 16:05:16 2006 UTC (4 years ago) by bagder Branch: MAIN CVS Tags: curl-7_15_2 Changes since 1.812: +2 -0 lines Diff to previous 1.812 7.15.2 Revision 1.812 - (view) (download) (annotate) - [select for diffs] Thu Feb 23 12:20:48 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.811: +19 -0 lines Diff to previous 1.811 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.811 - (view) (download) (annotate) - [select for diffs] Tue Feb 21 07:46:41 2006 UTC (4 years ago) by bagder Branch: MAIN Changes since 1.810: +7 -0 lines Diff to previous 1.810 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.810 - (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.809: +4 -0 lines Diff to previous 1.809 Shmulik Regev fixed an issue with multi-pass authentication and compressed content when libcurl didn't honor the internal ignorebody flag. Revision 1.809 - (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.808: +5 -0 lines Diff to previous 1.808 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.808 - (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.807: +9 -4 lines Diff to previous 1.807 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.807 - (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.806: +5 -0 lines Diff to previous 1.806 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.806 - (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.805: +4 -0 lines Diff to previous 1.805 Kent Boortz improved the configure check for GnuTLS to properly set LIBS instead of LDFLAGS. Revision 1.805 - (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.804: +7 -2 lines Diff to previous 1.804 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.804 - (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.803: +4 -0 lines Diff to previous 1.803 fixed --limit-rate Revision 1.803 - (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.802: +4 -0 lines Diff to previous 1.802 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 |