CHANGES 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307
  1. _ _ ____ _
  2. ___| | | | _ \| |
  3. / __| | | | |_) | |
  4. | (__| |_| | _ <| |___
  5. \___|\___/|_| \_\_____|
  6. Changelog
  7. Version 7.19.0 (1 September 2008)
  8. Daniel Fandrich (29 Aug 2008)
  9. - Added tests 1071 through 1074 to test automatic downgrading from HTTP 1.1
  10. to HTTP 1.0 upon receiving a response from the HTTP server. Tests 1072
  11. and 1073 are similar to test 1069 in that they involve the impossible
  12. scenario of sending chunked data to a HTTP 1.0 server. All these fail
  13. and are added to DISABLED.
  14. - Added test 1075 to test --anyauth with Basic authentication.
  15. Daniel Stenberg (29 Aug 2008)
  16. - When libcurl was doing a HTTP POST and the server would respond with
  17. "Connection: close" and actually close the connection after the
  18. response-body, libcurl could still have outstanding data to send and it
  19. would not properly notice this and stop sending. This caused weirdness and
  20. sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222
  21. Note that there are still reasons to consider libcurl's behavior when
  22. getting a >= 400 response code while sending data, as Craig Perras' note
  23. "http upload: how to stop on error" specifies:
  24. http://curl.haxx.se/mail/archive-2008-08/0138.html
  25. Daniel Stenberg (28 Aug 2008)
  26. - Dengminwen reported that libcurl would lock a (cookie) share twice (without
  27. an unlock in between) for a certain case and that in fact works when using
  28. regular windows mutexes but not with pthreads'! Locks should of course not
  29. get locked again so this is now fixed.
  30. http://curl.haxx.se/mail/lib-2008-08/0422.html
  31. - I'm abandoning the system with the web site mirrors (but keeping download
  32. files bing mirrored) and thus I've changed the URL in the cookiejar header
  33. to no longer use curlm.haxx.se but instead use the main site curl.haxx.se
  34. Daniel Fandrich (27 Aug 2008)
  35. - Fixed test case 1065 by changing the handling of CURLOPT_UPLOAD to set
  36. the HTTP method to GET (or HEAD) when given a value of 0.
  37. - Added test cases 1068 and 1069 to test a simple HTTP PUT from stdin. Test
  38. case 1069 fails in a similar manner to test 1065 so is added to DISABLED.
  39. Yang Tse (27 Aug 2008)
  40. - Fix generation of MS VC6 .dsp file to make it support compilation of either
  41. dynamic (DLL) or static (LIB) libcurl libraries in debug and release modes.
  42. Daniel Fandrich (26 Aug 2008)
  43. - Fixed out of memory problems that caused torture test failures in tests
  44. 1021 and 1067.
  45. Yang Tse (26 Aug 2008)
  46. - Added check and symbol definition for WIN32 file API usage in configure,
  47. supporting configure's --disable-largefile option for WIN32 targets also.
  48. - Non-configure systems which do not use config-win32.h configuration file,
  49. and want to use the WIN32 file API, must define USE_WIN32_LARGE_FILES or
  50. USE_WIN32_SMALL_FILES as appropriate in their own configuration files.
  51. Daniel Stenberg (23 Aug 2008)
  52. - Running 'make ca-firefox' in the root build dir will now run the new
  53. firefox-db2pem.sh conversion script that converts a local Firefox db of ca
  54. certs into PEM format, suitable for use with a OpenSSL or GnuTLS built
  55. libcurl.
  56. - Constantine Sapuntzakis fixed a bug when doing proxy CONNECT with the multi
  57. interface, and the proxy would send Connection: close during the
  58. authentication phase. http://curl.haxx.se/bug/view.cgi?id=2069047
  59. Daniel Fandrich (22 Aug 2008)
  60. - Fixed a problem when --dump-header - was given with more than one URL,
  61. which caused an error when the second header was dumped due to stdout
  62. being closed. Added test case 1066 to verify. Also fixed a potential
  63. problem where a closed file descriptor might be used for an upload
  64. when more than one URL is given.
  65. Yang Tse (22 Aug 2008)
  66. - Improved libcurl's internal curl_m*printf() functions integral data type
  67. size and signedness handling.
  68. - Internal adjustments to better select/differentiate when large/small file
  69. support is provided using WIN32 functions directly.
  70. Daniel Fandrich (20 Aug 2008)
  71. - Added an edited version of Vincent Le Normand's documentation of SFTP quote
  72. commands to the man pages.
  73. Daniel Stenberg (20 Aug 2008)
  74. - Phil Pellouchoud pointed out that the windows version of libcurl had a
  75. memory leak because it never called the OpenSSL function
  76. CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a
  77. missing define in config-win32.h!
  78. Gisle Vanem (18 Aug 2008)
  79. - Updated lib/Makefile.Watcom with the option to use c-ares (USE_ARES=1).
  80. Yang Tse (18 Aug 2008)
  81. - Added test case 557 to verify libcurl's internal curl_m*printf() functions
  82. formatting functionality when handling signed and unsigned longs, as well as
  83. our curl_off_t data type.
  84. Yang Tse (17 Aug 2008)
  85. - OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory
  86. when including the OpenSSL header files. This is the recommended setting, this
  87. prevents the undesired inclusion of header files with the same name as those
  88. of OpenSSL but which do not belong to the OpenSSL package. The visible change
  89. from previously released libcurl versions is that now OpenSSl enabled NetWare
  90. builds also define USE_OPENSSL in config files, and that OpenSSL header files
  91. must be located in a subdirectory named 'openssl'.
  92. Yang Tse (16 Aug 2008)
  93. - Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
  94. remain in use as internal curl_off_t print formatting strings for the internal
  95. *printf functions which still cannot handle print formatting string directives
  96. such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
  97. other DOS/Windows compilers.
  98. Daniel Fandrich (15 Aug 2008)
  99. - Added test case 1063 to test invalid long file ranges with file: URLs and
  100. 1064 to test multiple http PUTs.
  101. - Added test case 1065 to test a PUT with a single file but two URLs. This
  102. was discovered to be problematic while investigating an incident reported by
  103. Von back in May. curl in this case doesn't include a Content-Length: or
  104. Transfer-Encoding: chunked header which is illegal. This test case is
  105. added to DISABLED until a solution is found.
  106. Yang Tse (15 Aug 2008)
  107. - C preprocessor macros used internally and equally available externally which
  108. aid in the use of the curl_off_t data type are named: CURL_FORMAT_CURL_OFF_T,
  109. CURL_FORMAT_CURL_OFF_TU, CURL_SIZEOF_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_T,
  110. CURL_SUFFIX_CURL_OFF_TU, CURL_OFF_T_C and CURL_OFF_TU_C.
  111. Yang Tse (13 Aug 2008)
  112. - The size of long is a build time characteristic and as such it is now recorded
  113. in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process
  114. and in CVS curlbuild.h.dist for non-configure systems.
  115. Daniel Fandrich (12 Aug 2008)
  116. - Fixed a buffer overflow problem in Curl_proxyCONNECT that could occur
  117. when a server responded with long headers and data. Luckily, the buffer
  118. overflowed into another unused buffer, so no actual harm was done.
  119. Added test cases 1060 and 1061 to verify.
  120. Daniel Stenberg (12 Aug 2008)
  121. - Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel
  122. _directory_ if that happened to appear in the path!
  123. Yang Tse (12 Aug 2008)
  124. - Added macros for minimum-width signed and unsigned curl_off_t integer
  125. constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro
  126. used internally to provide its functionality is thanks to Lars Nilsson.
  127. Daniel Fandrich (11 Aug 2008)
  128. - Fixed a boundary condition error in ftp_readresp() whereby a non-terminal
  129. line of a multiline FTP response whose last byte landed exactly at the end
  130. of the BUFSIZE-length buffer would be treated as the terminal response
  131. line. The following response code read in would then actually be the
  132. end of the previous response line, and all responses from then on would
  133. correspond to the wrong command. Test case 1062 verifies this.
  134. - Stop closing a never-opened ftp socket.
  135. Daniel Stenberg (11 Aug 2008)
  136. - Constantine Sapuntzakis filed bug report #2042430
  137. (http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows
  138. SSPI code is not thread safe". This was due to libcurl using static
  139. variables to tell wether to load the necessary SSPI DLL, but now the loading
  140. has been moved to the more suitable curl_global_init() call.
  141. - Constantine Sapuntzakis filed bug report #2042440
  142. (http://curl.haxx.se/bug/view.cgi?id=2042440) with a patch. He identified a
  143. problem when using NTLM over a proxy but the end-point does Basic, and then
  144. libcurl would do wrong when the host sent "Connection: close" as the proxy's
  145. NTLM state was erroneously cleared.
  146. Yang Tse (11 Aug 2008)
  147. - Added missing signed and unsigned curl_off_t integer constant suffixes for
  148. internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU.
  149. Daniel Fandrich (7 Aug 2008)
  150. - Fixed an uninitialized variable in multi_runsingle() that could cause a
  151. request to prematurely end.
  152. - Added test1059 to test the FTP proxy tunnel problem fixed July 11.
  153. Yang Tse (7 Aug 2008)
  154. - Added curlbuild.h and curlrules.h header files to libcurl's public headers.
  155. File curlbuild.h is a generated file on configure-capable systems. This is
  156. a first step towards configure-based info in public headers. Currently only
  157. used to provide support for a curl_off_t data type which is not gated to
  158. off_t. Further details are documented inside these mentioned header files.
  159. - Fix CURL_CHECK_DEF so that when the expansion of the preprocessor symbol
  160. results in a set of double-quoted strings, this macro will now return an
  161. expansion which consists of a single double-quoted string as the result of
  162. concatenating all of them.
  163. - Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
  164. - Adjusted testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.h
  165. for non-configure targets when the host system doesn't run buildconf.bat.
  166. - Prevent buildconf from removing 'Makefile' and 'missing' files. This would
  167. blow away our CVS checked files 'missing' and 'hiper/Makefile'.
  168. - Remove adjustment done to testcurl.pl to verify if change introduced by
  169. Guenter Knauf in lib/Makefile.netware is enough to get the netware autobuilds
  170. going again.
  171. Yang Tse (5 Aug 2008)
  172. - Changes done to buildconf script. Validate that autom4te and autoconf, as
  173. well as aclocal and automake, versions match. Improve removal of previous
  174. run generated files. Remove verbose debug logging of aclocal on Solaris.
  175. Daniel Stenberg (5 Aug 2008)
  176. - Yehoshua Hershberg found a problem that would make libcurl re-use a
  177. connection with the multi interface even if a previous use of it caused a
  178. CURLE_PEER_FAILED_VERIFICATION to get returned. I now make sure that failed
  179. SSL connections properly close the connections.
  180. Daniel Stenberg (4 Aug 2008)
  181. - Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 and
  182. proved how PUT and POST with a redirect could lead to a "hang" due to the
  183. data stream not being rewound properly when it had to in order to get sent
  184. properly (again) to the subsequent URL. This is now fixed and these test
  185. cases are no longer disabled.
  186. Yang Tse (4 Aug 2008)
  187. - Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.
  188. Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. 2.62
  189. version of AC_AIX defines _ALL_SOURCE and other four preprocessor symbols
  190. no matter if the system is AIX or not. To keep the traditional behaviour,
  191. and an uniform one across autoconf versions AC_AIX is replaced with our
  192. own internal macro CURL_CHECK_AIX_ALL_SOURCE.
  193. Daniel Stenberg (4 Aug 2008)
  194. - Test case 1041 (added by Daniel Fandrich July 14th) proved a bug where PUT
  195. with -C - sent garbage in the Content-Range: header. I fixed this problem by
  196. making sure libcurl always sets the size of the _entire_ upload if an app
  197. attemps to do resumed uploads since libcurl simply cannot know the size of
  198. what is currently at the server end. Test 1041 is no longer disabled.
  199. Yang Tse (2 Aug 2008)
  200. - No longer test availability of the gdi32 library, nor use it for linking, even
  201. when we have been doing this since revision 1.47 of configure.ac 4 years and
  202. 5 months ago when cross-compiling a Windows target. We actually don't use any
  203. function from the Windows GDI (Graphics Device Interface) related with drawing
  204. or graphics-related operations.
  205. Daniel Fandrich (1 Aug 2008)
  206. - Added support for --append on SFTP uploads. Unfortunately, OpenSSH doesn't
  207. support this so it goes untested.
  208. Yang Tse (1 Aug 2008)
  209. - Configure process now checks if the preprocessor _REENTRANT symbol is already
  210. defined. If it isn't currently defined a set of checks are performed to test
  211. if its definition is required to make visible to the compiler a set of *_r
  212. functions. Finally, if _REENTRANT is already defined or needed it takes care
  213. of making adjustments necessary to ensure that it is defined equally for the
  214. configure process tests and generated config file.
  215. - Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it has
  216. not been in use since revision 1.81 of configure.in 6 years, 9 months ago.
  217. Daniel Fandrich (31 Jul 2008)
  218. - Fixed parsing of an IPv6 proxy address to support a scope identifier,
  219. as well as IPv4 addresses in IPv6 format. Also, better handle the case
  220. of a malformatted IPv6 address (avoid empty and NULL strings).
  221. - Fixed a problem with any FTP URL or any URLs containing an IPv6 address
  222. being mangled when passed to proxies when CURLOPT_PORT is also set
  223. (reported by Pramod Sharma).
  224. - User names embedded in proxy URLs without a password were parsed
  225. incorrectly--the host name is treated as part of the user name and the
  226. port number becomes the password. This can be observed in test 279
  227. (was KNOWN_ISSUE #54).
  228. Daniel Stenberg (30 Jul 2008)
  229. - Phil Blundell added the CURLOPT_ADDRESS_SCOPE option, as well as adjusted
  230. the URL parser to allow numerical IPv6-addresses to be specified with the
  231. scope given, as per RFC4007 - with a percent letter that itself needs to be
  232. URL escaped. For example, for an address of fe80::1234%1 the HTTP URL is:
  233. "http://[fe80::1234%251]/"
  234. - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies a
  235. true bug in libcurl built with OpenSSL. It made curl_easy_getinfo() more or
  236. less always return 0 for CURLINFO_SSL_VERIFYRESULT because the function that
  237. would set it to something non-zero would return before the assign in almost
  238. all error cases. The internal variable is now set to non-zero from the start
  239. of the function only to get cleared later on if things work out fine.
  240. - Made the curl tool's -w option support the %{ssl_verify_result} variable
  241. Daniel Fandrich (30 Jul 2008)
  242. - Added test cases 1052 through 1055 to test uploading data from files
  243. during redirects. Test cases 1052 and 1055 show problems (maybe the same
  244. root cause as 1051) and are disabled.
  245. - Fixed a couple of buffer overflows in the MS-DOS port of the curl tool.
  246. Daniel Fandrich (29 Jul 2008)
  247. - Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOS
  248. and OS/2.
  249. - Added test case 1051 to test Location: following with PUT, as reported
  250. by Ben Sutcliffe. The test when run manually shows a problem in curl
  251. so it's disabled.
  252. Daniel Fandrich (28 Jul 2008)
  253. - Fixed display of the interface bind address in the trace output when it's
  254. an IPv6 address.
  255. - Added test cases 1045 through 1049 as simple tests of --interface using the
  256. localhost interface.
  257. - Added test case 1050 to test --ftp-port with an IPv6 address
  258. Daniel Stenberg (26 Jul 2008)
  259. - David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
  260. overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two
  261. problems, and providing the fix for them:
  262. - CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is
  263. designed for but paused _receiving_ of data!
  264. - libcurl didn't internally set the read counter to zero when this return
  265. code was detected, which would potentially lead to junk getting sent to
  266. the server.
  267. Daniel Fandrich (26 Jul 2008)
  268. - Added test 1044 to test large file support in ftp with -I.
  269. - Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
  270. address in an IPv6 capable libcurl.
  271. - Added feature in runtests.pl to select tests based on key word.
  272. Daniel Fandrich (23 Jul 2008)
  273. - Changed the long logfile elision code in runtests.pl to properly handle
  274. lines ending in \r.
  275. - Changed references to TRUE and FALSE in the curl_easy_setopt man page to
  276. 1 and zero, respectively, since TRUE and FALSE aren't part of the
  277. libcurl API.
  278. Daniel Stenberg (23 Jul 2008)
  279. - I went over the curl_easy_setopt man page and replaced most references to
  280. non-zero with the fixed value of 1. We should strive at making options
  281. support '1' for enabling them mentioned explicitly, as that then will allow
  282. us for to extend them in the future without breaking older programs.
  283. Possibly we should even introduce a fancy define to use instead of '1' all
  284. over...
  285. Yang Tse (21 Jul 2008)
  286. - Use the sreadfrom() wrapper to replace recvfrom() in our code.
  287. Yang Tse (20 Jul 2008)
  288. - when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will
  289. now cause the definition, as appropriate, of RECVFROM_TYPE_ARG2_IS_VOID,
  290. RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID.
  291. Yang Tse (17 Jul 2008)
  292. - RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined
  293. to the data type pointed by its respective argument and not the pointer type.
  294. Yang Tse (16 Jul 2008)
  295. - Configure process now checks availability of recvfrom() socket function and
  296. finds out its return type and the types of its arguments. Added definitions
  297. for non-configure systems config files, and introduced macro sreadfrom which
  298. will be used on udp sockets as a recvfrom() wrapper.
  299. Yang Tse (15 Jul 2008)
  300. - Added description/comment to include paths used in several Makefile.am files.
  301. Added automake option nostdinc to test servers makefile and modified libcurl
  302. external headers include path for libtest programs.
  303. Daniel Fandrich (14 Jul 2008)
  304. - Added test1040 through test1043 to test -C - on HTTP. Test 1041 failed so
  305. it's added to DISABLED.
  306. Yang Tse (14 Jul 2008)
  307. - HTTP_ONLY definition check in lib/setup.h is now done once that configuration
  308. file has been included. In this way if symbol is defined in the config file
  309. it will no longer be ignored. Removed inclusion of remaining system header
  310. files from configuration files. Moved _REENTRANT definition up/earlier in
  311. lib/setup.h
  312. Yang Tse (11 Jul 2008)
  313. - Added missing multiple header inclusion prevention definition for header
  314. file content_encoding.h
  315. Daniel Fandrich (11 Jul 2008)
  316. - Fixed test 553 to pass the torture test.
  317. Daniel Stenberg (11 Jul 2008)
  318. - Daniel Fandrich found out we didn't pass on the user-agent properly when
  319. doing "proxy-tunnels" with non-HTTP prototols and that was simply because
  320. the code assumed the user-agent was only needed for HTTP.
  321. Daniel Fandrich (10 Jul 2008)
  322. - Changed slightly the SFTP quote commands chmod, chown and chgrp to only
  323. set the attribute that has changed instead of all possible ones. Hopefully,
  324. this will solve the "Permission denied" problem that Nagarajan Sreenivasan
  325. reported when setting some modes, but regardless, it saves a protocol
  326. round trip in the chmod case.
  327. - Added test cases 1038 and 1039 to test Adrian Kreher's report that ftp
  328. uploads with -C - didn't resume properly, but the tests pass.
  329. Yang Tse (10 Jul 2008)
  330. - Peter Lamberg filed bug report #2015126: "poll gives WSAEINVAL when POLLPRI
  331. is set in fdset.events" (http://curl.haxx.se/bug/view.cgi?id=2015126) which
  332. exactly pinpointed the problem only triggered on Windows Vista, provided
  333. reference to docs and also a fix. There is much work behind Peter Lamberg's
  334. excellent bug report. Thank You!
  335. Daniel Fandrich (9 Jul 2008)
  336. - Added tests 1036 and 1037 to verify resumed ftp downloads with -C -
  337. Daniel Stenberg (9 Jul 2008)
  338. - Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and I
  339. edited it slightly. Now you should be able to use IPv6 addresses fine even
  340. with libcurl built to use c-ares.
  341. Daniel Fandrich (9 Jul 2008)
  342. - Fixed an OOM handling problem that cause test 11 to fail the torture test.
  343. Daniel Fandrich (8 Jul 2008)
  344. - Fixed test 554 to pass the torture test.
  345. Daniel Fandrich (7 Jul 2008)
  346. - Added test cases 1034 & 1035 to test IDN name conversion failures.
  347. Daniel Stenberg (7 Jul 2008)
  348. - Scott Barrett provided a test case for a segfault in the FTP code and the
  349. fix for it. It occured when you did a FTP transfer using
  350. CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but
  351. switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being
  352. cleared properly. Scott's test case is now known as test 539 and it
  353. verifies the fix.
  354. Daniel Stenberg (3 Jul 2008)
  355. - Phil Blundell provided a fix for libcurl's treatment of unexpected 1xx
  356. response codes. Previously libcurl would hang on such occurances. I added
  357. test case 1033 to verify.
  358. - Introcuding a new timestamp for curl_easy_getinfo():
  359. CURLINFO_APPCONNECT_TIME. This is set with the "application layer"
  360. handshake/connection is completed. Which typically is SSL, TLS or SSH and by
  361. using this you can figure out the application layer's own connect time. You
  362. can extract the time stamp using curl's -w option and the new variable named
  363. 'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar.
  364. Daniel Fandrich (2 Jul 2008)
  365. - Support Open Watcom C on Linux (as well as Windows).
  366. Yang Tse (2 Jul 2008)
  367. - The previously committed fix for bug report #1999181 prevented using the
  368. monotonic clock on any system without an always supported POSIX compliant
  369. implementation. Now the POSIX compliant configuration check is removed and
  370. will fallback to gettimeofday when the monotonic clock is unavailable at
  371. run-time.
  372. - The configure process will now halt when sed, grep, egrep or ar programs
  373. can not be found among the directories in PATH variable.
  374. Daniel Stenberg (1 Jul 2008)
  375. - Rolland Dudemaine provided fixes to get libcurl to build for the INTEGRITY
  376. operating system.
  377. Daniel Stenberg (30 Jun 2008)
  378. - Made the internal printf() support %llu properly to print unsigned long longs.
  379. - Stephen Collyer and Tor Arntsen helped identify a flaw in the range code
  380. which output the range using a signed variable where it should rather use
  381. unsigned.
  382. Yang Tse (29 Jun 2008)
  383. - John Lightsey filed bug report #1999181: "CLOCK_MONOTONIC always fails on
  384. some systems" (http://curl.haxx.se/bug/view.cgi?id=1999181). The problem was
  385. that the configure script did not use the _POSIX_MONOTONIC_CLOCK feature test
  386. macro when checking monotonic clock availability. This is now fixed and the
  387. monotonic clock will not be used unless the feature test macro is defined
  388. with a value greater than zero indicating always supported.
  389. Daniel Fandrich (25 Jun 2008)
  390. - Honour --stderr with the -v option.
  391. - Fixed a file handle leak in the command line client if more than one
  392. --stderr option was given.
  393. Daniel Stenberg (22 Jun 2008)
  394. - Eduard Bloch filed the debian bug report #487567
  395. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that
  396. libcurl used Content-Range: instead of Range when doing a range request with
  397. --head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to
  398. verify.
  399. Daniel Fandrich (21 Jun 2008)
  400. - Stopped using ranges in scanf character sequences (e.g. %[a-z]) since that
  401. is not ANSI C, just a common extension. This caused problems on
  402. at least Open Watcom C.
  403. Yang Tse (20 Jun 2008)
  404. - Modified configuration script to actually verify if the compiler is good
  405. enough at detecting compilation errors or at least it has been properly
  406. configured to do so. Configuration heavily depends on this capability, so
  407. if this compiler sanity check fails the configuration process will now fail.
  408. Daniel Stenberg (20 Jun 2008)
  409. - Phil Pellouchoud found a case where libcurl built with NSS failed to
  410. handshake with a SSLv2 server, and it turned out to be because it didn't
  411. recognize the cipher named "rc4-md5". In our list that cipher was named
  412. plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported
  413. that it made things work for him again.
  414. - Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxy
  415. crashed libcurl. This is now addressed by making sure we use "plain send"
  416. internally when doing the socks handshake instead of the Curl_write()
  417. function which is designed to use the "target" protocol. That's then SCP or
  418. SFTP in this case. I also took the opportunity and cleaned up some ssh-
  419. related #ifdefs in the code for readability.
  420. Daniel Stenberg (19 Jun 2008)
  421. - Christopher Palow fixed a curl_multi_socket() issue which previously caused
  422. libcurl to not tell the app properly when a socket was closed (when the name
  423. resolve done by c-ares is completed) and then immediately re-created and put
  424. to use again (for the actual connection). Since the closure will make the
  425. "watch status" get lost in several event-based systems libcurl will need to
  426. tell the app about this close/re-create case.
  427. - Dengminwen found a bug in the connection re-use function when using the
  428. multi interface with pipelining enabled as it would wrongly check for,
  429. detect and close "dead connections" even though that connection was already
  430. in use!
  431. Daniel Fandrich (18 Jun 2008)
  432. - Added SSH failure test cases 628-632
  433. - Fixed a memory leak in the command-line tool that caused a valgrind error.
  434. Daniel Stenberg (18 Jun 2008)
  435. - Rob Crittenden brought a fix for the NSS layer that makes libcurl no longer
  436. always fire up a new connection rather than using the existing one when the
  437. multi interface is used. Original bug report:
  438. https://bugzilla.redhat.com/show_bug.cgi?id=450140
  439. Yang Tse (18 Jun 2008)
  440. - Internal configure script improvement. No longer break out of shell "for"
  441. statements from inside AC_FOO_IFELSE macros, otherwise temporary macro files
  442. are not properly removed.
  443. Daniel Fandrich (12 Jun 2008)
  444. - Fixed curl-config --ca which wasn't being exported by configure.
  445. Daniel Stenberg (11 Jun 2008)
  446. - I did a cleanup of the internal generic SSL layer and how the various SSL
  447. libraries are supported. Starting now, each underlying SSL library support
  448. code does a set of defines for the 16 functions the generic layer (sslgen.c)
  449. uses (all these new function defines use the prefix "curlssl_"). This
  450. greatly simplified the generic layer in readability by involving much less
  451. #ifdefs and other preprocessor stuff and should make it easier for people to
  452. make libcurl work with new SSL libraries.
  453. Hopefully I can later on document these 16 functions somewhat as well.
  454. I also made most of the internal SSL-dependent functions (using Curl_ssl_
  455. prefix) #defined to nothing when no SSL support is requested - previously
  456. they would unnecessarily call mostly empty functions.
  457. I've built libcurl with OpenSSL and GnuTLS and without SSL to test this and
  458. I've also tried building with NSS but the NSS support is a mystery to me and
  459. I failed to build libcurl with the NSS libraries I have installed. We really
  460. should A) improve our configure script to detect unsuitable NSS versions
  461. already at configure time and B) document our requirements better for the
  462. SSL libraries.
  463. Daniel Stenberg (10 Jun 2008)
  464. - I made the OpenSSL code build again with OpenSSL 0.9.6. The CRLFILE
  465. functionality killed it due to its unconditional use of
  466. X509_STORE_set_flags...
  467. Daniel Stenberg (8 Jun 2008)
  468. - Due to the three new libcurl changes and the massive command line option
  469. change I decided we'll mark it by bumping the next release number to 7.19.0!
  470. - curl the tool now deals with its command line options somewhat differently!
  471. All boolean options (such as -O, -I, -v etc), both short and long versions,
  472. now always switch on/enable the option named. Using the same option multiple
  473. times thus make no difference. To switch off one of those options, you need
  474. to use the long version of the option and type --no-OPTION. Like to disable
  475. verbose mode you use --no-verbose!
  476. - Added --remote-name-all to curl, which if used changes the default for all
  477. given URLs to be dealt with as if -O is used. So if you want to disable that
  478. for a specific URL after --remote-name-all has been used, you muse use -o -
  479. or --no-remote-name.
  480. Daniel Stenberg (6 Jun 2008)
  481. - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_ISSUERCERT, for
  482. OpenSSL, NSS and GnuTLS-built libcurls.
  483. - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_CRLFILE, for
  484. OpenSSL, NSS and GnuTLS-built libcurls.
  485. - Added CURLINFO_PRIMARY_IP as a new information retrievable with
  486. curl_easy_getinfo. It returns a pointer to a string with the most recently
  487. used IP address. Modified test case 500 to also verify this feature. The
  488. implementing of this feature was sponsored by Lenny Rachitsky at NeuStar.
  489. Version 7.18.2 (4 June 2008)
  490. Daniel Fandrich (3 Jun 2008)
  491. - Fixed a problem where telnet data would be lost if an EWOULDBLOCK
  492. condition were encountered.
  493. Marty Kuhrt (1 Jun 2008)
  494. - Updated main.c to return CURLE_OK if PARAM_HELP_REQUESTED was returned
  495. from getparameter instead of CURLE_FAILED_INIT. No point in returning
  496. an error if --help or --version were requested.
  497. Daniel Stenberg (28 May 2008)
  498. - Emil Romanus found a problem and helped me repeat it. It occured when using
  499. the curl_multi_socket() API with HTTP pipelining enabled and could lead to
  500. the pipeline basically stalling for a very long period of time until it took
  501. off again.
  502. - Jeff Weber reported memory leaks with aborted SCP and SFTP transfers and
  503. provided excellent repeat recipes. I fixed the cases I managed to reproduce
  504. but Jeff still got some (SCP) problems even after these fixes:
  505. http://curl.haxx.se/mail/lib-2008-05/0342.html
  506. Daniel Stenberg (26 May 2008)
  507. - Bug report #1973352 (http://curl.haxx.se/bug/view.cgi?id=1973352) identified
  508. how the HTTP redirect following code didn't properly follow to a new URL if
  509. the new url was but a query string such as "Location: ?moo=foo". Test case
  510. 1031 was added to verify this fix.
  511. - Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS.
  512. Yang Tse (26 May 2008)
  513. - David Rosenstrauch reported that header files spnegohelp.h and
  514. openssl/objects.h were needed to compile SPNEGO support.
  515. Daniel Fandrich (22 May 2008)
  516. - Made sure to pass longs in to curl_easy_setopt where necessary in the
  517. example programs and libtest code.
  518. Daniel Stenberg (19 May 2008)
  519. - When trying to repeat a multi interface problem I fell over a few multi
  520. interface problems:
  521. o with pipelining disabled, the state should never be set to WAITDO but
  522. rather go straight to DO
  523. o we had multiple states for which the internal function returned no socket
  524. at all to wait for, with the effect that libcurl calls the socket callback
  525. (when curl_multi_socket() is used) with REMOVE prematurely (as it would be
  526. added again within very shortly)
  527. o when in DO and DOING states, the HTTP and HTTPS protocol handler functions
  528. didn't return that the socket should be waited for writing, but instead it
  529. was treated as if no socket was needing monitoring so again REMOVE was
  530. called prematurely.
  531. Daniel Stenberg (13 May 2008)
  532. - Added test case 556 that uses curl_easy_send() and curl_easy_recv()
  533. Daniel Stenberg (9 May 2008)
  534. - Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
  535. and receive data over a connection previously setup with curl_easy_perform()
  536. and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to
  537. show how they can be used.
  538. Yang Tse (9 May 2008)
  539. - Internal time differences now use monotonic time source if available.
  540. This also implies the removal of the winmm.lib dependency for WIN32.
  541. Daniel Stenberg (9 May 2008)
  542. - Stefan Krause reported a busy-looping case when using the multi interface
  543. and doing CONNECT to a proxy. The app would then busy-loop until the proxy
  544. completed its response.
  545. Michal Marek (9 May 2008)
  546. - Make Curl_write and it's callees accept a const pointer, in preparation
  547. of tetetest's patch for curl_easy_send()
  548. Daniel Stenberg (7 May 2008)
  549. - Liam Healy filed the debian bug report #480044
  550. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044) identifying a
  551. segfault when using krb5 ftp, but the krb4 code had the same problem.
  552. Yang Tse (7 May 2008)
  553. - Christopher Palow provided the patch (edited by me) that introduces the
  554. use of microsecond resolution keys for internal splay trees.
  555. Daniel Stenberg (4 May 2008)
  556. - Yuriy Sosov pointed out a configure fix for detecting c-ares when that is
  557. built debug-enabled.
  558. Daniel Stenberg (3 May 2008)
  559. - Ben Van Hof filed bug report #1945240: "libcurl sometimes sends body twice
  560. when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240).
  561. The problem was that when libcurl rewound a stream meant for upload when it
  562. would prepare for a second request, it could accidentally continue the
  563. sending of the rewound data on the first request instead of on the second.
  564. Ben also provided test case 1030 that verifies this fix.
  565. Daniel Stenberg (3 May 2008)
  566. - Jean-Francois Bertrand reported a libcurl crash with CURLOPT_TCP_NODELAY
  567. since libcurl used getprotobyname() and that isn't thread-safe. We now
  568. switched to use IPPROTO_TCP unconditionally, but perhaps the proper fix is
  569. to detect the thread-safe version of the function and use that.
  570. http://curl.haxx.se/mail/lib-2008-05/0011.html
  571. Daniel Stenberg (1 May 2008)
  572. - Bart Whiteley provided a patch that made libcurl work properly when an app
  573. uses the CURLOPT_OPENSOCKETFUNCTION callback to create a unix domain socket
  574. to a http server.
  575. Daniel Stenberg (29 Apr 2008)
  576. - To make it easier for applications that want lots of magic stuff done on
  577. redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
  578. introduce the new CURLINFO_REDIRECT_URL option that lets applications
  579. extract the URL libcurl would've redirected to if it had been told to. This
  580. then enables the application to continue to that URL as it thinks is
  581. suitable, without having to re-implement the magic of creating the new URL
  582. from the Location: header etc. Test 1029 verifies it.
  583. Yang Tse (29 Apr 2008)
  584. - Improved easy interface resolving timeout handling in c-ares enabled builds
  585. Daniel Fandrich (28 Apr 2008)
  586. - Added test 1028 to test an HTTP redirect to a FTP URL.
  587. Daniel Stenberg (28 Apr 2008)
  588. - Norbert Frese filed bug report #1951588: "Problem with curlftpfs and
  589. libcurl" (http://curl.haxx.se/bug/view.cgi?id=1951588) which seems to be an
  590. identical report to what Denis Golovan reported in
  591. http://curl.haxx.se/mail/lib-2008-02/0108.html The FTP code didn't reset the
  592. user/password pointers properly even though there might've been a new
  593. struct/cconnection getting used.
  594. Daniel Stenberg (26 Apr 2008)
  595. - Reverted back to use automake 1.9.6 in the next release (from automake
  596. 1.10.1) since it *still* suffers from Solaris-related bugs. Our previous
  597. automake 1.10 problem was reported in bug #1701360
  598. (http://curl.haxx.se/bug/view.cgi?id=1701360) and this recent problem was
  599. bug #1944825 (http://curl.haxx.se/bug/view.cgi?id=1944825). I have not
  600. personally approached the automake team about either one of these but I
  601. figure we need a Solaris 10 guy to do it!
  602. Yang Tse (25 Apr 2008)
  603. - Added 'timeout' and 'delay' attributes support for the test harness
  604. <command> subsection.
  605. Daniel Fandrich (24 Apr 2008)
  606. - Made --stderr able to redirect all stderr messages.
  607. Yang Tse (23 Apr 2008)
  608. - Improve synchronization between test harness runtests.pl script
  609. and test harness servers to minimize risk of false test failures.
  610. Daniel Fandrich (22 Apr 2008)
  611. - Added support for running on Symbian OS.
  612. Daniel Fandrich (18 Apr 2008)
  613. - Added test cases 1026 and 1027 to do some rudimentary tests on the --manual
  614. and --help options.
  615. Michal Marek (14 Apr 2008)
  616. - allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as
  617. discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html
  618. Daniel Stenberg (14 Apr 2008)
  619. - Stefan Krause reported a case where the OpenSSL handshake phase wasn't
  620. properly acknowledging the timeout values, like if you pulled the network
  621. plug in the midst of it.
  622. - Andre Guibert de Bruet fixed a second case of not checking the malloc()
  623. return code in the Negotiate code.
  624. - Sandor Feldi reported bug #1942022
  625. (http://curl.haxx.se/bug/view.cgi?id=1942022) pointing out a mistake in the
  626. lib/Makefile.vc[68] makefiles' release-ssl-dll target.
  627. - Brock Noland reported that curl behaved differently depending on which order
  628. you used -i and -I.
  629. Daniel Stenberg (12 Apr 2008)
  630. - Andre Guibert de Bruet found and fixed a case where malloc() was called but
  631. was not checked for a NULL return, in the Negotiate code.
  632. Daniel Fandrich (9 Apr 2008)
  633. - Added test cases 1024 & 1025 to test a scenario similar to the one reported
  634. by Ben Combee where libcurl would send the wrong cookie to a redirected
  635. server. libcurl was doing the right thing in these test cases.
  636. Michal Marek (7 Apr 2008)
  637. - Fix the MIT / Heimdal check for good:
  638. Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are
  639. available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> is available.
  640. Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if
  641. GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should
  642. avoid breakage in case we wrongly recognize Heimdal as MIT again.
  643. Daniel Stenberg (5 Apr 2008)
  644. - Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly
  645. - Based on the Debian bug report #474224 that complained about the FTP error
  646. message when libcurl doesn't get a 220 back immediately on connect, I now
  647. changed it to be more specific on what the problem is. Also worth noticing:
  648. while the bug report contains an example where the response is:
  649. 421 There are too many connected users, please try again later
  650. we cannot assume that the error message will always be this readable nor
  651. that it fits within a particular boundary etc.
  652. Daniel Fandrich (3 Apr 2008)
  653. - Added test627 to test SFTP with CURLOPT_NOBODY
  654. Daniel Stenberg (3 Apr 2008)
  655. - Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method to
  656. GET simply because previously when you set CURLOPT_NOBODY to TRUE first and
  657. then FALSE you'd end up in a broken state where a HTTP request would do a
  658. HEAD by still act a lot like for a GET and hang waiting for the content etc.
  659. - Scott Barrett added support for CURLOPT_NOBODY over SFTP
  660. Daniel Fandrich (3 Apr 2008)
  661. - Made sure that curl_global_init is called in all the multithreaded
  662. example programs.
  663. Michal Marek (31 Mar 2008)
  664. - Removed the generated ca-bundle.h file. The verbatim value of $ca and
  665. $capath is known to configure, so it can be defined in config.h instead.
  666. Daniel Stenberg (31 Mar 2008)
  667. - Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an
  668. application to provide data for a multipart with the read callback. Note
  669. that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the
  670. stream option is used. This feature is verified by the new test case
  671. 554. This feature was sponsored by Xponaut.
  672. Daniel Fandrich (30 Mar 2008)
  673. - Changed the makefile so the doc/examples/ programs are never built in a
  674. normal build/install (only with the 'make check' target), so that a
  675. build failure in the examples isn't fatal.
  676. Version 7.18.1 (30 March 2008)
  677. Daniel Stenberg (28 Mar 2008)
  678. - Stephen Collyer pointed out that configure --with-libssh2 without a given
  679. path didn't work properly.
  680. Daniel Stenberg (27 Mar 2008)
  681. - As found out and reported by Dan Petitt, libcurl didn't show progress/call
  682. the progress callback for the first (potentially huge) piece of body data
  683. sent together with the POST request headers in the initial send().
  684. Daniel Stenberg (25 Mar 2008)
  685. - Made setting the CURLOPT_SSL_CTX_FUNCTION option return a failure in case
  686. libcurl wasn't built to use OpenSSL as that is a prerequisite for this
  687. option to function!
  688. Daniel Stenberg (22 Mar 2008)
  689. - Fixed the problem with doing a zero byte SCP transfer, verified with test
  690. case 617 (which was added by Daniel Fandrich 5 Mar 2008).
  691. Daniel Fandrich (20 Mar 2008)
  692. - Fixed a problem where curl-config --protocols could erroneously show LDAPS
  693. support when curl didn't even have regular LDAP support. It looks like
  694. this could happen when the --enable-ldaps configure switch is given but
  695. configure couldn't find the LDAP headers or libraries.
  696. Michal Marek (20 Mar 2008)
  697. - Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
  698. default instead of a ca bundle. The configure script will also look for a
  699. ca path if no ca bundle is found and no option given.
  700. - Fixed detection of previously installed curl-ca-bundle.crt
  701. Daniel Fandrich (18 Mar 2008)
  702. - Added test 626 to reproduce an infinite loop when given an invalid
  703. SFTP quote command reported by Vincent Le Normand, and fixed it.
  704. Michal Marek (18 Mar 2008)
  705. - Added curl_easy_getinfo typechecker.
  706. - Added macros for curl_share_setopt and curl_multi_setopt to check at least
  707. the correct number of arguments.
  708. Daniel Fandrich (13 Mar 2008)
  709. - Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to
  710. reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that
  711. seems to need a call curl_easy_reset() which this test case doesn't do.
  712. Daniel Stenberg (13 Mar 2008)
  713. - Brian Ulm figured out that if you did an SFTP upload with
  714. CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
  715. handle and uploaded another file to another directory that needed to be
  716. created, the second upload would fail. Another case of a state variable that
  717. wasn't properly reset between requests.
  718. - I rewrote the 100-continue code to use a single state variable instead of
  719. the previous two ones. I think it made the logic somewhat clearer.
  720. Daniel Stenberg (11 Mar 2008)
  721. - Dmitry Popov filed bug report #1911069
  722. (http://curl.haxx.se/bug/view.cgi?id=1911069) that identified a race
  723. condition in the name resolver code when the DNS cache is shared between
  724. multiple easy handles, each running in simultaneous threads that could cause
  725. crashes.
  726. - Added a macro for curl_easy_setopt() that accepts three arguments and simply
  727. does nothing with them, just to make sure libcurl users always use three
  728. arguments to this function. Due to its use of ... for the third argument, it
  729. is otherwise hard to detect abuse.
  730. Michal Marek (11 Mar 2008)
  731. - Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
  732. works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html ,
  733. http://curl.haxx.se/mail/lib-2008-02/0292.html )
  734. Daniel Fandrich (10 Mar 2008)
  735. - Added tests 618-621 to test SFTP/SCP transfers of more than one file
  736. (test 620 tests the just-fixed problem reported by Brian Ulm).
  737. Daniel Stenberg (9 Mar 2008)
  738. - Brian Ulm reported a crash when doing a second SFTP transfer on a re-used
  739. easy handle if curl_easy_reset() was used between them. I fixed it and Brian
  740. verified that it cured his problem.
  741. - Brian Ulm reported that if you first tried to download a non-existing SFTP
  742. file and then fetched an existing one and re-used the handle, libcurl would
  743. still report the second one as non-existing as well! I fixed it and Brian
  744. verified that it cured his problem.
  745. Michal Marek (6 Mar 2008)
  746. - Fix the gssapi configure check to detect newer MIT Kerberos (patch by
  747. Michael Calmer)
  748. Yang Tse (6 Mar 2008)
  749. - Fix regression on Curl_socket_ready() and Curl_poll() so that these will
  750. again fail on select/poll errors different than EINTR.
  751. Daniel Fandrich (5 Mar 2008)
  752. - Fixed the test harness so it will write out zero-length data files.
  753. - Added tests 616 and 617 to see how SFTP and SCP cope with zero-length
  754. files, as questioned by Mike Protts. SFTP does for me but SCP doesn't
  755. so test 617 is disabled for now.
  756. Daniel S (4 Mar 2008)
  757. - Mike Protts brought a patch that makes resumed transfers work with SFTP.
  758. Daniel S (1 Mar 2008)
  759. - Anatoli Tubman found and fixed a crash with Negotiate authentication used on
  760. a re-used connection where both requests used Negotiate.
  761. Guenter Knauf (26 Feb 2008)
  762. - Kaspar Brand provided a patch to support server name indication (RFC 4366).
  763. Daniel S (25 Feb 2008)
  764. - Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that
  765. forces it to prefer SSLv3.
  766. Daniel S (23 Feb 2008)
  767. - Sam Listopad provided a patch in feature-request #1900014
  768. http://curl.haxx.se/bug/feature.cgi?id=1900014 that makes libcurl (built to
  769. use OpenSSL) support a full chain of certificates in a given PKCS12
  770. certificate.
  771. Daniel S (22 Feb 2008)
  772. - Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model
  773. options as the lib/Makefile.vc6 already did.
  774. Daniel S (21 Feb 2008)
  775. - Zmey Petroff found a crash when libcurl accessed a NULL pointer, which
  776. happened if you set the connection cache size to 1 and for example failed to
  777. login to an FTP site. Bug report #1896698
  778. (http://curl.haxx.se/bug/view.cgi?id=1896698)
  779. Daniel S (20 Feb 2008)
  780. - Fixed test case 405 to not fail when libcurl is built with GnuTLS
  781. - Based on initial work done by Gautam Kachroo to address a bug, we now keep
  782. better control at the exact state of the connection's SSL status so that we
  783. know exactly when it has completed the SSL negotiation or not so that there
  784. won't be accidental re-uses of connections that are wrongly believed to be
  785. in SSL-completed-negotiate state.
  786. - We no longer support setting the CURLOPT_URL option from inside a callback
  787. such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
  788. following. The patch that introduced this feature was done for 7.11.0, but
  789. this code and functionality has been broken since about 7.15.4 (March 2006)
  790. with the introduction of non-blocking OpenSSL "connects".
  791. It was a hack to begin with and since it doesn't work and hasn't worked
  792. correctly for a long time and nobody has even noticed, I consider it a very
  793. suitable subject for plain removal. And so it was done.
  794. Guenter Knauf (19 Feb 2008)
  795. - We do no longer support SSLv2 by default since it has known flaws.
  796. Kaspar Brand provided a patch for all supported SSL toolkits.
  797. Daniel Fandrich (19 Feb 2008)
  798. - Added test309 to test HTTP redirect to HTTPS URL
  799. Daniel S (18 Feb 2008)
  800. - We're no longer providing a very old ca-bundle in the curl tarball. You can
  801. get a fresh one downloaded and created with 'make ca-bundle' or you can get
  802. one from here => http://curl.haxx.se/docs/caextract.html if you want a fresh
  803. new one extracted from Mozilla's recent list of ca certs.
  804. The configure option --with-ca-bundle now lets you specify what file to use
  805. as default ca bundle for your build. If not specified, the configure script
  806. will check a few known standard places for a global ca cert to use.
  807. Daniel S (17 Feb 2008)
  808. - Jerome Muffat-Meridol helped me fix Curl_done() to close the current
  809. connection by force when it was called before the entire request is
  810. completed, simply because we can't know if the connection really can be
  811. re-used safely at that point.
  812. - Based on the same debugging logic, I've also made Curl_http_done() not
  813. return CURLE_GOT_NOTHING if called "prematurely". This should have no real
  814. effect to anything but the code makes more sense like this.
  815. Daniel S (15 Feb 2008)
  816. - Made the gnutls code path not even try to get the server cert if no peer
  817. verification is requested. Previously it would even return failure if gnutls
  818. failed to get the server cert even though no verification was asked for.
  819. Public server showing the problem: https://www.net222.caisse-epargne.fr
  820. - Fix my Curl_timeleft() leftover mistake in the gnutls code
  821. - Pooyan McSporran found and fixed a flaw where you first would do a normal
  822. http request and then you'd reuse the handle and replace the Accept: header,
  823. as then libcurl would send two Accept: headers!
  824. Daniel S (11 Feb 2008)
  825. - Yang Tse pointed out a few remaining quirks from my timeout refactoring from
  826. Feb 7 that didn't abort properly on timeouts. These are actually old
  827. problems but now they should be fixed.
  828. Yang Tse (10 Feb 2008)
  829. - Bug report #1888932 (http://curl.haxx.se/bug/view.cgi?id=1888932) points out
  830. and provides test program that demonstrates that libcurl might not set error
  831. description message for error CURLE_COULDNT_RESOLVE_HOST for Windows threaded
  832. name resolver builds. Fixed now.
  833. Daniel Fandrich (8 Feb 2008)
  834. - Added key words to all SSL-using tests so they can be skipped if necessary.
  835. Removed a few unnecessary requires SSL statements.
  836. Daniel S (8 Feb 2008)
  837. - Mike Hommey filed and fixed bug report #1889856
  838. (http://curl.haxx.se/bug/view.cgi?id=1889856): When using the gnutls ssl
  839. layer, cleaning-up and reinitializing curl ends up with https requests
  840. failing with "ASN1 parser: Element was not found" errors. Obviously a
  841. regression added in 7.16.3.
  842. Yang Tse (8 Feb 2008)
  843. - Improved test harness SCP/SFTP start up server verification, doing a real
  844. connection to the sftp server, authenticating and running a simple sftp
  845. pwd command using the test harness generated configuration and key files.
  846. Daniel S (8 Feb 2008)
  847. - Günter Knauf added lib/mk-ca-bundle.pl which gets the Firefox ca bundle and
  848. creates a suitable ca-bundle.crt file in PEM format for use with curl. The
  849. recommended way to run it is to use 'make ca-bundle' in the build tree root.
  850. Daniel Fandrich (7 Feb 2008)
  851. - Added tests 1022 and 1023 to validate output of curl-config --version and
  852. --vernum
  853. Daniel S (7 Feb 2008)
  854. - Refactored a lot of timeout code into a few functions in an attempt to make
  855. them all use the same (hopefully correct) logic to make it less error-prone
  856. and easier to introduce library-wide where it should be used.
  857. Yang Tse (6 Feb 2008)
  858. - Fix an issue in strdup replacement function when dealing with absolutely
  859. huge strings. Only systems without a standard strdup would be affected.
  860. Daniel S (3 Feb 2008)
  861. - Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
  862. use of the "is_in_pipeline" struct field.
  863. - I wrote up and added the threaded-ssl.c example source code that shows how
  864. to do multi-threaded downloads of HTTPS files with a libcurl that is built
  865. with OpenSSL. It uses pthreads for the threading.
  866. Daniel S (31 Jan 2008)
  867. - Niklas Angebrand made the cookie support in libcurl properly deal with the
  868. "HttpOnly" feature introduced by Microsoft and apparently also supported by
  869. Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
  870. is now supported when received from servers in HTTP headers, when written to
  871. cookie jars and when read from existing cookie jars.
  872. I modified test case 31 and 46 to also do some basic HttpOnly testing.
  873. - Dmitry Kurochkin moved several struct fields from the connectdata struct to
  874. the SingleRequest one to make pipelining better. It is a bit tricky to keep
  875. them in the right place, to keep things related to the actual request or to
  876. the actual connection in the right place.
  877. Daniel S (29 Jan 2008)
  878. - Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously
  879. crash!
  880. - Michal Marek fixed minor mistake in test case 553 that prevented it from
  881. working on other IP-addresses or port numbers.
  882. Version 7.18.0 (28 January 2008)
  883. Daniel S (27 Jan 2008)
  884. - Dmitry Kurochkin: In "real world" testing I found more bugs in
  885. pipelining. Broken connection is not restored and we get into infinite
  886. loop. It happens because of wrong is_in_pipeline values.
  887. Daniel S (26 Jan 2008)
  888. - Kevin Reed filed bug report #1879375
  889. (http://curl.haxx.se/bug/view.cgi?id=1879375) which describes how libcurl
  890. got lost in this scenario: proxy tunnel (or HTTPS over proxy), ask to do any
  891. proxy authentication and the proxy replies with an auth (like NTLM) and then
  892. closes the connection after that initial informational response.
  893. libcurl would not properly re-initialize the connection to the proxy and
  894. continue the auth negotiation like supposed. It does now however, as it will
  895. now detect if one or more authentication methods were available and asked
  896. for, and will thus retry the connection and continue from there.
  897. - I made the progress callback get called properly during proxy CONNECT.
  898. Daniel S (23 Jan 2008)
  899. - Igor Franchuk pointed out that CURLOPT_COOKIELIST set to "ALL" leaked
  900. memory, and so did "SESS". Fixed now.
  901. Yang Tse (22 Jan 2008)
  902. - Check poll.h at configuration time, and use it when sys/poll.h unavailable
  903. Daniel S (22 Jan 2008)
  904. - Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed
  905. that it is bad anyway. Starting now, removing a handle that is in used in a
  906. pipeline will break the pipeline - it'll be set back up again but still...
  907. Yang Tse (21 Jan 2008)
  908. - Disable ldap support for cygwin builds, since it breaks whole build process.
  909. Fixing it will affect other platforms, so it is postponed for another release.
  910. Daniel S (18 Jan 2008)
  911. - Lau Hang Kin found and fixed a problem with the multi interface when doing
  912. CONNECT over a proxy. curl_multi_fdset() didn't report back the socket
  913. properly during that state, due to a missing case in the switch in the
  914. multi_getsock() function.
  915. Yang Tse (17 Jan 2008)
  916. - Don't abort tests 518 and 537 when unable to raise the open-file soft limit.
  917. Daniel S (16 Jan 2008)
  918. - Nathan Coulter's patch that makes runtests.pl respect the PATH when figuring
  919. out what valgrind to run.
  920. Yang Tse (16 Jan 2008)
  921. - Improved handling of out of memory in the command line tool that afected
  922. data url encoded HTTP POSTs when reading it from a file.
  923. Daniel S (16 Jan 2008)
  924. - Dmitry Kurochkin worked a lot on improving the HTTP Pipelining support that
  925. previously had a number of flaws, perhaps most notably when an application
  926. fired up N transfers at once as then they wouldn't pipeline at all that
  927. nicely as anyone would think... Test case 530 was also updated to take the
  928. improved functionality into account.
  929. - Calls to Curl_failf() are not supposed to provide a trailing newline as the
  930. function itself adds that. Fixed on 50 or something strings!
  931. Daniel S (15 Jan 2008)
  932. - I made the torture test on test 530 go through. This was actually due to
  933. silly code left from when we switched to let the multi handle "hold" the dns
  934. cache when using the multi interface... Of course this only triggered when a
  935. certain function call returned error at the correct moment.
  936. Daniel S (14 Jan 2008)
  937. - Joe Malicki filed bug report #1871269
  938. (http://curl.haxx.se/bug/view.cgi?id=1871269) and we could fix his hang-
  939. problem that occurred when doing a large HTTP POST request with the
  940. response-body read from a callback.
  941. Daniel S (12 Jan 2008)
  942. - I re-arranged the curl --help output. All the options are now sorted on
  943. their long option names and all descriptions are one-liners.
  944. - Eric Landes provided the patch (edited by me) that introduces the
  945. --keepalive-time to curl to set the keepalive probe interval. I also took
  946. the opportunity to rename the recently added no-keep-alive option to
  947. no-keepalive to keep a consistent naming and to avoid getting two dashes in
  948. these option names. Eric also provided an update to the man page for the new
  949. option.
  950. Daniel S (11 Jan 2008)
  951. - Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it
  952. already worked for FTP:// URLs.
  953. - I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the
  954. spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved
  955. performance for the upload resume cases where you want to upload the last
  956. few bytes of a very large file. To implement this decently, I had to switch
  957. the client code for uploading from fopen()/fread() to plain open()/read() so
  958. that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that)
  959. on systems that offer support for that.
  960. Daniel S (10 Jan 2008)
  961. - Michal Marek made curl-config --libs not include /usr/lib64 in the output
  962. (it already before skipped /usr/lib). /usr/lib64 is the default library
  963. directory on many 64bit systems and it's unlikely that anyone would use the
  964. path privately on systems where it's not.
  965. - Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow
  966. libcurl to seek in a given input stream. This is particularly important when
  967. doing upload resumes when there's already a huge part of the file present
  968. remotely. Before, and still if this callback isn't used, libcurl will read
  969. and through away the entire file up to the point to where the resuming
  970. begins (which of course can be a slow opereration depending on file size,
  971. I/O bandwidth and more). This new function will also be preferred to get
  972. used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when
  973. doing multi-stage HTTP auth with POST/PUT.
  974. - Nikitinskit Dmitriy filed bug report #1868255
  975. (http://curl.haxx.se/bug/view.cgi?id=1868255) with a patch. It identifies
  976. and fixes a problem with parsing WWW-Authenticate: headers with additional
  977. spaces in the line that the parser wasn't written to deal with.
  978. Daniel S (8 Jan 2008)
  979. - Introducing curl_easy_pause() and new magic return codes for both the read
  980. and the write callbacks that now can make a connection's reading and/or
  981. writing get paused.
  982. Daniel S (6 Jan 2008)
  983. - Jeff Johnson filed bug report #1863171
  984. (http://curl.haxx.se/bug/view.cgi?id=1863171) where he pointed out that
  985. libcurl's date parser didn't accept a +1300 time zone which actually is used
  986. fairly often (like New Zealand's Dailight Savings Time), so I modified the
  987. parser to now accept up to and including -1400 to +1400.
  988. Daniel S (5 Jan 2008)
  989. - Based on further discussion on curl-library, I reverted yesterday's SOCKS5
  990. code to instead introduce support for a new proxy type called
  991. CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy
  992. instead of IP address and there's thus no longer any need for a new
  993. curl_easy_setopt() option.
  994. The default SOCKS5 proxy is again back to sending the IP address to the
  995. proxy. The new curl command line option for enabling sending host name to a
  996. SOCKS5 proxy is now --socks5-hostname.
  997. Daniel S (4 Jan 2008)
  998. - Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let the
  999. proxy do the host name resolving and only if --socks5ip (or
  1000. CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and
  1001. pass on the IP address only to the proxy.
  1002. Yang Tse (3 Jan 2008)
  1003. - Modified test harness to allow SCP, SFTP and SOCKS4 tests to run with
  1004. OpenSSH 2.9.9, SunSSH 1.0 or later versions. SOCKS5 tests need OpenSSH
  1005. 3.7, SunSSH 1.0 or later.
  1006. Daniel S (2 Jan 2008)
  1007. - I fixed two cases of missing return code checks when handling chunked
  1008. decoding where a write error (or abort return from a callback) didn't stop
  1009. libcurl's processing.
  1010. - I removed the socklen_t use from the public curl/curl.h header and instead
  1011. made it an unsigned int. The type was only used in the curl_sockaddr struct
  1012. definition (only used by the curl_opensocket_callback). On all platforms I
  1013. could find information about, socklen_t is 32 unsigned bits large so I don't
  1014. think this will break the API or ABI. The main reason for this change is of
  1015. course for all the platforms that don't have a socklen_t definition in their
  1016. headers to build fine again. Providing our own configure magic and custom
  1017. definition of socklen_t on those systems proved to work but was a lot of
  1018. cruft, code and extra magic needed - when this very small change of type
  1019. seems harmless and still solves the missing socklen_t problem.
  1020. - Richard Atterer brought a patch that added support for SOCKS4a proxies,
  1021. which is an inofficial PROXY4 variant that sends the hostname to the proxy
  1022. instead of the resolved address (which is already supported by SOCKS5).
  1023. --socks4a is the curl command line option for it and CURLOPT_PROXYTYPE can
  1024. now be set to CURLPROXY_SOCKS4A as well.
  1025. Daniel S (1 Jan 2008)
  1026. - Mohun Biswas pointed out that --libcurl generated a source code with an int
  1027. function but without a return statement. While fixing that, I also took care
  1028. about adding some better comments for the generated code.