CHANGES 102 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242
  1. _ _ ____ _
  2. ___| | | | _ \| |
  3. / __| | | | |_) | |
  4. | (__| |_| | _ <| |___
  5. \___|\___/|_| \_\_____|
  6. Changelog
  7. Yang Tse (23 Feb 2009)
  8. - Daniel Johnson provided a shell script that will perform all the steps needed
  9. to build a Mac OS X fat ppc/i386 or ppc64/x86_64 libcurl.framework
  10. Daniel Stenberg (23 Feb 2009)
  11. - I renamed everything in the windows builds files that used the name 'curllib'
  12. to the proper 'libcurl' as clearly this caused confusion.
  13. Yang Tse (20 Feb 2009)
  14. - Do not halt compilation when using VS2008 to build a Windows 2000 target.
  15. Daniel Stenberg (20 Feb 2009)
  16. - Linus Nielsen Feltzing reported and helped me repeat and fix a problem with
  17. FTP with the multi interface: when a transfer fails, like when aborted by a
  18. write callback, the control connection was wrongly closed and thus not
  19. re-used properly.
  20. This change is also an attempt to cleanup the code somewhat in this area, as
  21. now the FTP code attempts to keep (better) track on pending responses
  22. necessary to get read in ftp_done().
  23. Daniel Stenberg (19 Feb 2009)
  24. - Patrik Thunstrom reported a problem and helped me repeat it. It turned out
  25. libcurl did a superfluous 1000ms wait when doing SFTP downloads!
  26. We read data with libssh2 while doing the "DO" operation for SFTP and then
  27. when we were about to start getting data for the actual file part, the
  28. "TRANSFER" part, we waited for socket action (in 1000ms) before doing a
  29. libssh2-read. But in this case libssh2 had already read and buffered the
  30. data so we ended up always just waiting 1000ms before we get working on the
  31. data!
  32. Patrick Monnerat (18 Feb 2009)
  33. - FTP downloads (i.e.: RETR) ending with code 550 now return error
  34. CURLE_REMOTE_FILE_NOT_FOUND instead of CURLE_FTP_COULDNT_RETR_FILE.
  35. Daniel Stenberg (17 Feb 2009)
  36. - Kamil Dudka made NSS-powered builds compile and run again!
  37. - A second follow-up change by Andre Guibert de Bruet to fix a related memory
  38. leak like that fixed on the 14th. When zlib returns failure, we need to
  39. cleanup properly before returning error.
  40. - CURLOPT_FTP_CREATE_MISSING_DIRS can now be set to 2 in addition to 1 for
  41. plain FTP connections, and it will then allow MKD to fail once and retry the
  42. CWD afterwards. This is especially useful if you're doing many simultanoes
  43. connections against the same server and they all have this option enabled,
  44. as then CWD may first fail but then another connection does MKD before this
  45. connection and thus MKD fails but trying CWD works! The numbers can
  46. (should?) now be set with the convenience enums now called
  47. CURLFTP_CREATE_DIR and CURLFTP_CREATE_DIR_RETRY.
  48. Tests has proven that if you're making an application that uploads a set of
  49. files to an ftp server, you will get a noticable gain in speed if you're
  50. using multiple connections and this option will be then be very useful.
  51. Daniel Stenberg (14 Feb 2009)
  52. - Andre Guibert de Bruet found and fixed a memory leak in the content encoding
  53. code, which could happen on libz errors.
  54. Daniel Fandrich (12 Feb 2009)
  55. - Added support for Digest and NTLM authentication using GnuTLS.
  56. Daniel Stenberg (11 Feb 2009)
  57. - CURLINFO_CONDITION_UNMET was added to allow an application to get to know if
  58. the condition in the previous request was unmet. This is typically a time
  59. condition set with CURLOPT_TIMECONDITION and was previously not possible to
  60. reliably figure out. From bug report #2565128
  61. (http://curl.haxx.se/bug/view.cgi?id=2565128) filed by Jocelyn Jaubert.
  62. Daniel Fandrich (4 Feb 2009)
  63. - Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS
  64. (respectively) when --with-ssl=/usr is used (patch based on FreeBSD).
  65. - Added an explicit buffer limit check in msdosify() (patch based on FreeBSD).
  66. This couldn't ever overflow in curl, but might if the code were used
  67. elsewhere or under different conditions.
  68. Daniel Stenberg (3 Feb 2009)
  69. - Hidemoto Nakada provided a small fix that makes it possible to get the
  70. CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with
  71. CURLOPT_NOBODY set true.
  72. Daniel Stenberg (2 Feb 2009)
  73. - Patrick Scott found a rather large memory leak when using the multi
  74. interface and setting CURLMOPT_MAXCONNECTS to something less than the number
  75. of handles you add to the multi handle. All the connections that didn't fit
  76. in the cache would not be properly disconnected nor freed!
  77. - Craig A West brought us: libcurl now defaults to do CONNECT with HTTP
  78. version 1.1 instead of 1.0 like before. This change also introduces the new
  79. proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to
  80. switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0
  81. option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0.
  82. I updated all test cases cases that use CONNECT and I tried to do some using
  83. --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
  84. Daniel Stenberg (31 Jan 2009)
  85. - When building with c-ares 1.6.1 (not yet released) or later and IPv6 support
  86. enabled, we can now take advantage of its brand new AF_UNSPEC support in
  87. ares_gethostbyname(). This makes test case 241 finally run fine for me with
  88. this setup since it now parses the "::1 ip6-localhost" line fine in my
  89. /etc/hosts file!
  90. Daniel Stenberg (30 Jan 2009)
  91. - Scott Cantor filed bug report #2550061
  92. (http://curl.haxx.se/bug/view.cgi?id=2550061) mentioning that I failed to
  93. properly make sure that the VC9 makefiles got included in the latest
  94. release. I've now fixed the release script and verified it so next release
  95. will hopefully include them properly!
  96. Daniel Fandrich (30 Jan 2009)
  97. - Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for
  98. reporting.
  99. Yang Tse (29 Jan 2009)
  100. - Introduced curl_sspi.c and curl_sspi.h for the implementation of functions
  101. Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were
  102. named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c
  103. Also adjusted socks_sspi.c to remove the link-time dependency on the Windows
  104. SSPI library using it now in the same way as it was done in http_ntlm.c.
  105. Daniel Stenberg (28 Jan 2009)
  106. - Markus Moeller introduced two new options to libcurl:
  107. CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl
  108. to do GSS-style authentication with SOCKS5 proxies. The curl tool got the
  109. options called --socks5-gssapi-service and --socks5-gssapi-nec to enable
  110. these.
  111. Daniel Stenberg (26 Jan 2009)
  112. - Chad Monroe provided the new CURLOPT_TFTP_BLKSIZE option that allows an app
  113. to set desired block size to use for TFTP transfers instead of the default
  114. 512 bytes.
  115. - The "-no_ticket" option was introduced in Openssl0.9.8j. It's a flag to
  116. disable "rfc4507bis session ticket support". rfc4507bis was later turned
  117. into the proper RFC5077 it seems: http://tools.ietf.org/html/rfc5077
  118. The enabled extension concerns the session management. I wonder how often
  119. libcurl stops a connection and then resumes a TLS session. also, sending the
  120. session data is some overhead. .I suggest that you just use your proposed
  121. patch (which explicitly disables TICKET).
  122. If someone writes an application with libcurl and openssl who wants to
  123. enable the feature, one can do this in the SSL callback.
  124. Sharad Gupta brought this to my attention. Peter Sylvester helped me decide
  125. on the proper action.
  126. - Alexey Borzov filed bug report #2535504
  127. (http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with
  128. quoted quotation marks in HTTP Digest headers didn't work. I've now added
  129. test case 1095 that verifies my fix.
  130. - Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
  131. They basically offer the same thing the NO_PROXY environment variable only
  132. offered previously: list a set of host names that shall not use the proxy
  133. even if one is specified.
  134. Daniel Fandrich (20 Jan 2009)
  135. - Call setlocale() for libtest tests to test the effects of locale-induced
  136. libc changes on libcurl.
  137. - Fixed a couple more locale-dependent toupper conversions, mainly for
  138. clarity. This does fix one problem that causes ;type=i FTP URLs
  139. to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is
  140. used (test case 561)
  141. - Added tests 561 and 1091 through 1094 to test various combinations
  142. of ;type= and ;mode= URLs that could potentially fail in the Turkish
  143. locale.
  144. Daniel Stenberg (20 Jan 2009)
  145. - Lisa Xu pointed out that the ssh.obj file was missing from the
  146. lib/Makefile.vc6 file (and thus from the vc8 and vc9 ones too).
  147. Version 7.19.3 (19 January 2009)
  148. Daniel Stenberg (16 Jan 2009)
  149. - Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both
  150. 32 bit and 64 bit.
  151. Daniel Stenberg (15 Jan 2009)
  152. - Tim Ansell fixed a compiler warning in lib/cookie.c
  153. Daniel Stenberg (14 Jan 2009)
  154. - Grant Erickson fixed timeouts for TFTP such that specifying a
  155. connect-timeout, a max-time or both options work correctly and as expected
  156. by passing the correct boolean value to Curl_timeleft via the
  157. 'duringconnect' parameter.
  158. With this small change, curl TFTP now behaves as expected (and likely as
  159. originally-designed):
  160. 1) For non-existent or unreachable dotted IP addresses:
  161. a) With no options, follows the default curl 300s timeout...
  162. b) With --connect-timeout only, follows that value...
  163. c) With --max-time only, follows that value...
  164. d) With both --connect-timeout and --max-time, follows the smaller value...
  165. and times out with a "curl: (7) Couldn't connect to server" error.
  166. 2) For transfers to/from a valid host:
  167. a) With no options, follows default curl 300s timeout for the
  168. first XRQ/DATA/ACK transaction and the default TFTP 3600s
  169. timeout for the remainder of the transfer...
  170. b) With --connect-time only, follows that value for the
  171. first XRQ/DATA/ACK transaction and the default TFTP 3600s
  172. timeout for the remainder of the transfer...
  173. c) With --max-time only, follows that value for the first
  174. XRQ/DATA/ACK transaction and for the remainder of the
  175. transfer...
  176. d) With both --connect-timeout and --max-time, follows the former
  177. for the first XRQ/DATA/ACK transaction and the latter for the
  178. remainder of the transfer...
  179. and times out with a "curl: (28) Timeout was reached" error as
  180. appropriate.
  181. Daniel Stenberg (13 Jan 2009)
  182. - Michael Wallner fixed a NULL pointer deref when calling
  183. curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no
  184. cookies data.
  185. - Stefan Teleman brought a patch to fix the default curlbuild.h file for the
  186. SunPro compilers.
  187. Daniel Stenberg (12 Jan 2009)
  188. - Based on bug report #2498665 (http://curl.haxx.se/bug/view.cgi?id=2498665)
  189. by Daniel Black, I've now added magic to the configure script that makes it
  190. use pkg-config to detect gnutls details as well if the existing method
  191. (using libgnutls-config) fails. While doing this, I cleaned up and unified
  192. the pkg-config usage when detecting openssl and nss as well.
  193. Daniel Stenberg (11 Jan 2009)
  194. - Karl Moerder brought the patch that creates vc9 Makefiles, and I made
  195. 'maketgz' now use the actual makefile targets to do the VC8 and VC9
  196. makefiles.
  197. Daniel Stenberg (10 Jan 2009)
  198. - Emil Romanus fixed:
  199. When using the multi interface over HTTP and the server returns a Location
  200. header, the running easy handle will get stuck in the CURLM_STATE_PERFORM
  201. state, leaving the external event loop stuck waiting for data from the
  202. ingoing socket (when using the curl_multi_socket_action stuff). While this
  203. bug was pretty hard to find, it seems to require only a one-line fix. The
  204. break statement on line 1374 in multi.c caused the function to skip the call
  205. to multistate().
  206. How to reproduce this bug? Well, that's another question. evhiperfifo.c in
  207. the examples directory chokes on this bug only _sometimes_, probably
  208. depending on how fast the URLs are added. One way of testing the bug out is
  209. writing to hiper.fifo from more than one source at the same time.
  210. Daniel Fandrich (7 Jan 2009)
  211. - Unified much of the SessionHandle initialization done in Curl_open() and
  212. curl_easy_reset() by creating Curl_init_userdefined(). This had the side
  213. effect of fixing curl_easy_reset() so it now also resets
  214. CURLOPT_FTP_FILEMETHOD and CURLOPT_SSL_SESSIONID_CACHE
  215. Daniel Stenberg (7 Jan 2009)
  216. - Rob Crittenden did once again provide an NSS update:
  217. I have to jump through a few hoops now with the NSS library initialization
  218. since another part of an application may have already initialized NSS by the
  219. time Curl gets invoked. This patch is more careful to only shutdown the NSS
  220. library if Curl did the initialization.
  221. It also adds in a bit of code to set the default ciphers if the app that
  222. call NSS_Init* did not call NSS_SetDomesticPolicy() or set specific
  223. ciphers. One might argue that this lets other application developers get
  224. lazy and/or they aren't using the NSS API correctly, and you'd be right.
  225. But still, this will avoid terribly difficult-to-trace crashes and is
  226. generally helpful.
  227. Daniel Stenberg (1 Jan 2009)
  228. - 'reconf' is removed since we rather have users use 'buildconf'
  229. Daniel Stenberg (31 Dec 2008)
  230. - Bas Mevissen reported http://curl.haxx.se/bug/view.cgi?id=2479030 pointing
  231. out that 'reconf' didn't properly point out the m4 subdirectory when running
  232. aclocal.
  233. Daniel Stenberg (29 Dec 2008)
  234. - Phil Lisiecki filed bug report #2413067
  235. (http://curl.haxx.se/bug/view.cgi?id=2413067) that identified a problem that
  236. would cause libcurl to mark a DNS cache entry "in use" eternally if the
  237. subsequence TCP connect failed. It would thus never get pruned and refreshed
  238. as it should've been.
  239. Phil provided his own patch to this problem that while it seemed to work
  240. wasn't complete and thus I wrote my own fix to the problem.
  241. Daniel Stenberg (28 Dec 2008)
  242. - Peter Korsgaard fixed building libcurl with "configure --with-ssl
  243. --disable-verbose".
  244. - Anthony Bryan fixed more language and spelling flaws in man pages.
  245. Daniel Stenberg (22 Dec 2008)
  246. - Given a recent enough libssh2, libcurl can now seek/resume with SFTP even
  247. on file indexes beyond 2 or 4GB.
  248. - Anthony Bryan provided a set of patches that cleaned up manual language,
  249. corrected spellings and more.
  250. Daniel Stenberg (20 Dec 2008)
  251. - Igor Novoseltsev fixed a bad situation for the multi_socket() API when doing
  252. pipelining, as libcurl could then easily get confused and A) work on the
  253. handle that was not "first in queue" on a pipeline, or even B) tell the app
  254. to REMOVE a socket while it was in use by a second handle in a pipeline. Both
  255. errors caused hanging or stalling applications.
  256. Daniel Stenberg (19 Dec 2008)
  257. - curl_multi_timeout() could return a timeout value of 0 even though nothing
  258. was actually ready to get done, as the internal time resolution is higher
  259. than the returned millisecond timer. Therefore it could cause applications
  260. running on fast processors to do short bursts of busy-loops.
  261. curl_multi_timeout() will now only return 0 if the timeout is actually
  262. alreay triggered.
  263. - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl
  264. now has an improved ability to do right when the multi interface (both
  265. "regular" and multi_socket) is used for SCP and SFTP transfers. This should
  266. result in (much) less busy-loop situations and thus less CPU usage with no
  267. speed loss.
  268. Daniel Stenberg (17 Dec 2008)
  269. - SCP and SFTP with the multi interface had the same flaw: the 'DONE'
  270. operation didn't complete properly if the EAGAIN equivalent was returned but
  271. libcurl would simply continue with a half-completed close operation
  272. performed. This ruined persistent connection re-use and cause some
  273. SSH-protocol errors in general. The correction is unfortunately adding a
  274. blocking function - doing it entirely non-blocking should be considered for
  275. a better fix.
  276. Gisle Vanem (16 Dec 2008)
  277. - Added the possibility to use the Watt-32 tcp/ip stack under Windows.
  278. The change simply involved adding a USE_WATT32 section in the
  279. config-win32.h files (under ./lib and ./src). This section disables
  280. the use of any Winsock headers.
  281. Daniel Stenberg (16 Dec 2008)
  282. - libssh2_sftp_last_error() was wrongly used at some places in libcurl which
  283. made libcurl sometimes not properly abort problematic SFTP transfers.
  284. Daniel Stenberg (12 Dec 2008)
  285. - More work with Igor Novoseltsev to first fix the remaining stuff for
  286. removing easy handles from multi handles when the easy handle is/was within
  287. a HTTP pipeline. His bug report #2351653
  288. (http://curl.haxx.se/bug/view.cgi?id=2351653) was also related and was
  289. eventually fixed by a patch by Igor himself.
  290. Yang Tse (12 Dec 2008)
  291. - Patrick Monnerat fixed a build regression, introduced in 7.19.2, affecting
  292. OS/400 compilations with IPv6 enabled.
  293. Daniel Stenberg (12 Dec 2008)
  294. - Mark Karpeles filed bug report #2416182 titled "crash in ConnectionExists
  295. when using duphandle+curl_mutli"
  296. (http://curl.haxx.se/bug/view.cgi?id=2416182) which showed that
  297. curl_easy_duphandle() wrongly also copied the pointer to the connection
  298. cache, which was plain wrong and caused a segfault if the handle would be
  299. used in a different multi handle than the handle it was duplicated from.
  300. Daniel Stenberg (11 Dec 2008)
  301. - Keshav Krity found out that libcurl failed to deal with dotted IPv6
  302. addresses if they were very long (>39 letters) due to a too strict address
  303. validity parser. It now accepts addresses up to 45 bytes long.
  304. Daniel Stenberg (11 Dec 2008)
  305. - Internet Explorer had a broken HTTP digest authentication before v7 and
  306. there are servers "out there" that relies on the client doing this broken
  307. Digest authentication. Apache even comes with an option to work with such
  308. broken clients.
  309. The difference is only for URLs that contain a query-part (a '?'-letter and
  310. text to the right of it).
  311. libcurl now supports this quirk, and you enable it by setting the
  312. CURLAUTH_DIGEST_IE bit in the bitmask you pass to the CURLOPT_HTTPAUTH or
  313. CURLOPT_PROXYAUTH options. They are thus individually controlled to server
  314. and proxy.
  315. (note that there's no way to activate this with the curl tool yet)
  316. Daniel Fandrich (9 Dec 2008)
  317. - Added test cases 1089 and 1090 to test --write-out after a redirect to
  318. test a report that the size didn't work, but these test cases pass.
  319. - Documented CURLOPT_CONNECT_ONLY as being useful only on HTTP URLs.
  320. Daniel Stenberg (9 Dec 2008)
  321. - Ken Hirsch simplified how libcurl does FTPS: now it doesn't assume any
  322. particular state for the control connection like it did before for implicit
  323. FTPS (libcurl assumed such control connections to be encrypted while some
  324. FTPS servers such as FileZilla assumes such connections to be clear
  325. mode). Use the CURLOPT_USE_SSL option to set your desired level.
  326. Daniel Stenberg (8 Dec 2008)
  327. - Fred Machado posted about a weird FTP problem on the curl-users list and when
  328. researching it, it turned out he got a 550 response back from a SIZE command
  329. and then I fell over the text in RFC3659 that says:
  330. The presence of the 550 error response to a SIZE command MUST NOT be taken
  331. by the client as an indication that the file cannot be transferred in the
  332. current MODE and TYPE.
  333. In other words: the change I did on September 30th 2008 and that has been
  334. included in the last two releases were a regression and a bad idea. We MUST
  335. NOT take a 550 response from SIZE as a hint that the file doesn't exist.
  336. - Christian Krause filed bug #2221237
  337. (http://curl.haxx.se/bug/view.cgi?id=2221237) that identified an infinite
  338. loop during GSS authentication given some specific conditions. With his
  339. patience and great feedback I managed to narrow down the problem and
  340. eventually fix it although I can't test any of this myself!
  341. Daniel Fandrich (3 Dec 2008)
  342. - Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6
  343. support (e.g. Minix)
  344. Daniel Stenberg (3 Dec 2008)
  345. - Igor Novoseltsev filed bug #2351645
  346. (http://curl.haxx.se/bug/view.cgi?id=2351645) that identified a problem with
  347. the multi interface that occured if you removed an easy handle while in
  348. progress and the handle was used in a HTTP pipeline.
  349. - Pawel Kierski pointed out a mistake in the cookie code that could lead to a
  350. bad fclose() after a fatal error had occured.
  351. (http://curl.haxx.se/bug/view.cgi?id=2382219)
  352. Daniel Fandrich (25 Nov 2008)
  353. - If a HTTP request is Basic and num is already >=1000, the HTTP test
  354. server adds 1 to num to get the data section to return. This allows
  355. testing authentication negotiations using the Basic authentication
  356. method.
  357. - Added tests 1087 and 1088 to test Basic authentication on a redirect
  358. with and without --location-trusted
  359. Daniel Stenberg (24 Nov 2008)
  360. - Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19
  361. function when built to support SCP and SFTP that helps the library to know
  362. in which direction a particular libssh2 operation would return EAGAIN so
  363. that libcurl knows what socket conditions to wait for before trying the
  364. function call again. Previously (and still when using libssh2 0.18 or
  365. earlier), libcurl will busy-loop in this situation when the easy interface
  366. is used!
  367. Daniel Fandrich (20 Nov 2008)
  368. - Automatically detect OpenBSD's CA cert bundle.
  369. Daniel Stenberg (19 Nov 2008)
  370. - I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
  371. used. It has been used since forever but it was never a good idea to use
  372. unless explicitly asked for.
  373. - Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
  374. you use runtests.pl -g, will be sourced by gdb to allow additional fancy or
  375. whatever you see fit
  376. - Christian Krause reported and fixed a memory leak that would occur with HTTP
  377. GSS/kerberos authentication (http://curl.haxx.se/bug/view.cgi?id=2284386)
  378. - Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got
  379. when uploading files to a single FTP server using multiple easy handle
  380. handles with the multi interface. Occasionally a handle would stall in
  381. mysterious ways.
  382. The problem turned out to be a side-effect of the ConnectionExists()
  383. function's eagerness to re-use a handle for HTTP pipelining so it would
  384. select it even if already being in use, due to an inadequate check for its
  385. chances of being used for pipelnining.
  386. Daniel Fandrich (17 Nov 2008)
  387. - Added more compiler warning options for gcc 4.3
  388. Yang Tse (17 Nov 2008)
  389. - Fix a remaining problem in the inet_pton() runtime configure check. And
  390. fix internal Curl_inet_pton() failures to reject certain malformed literals.
  391. - Make configure script check if ioctl with the SIOCGIFADDR command can be
  392. used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
  393. Daniel Stenberg (16 Nov 2008)
  394. - Christian Krause fixed a build failure when building with gss support
  395. enabled and FTP disabled.
  396. - Added check for NULL returns from strdup() in src/main.c and lib/formdata.c
  397. - reported by Jim Meyering also prevent buffer overflow on MSDOS when you do
  398. for example -O on a url with a file name part longer than PATH_MAX letters
  399. - lib/nss.c fixes based on the report by Jim Meyering: I went over and added
  400. checks for return codes for all calls to malloc and strdup that were
  401. missing. I also changed a few malloc(13) to use arrays on the stack and a
  402. few malloc(PATH_MAX) to instead use aprintf() to lower memory use.
  403. - I fixed a memory leak in Curl_nss_connect() when CURLOPT_ISSUERCERT is
  404. in use.
  405. Daniel Fandrich (14 Nov 2008)
  406. - Added .xml as one of the few common file extensions known by the multipart
  407. form generator.
  408. - Added some #ifdefs around header files and change the EAGAIN test to
  409. fix compilation on Cell (reported by Jeff Curley).
  410. Yang Tse (14 Nov 2008)
  411. - Fixed several configure script issues affecting checks for inet_ntoa_r(),
  412. inet_ntop(), inet_pton(), getifaddrs(), fcntl() and getaddrinfo().
  413. Yang Tse (13 Nov 2008)
  414. - Refactored configure script detection of functions used to set sockets into
  415. non-blocking mode, and decouple function detection from function capability.
  416. Version 7.19.2 (13 November 2008)
  417. Michal Marek (13 Nov 2008)
  418. - Fixed a potential data loss in Curl_client_write() when the transfer is
  419. paused.
  420. Daniel Stenberg (11 Nov 2008)
  421. - Rainer Canavan filed bug #2255627
  422. (http://curl.haxx.se/bug/view.cgi?id=2255627) which pointed out that a
  423. program using libcurl's multi interface to download a HTTPS page with a
  424. libcurl built powered by OpenSSL, would easily get silly and instead hand
  425. over SSL details as data instead of the actual HTTP headers and body. This
  426. happened because libcurl would consider the connection handshake done too
  427. early. This problem was introduced at September 22nd 2008 with my fix of the
  428. bug #2107377
  429. The correct fix is now instead done within the GnuTLS-handling code, as both
  430. the OpenSSL and the NSS code already deal with this situation in similar
  431. fashion. I added test case 560 in an attempt to verify this fix, but
  432. unfortunately it didn't trigger it even before this fix!
  433. Yang Tse (11 Nov 2008)
  434. - Related with bug #2230535 (http://curl.haxx.se/bug/view.cgi?id=2230535)
  435. Daniel Fandrich noticed that curl_addrinfo was also missing in the build
  436. process of other four non-configure platforms. Added now.
  437. Daniel Fandrich (7 Nov 2008)
  438. - The getifaddrs() version of Curl_if2ip() crashed when used on a Linux
  439. system with a TEQL load-balancing device configured, which doesn't
  440. have an address. Thanks to Adam Sampson for spotting this (bug #2234923).
  441. Yang Tse (6 Nov 2008)
  442. - Merged existing IPv4 and IPv6 Curl_ip2addr functions into a single one
  443. which now also takes a protocol address family argument.
  444. - Bug #2230535 (http://curl.haxx.se/bug/view.cgi?id=2230535) pointed out a
  445. problem with MSVC 6 makefile that caused a build failure. It was noted that
  446. the curl_addrinfo.obj reference was missing. I took the opportunity to sort
  447. the list in which this was missing. Issue submitted by John Wilkinson.
  448. Version 7.19.1 (5 November 2008)
  449. Daniel Stenberg (4 Nov 2008)
  450. - CURLINFO_FILETIME now works for file:// transfers as well
  451. Daniel Stenberg (3 Nov 2008)
  452. - Bug #2218480 (http://curl.haxx.se/bug/view.cgi?id=2218480) pointed out a
  453. problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL
  454. pointer read. I also took the opportunity to clean up this logic (storing of
  455. the connection's IP address) somewhat as we had it stored in two different
  456. places and ways previously and they are now unified.
  457. Yang Tse (3 Nov 2008)
  458. - Fix undersized IPv6 address internal buffer. IPv6 address strings longer
  459. than 35 characters would be truncated.
  460. Daniel Stenberg (2 Nov 2008)
  461. - Daniel Johnson reported and fixed:
  462. When c-ares isn't enabled, libcurl by default calls getaddrinfo with family
  463. set to PF_UNSPEC which causes getaddrinfo to return all available addresses,
  464. both IPv4 and IPv6. Libcurl then tries each one until it can connect. If the
  465. net connection doesn't support IPv6, libcurl can still fall back to IPv4.
  466. However, since c-ares doesn't support PF_UNSPEC, when it's used it defaults
  467. to using family=PF_INET6 and therefore only returns IPv6 addresses when AAAA
  468. records are available, even if IPv4 addresses are also available. The effect
  469. is that since my ISP doesn't do IPv6, libcurl can't connect at all to a site
  470. that has AAAA records. It will work if I explicitly use CURL_IPRESOLVE_V4 or
  471. --ipv4 with the curl tool. I discovered this when curl would fail to connect
  472. to seemingly random sites. It turns out they weren't random, they were sites
  473. with AAAA records.
  474. So now libcurl defaults to PF_INET... until c-ares has been tought to offer
  475. both.
  476. Yang Tse (31 Oct 2008)
  477. - Tests 558 and 559 are stabilized. These two tests were initially introduced
  478. to aid in the location of a seg-fault which was only triggered on non-debug
  479. builds done with the icc 9.1 Intel compiler. Test 558 does not trigger the
  480. problem, but test 559 does trigger it. As of today, it isn't yet absolutely
  481. clear if it is a compiler optimizer issue or a memory corruption one.
  482. Yang Tse (30 Oct 2008)
  483. - Use our Curl_addrinfo structure definition to handle address info data even
  484. when a system addrinfo struct is available. Provide and use a wrapper around
  485. systems getaddrinfo function, Curl_getaddrinfo_ex which returns a pointer to
  486. a list of dynamically allocated Curl_addrinfo structs.
  487. Configure will check freeaddrinfo and getaddrinfo functions and define
  488. preprocessor symbols HAVE_FREEADDRINFO and HAVE_GETADDRINFO when appropriate.
  489. Daniel Fandrich (29 Oct 2008)
  490. - Fixed a bug that caused a few bytes of garbage to be sent after a
  491. curl_easy_pause() during a chunky upload. Reported by Steve Roskowski.
  492. Daniel Fandrich (28 Oct 2008)
  493. - Changed the "resolve" test precheck program to verify that an IPv6 socket
  494. can be created before resolving the IPv6 name. In the context of running
  495. a test, it doesn't make sense to run an IPv6 test when a host is resolvable
  496. but IPv6 isn't usable. This should fix failures of test 1085 on hosts with
  497. library and DNS support for IPv6 but where actual use of IPv6 has been
  498. administratively disabled.
  499. Daniel Fandrich (24 Oct 2008)
  500. - Added experimental support for zlib and OpenSSL on Symbian OS.
  501. Daniel Fandrich (21 Oct 2008)
  502. - Fixed some problems with SFTP range support to fix test cases 634 through
  503. 637.
  504. Daniel Fandrich (17 Oct 2008)
  505. - Fixed a compile error reported by Albert Chin on AIX and IRIX when using
  506. GTLS.
  507. Daniel Stenberg (16 Oct 2008)
  508. - Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then
  509. make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding
  510. these new options is that they have no problems with the colon separator
  511. that the CURLOPT_PROXYUSERPWD option does.
  512. Daniel Stenberg (15 Oct 2008)
  513. - Pascal Terjan filed bug #2154627
  514. (http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl
  515. uses strcasecmp() in multiple places where it causes failures when the
  516. Turkish locale is used. This is because 'i' and 'I' isn't the same letter so
  517. strcasecmp() on those letters are different in Turkish than in English (or
  518. just about all other languages). I thus introduced a totally new internal
  519. function in libcurl (called Curl_raw_equal) for doing case insentive
  520. comparisons for english-(ascii?) style strings that thus will make "file"
  521. and "FILE" match even if the Turkish locale is selected.
  522. Daniel Fandrich (15 Oct 2008)
  523. - A <precheck> command is considered to have failed if it returns a non-zero
  524. return code. This way, if the precheck command can't be run at all for
  525. whatever reason, it's treated as a precheck failure which causes the
  526. test to be skipped.
  527. Daniel Stenberg (15 Oct 2008)
  528. - John Wilkinson filed bug #2155496
  529. (http://curl.haxx.se/bug/view.cgi?id=2155496) pointing out an error case
  530. without a proper human-readable error message. When a read callback returns
  531. a too large value (like when trying to return a negative number) it would
  532. trigger and the generic error message then makes the proplem slightly
  533. different to track down. I've added an error message for this now.
  534. Daniel Fandrich (9 Oct 2008)
  535. - Fixed the --interface option to work with IPv6 connections on glibc
  536. systems supporting getifaddrs(). Also fixed a problem where an IPv6
  537. address could be chosen instead of an IPv4 one for --interface when it
  538. involved a name lookup.
  539. Daniel Fandrich (8 Oct 2008)
  540. - Added tests 1082 through 1085 to test symbolic --interface parameters
  541. - Added tests 633 through 637 to test the new file range support for SFTP.
  542. All but the first test cause an infinite loop or other failure and so
  543. are added to DISABLED.
  544. Daniel Stenberg (8 Oct 2008)
  545. - John Wilkinson filed bug #2152270
  546. (http://curl.haxx.se/bug/view.cgi?id=2152270) which identified and fixed a
  547. CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing:
  548. Any subsequent transfer with a redirect leaks memory, eventually crashing
  549. the process potentially.
  550. Any subsequent transfer WITHOUT a redirect causes the most recent redirect
  551. that DID occur on some previous transfer to still be reported.
  552. - Igor Novoseltsev filed bug #2111613
  553. (http://curl.haxx.se/bug/view.cgi?id=2111613) that eventually identified a
  554. flaw in how the multi_socket interface in some cases missed to call the
  555. timeout callback when easy interfaces are removed and added within the same
  556. millisecond.
  557. - Igor Novoseltsev brought a patch that introduced two new options to
  558. curl_easy_setopt: CURLOPT_USERNAME and CURLOPT_PASSWORD that sort of
  559. deprecates the good old CURLOPT_USERPWD since they allow applications to set
  560. the user name and password independently and perhaps more importantly allow
  561. both to contain colon(s) which CURLOPT_USERPWD doesn't fully support.
  562. Daniel Fandrich (7 Oct 2008)
  563. - Changed the handling of read/write errors in Curl_perform() to allow a
  564. a fresh connection to be made in such cases and the request retransmitted.
  565. This should fix test case 160. Added test case 1079 in an attempt to
  566. test a similar connection dropping scenario, but as a race condition, it's
  567. hard to test reliably.
  568. - Created test cases 1080 and 1081 to reproduce a problem of
  569. CURLINFO_REDIRECT_URL leaking memory and returning incorrect results when
  570. two URLs are requested. Reported by vmpdemo in bug #2152270
  571. Daniel Stenberg (7 Oct 2008)
  572. - Fixed CURLINFO_PRIMARY_IP: When libcurl created a connection to host A then
  573. the app re-used the handle to do a connection to host B and then again
  574. re-used the handle to host A, it would not update the info with host A's IP
  575. address (due to the connection being re-used) but it would instead report
  576. the info from host B.
  577. Yang Tse (7 Oct 2008)
  578. - Added --enable-optimize configure option to enable and disable compiler
  579. optimizations to allow decoupled setting from --enable-debug.
  580. Yang Tse (2 Oct 2008)
  581. - Added --enable-warnings configure option to enable and disable strict
  582. compiler warnings to allow decoupled setting from --enable-debug.
  583. runtests.pl will now run with picky compiler warnings enabled unless
  584. explicitly disabled.
  585. Daniel Fandrich (1 Oct 2008)
  586. - "make clean" now cleans out the docs and tests directories, too.
  587. Daniel Stenberg (30 Sep 2008)
  588. - The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZE
  589. gets a 550 response back for the cases where a download (or NOBODY) is
  590. wanted. It still allows a 550 as response if the SIZE is used as part of an
  591. upload process (like if resuming an upload is requested and the file isn't
  592. there before the upload). I also modified the FTP test server and a few test
  593. cases accordingly to match this modified behavior.
  594. Daniel Stenberg (29 Sep 2008)
  595. - Daniel Egger provided a patch that allows you to disable proxy support in
  596. libcurl to somewhat reduce the size of the binary. Run configure
  597. --disable-proxy.
  598. Daniel Fandrich (29 Sep 2008)
  599. - Moved all signal-based name resolution timeout handling into a single new
  600. Curl_resolv_timeout function to reduce coupling.
  601. Daniel Stenberg (29 Sep 2008)
  602. - Ian Lynagh provided a patch that now makes CURLOPT_RANGE work fine for SFTP
  603. downloads!
  604. - Maxim Ivanov filed bug report #2107803
  605. (http://curl.haxx.se/bug/view.cgi?id=2107803) "no CURLINFO_REDIRECT_URL in
  606. multi mode" together with a patch that fixed the problem.
  607. Daniel Stenberg (25 Sep 2008)
  608. - Emanuele Bovisio submitted bug report #2126435. We fixed the HTTP Digest
  609. auth code to not behave badly when getting a blank realm with
  610. realm="". http://curl.haxx.se/bug/view.cgi?id=2126435
  611. Daniel Fandrich (23 Sep 2008)
  612. - Make sure not to dereference the wrong UrlState proto union member when
  613. switching from one protocol to another in a single request (e.g.
  614. redirecting from HTTP to FTP as in test 1055) by resetting
  615. state.expect100header before every request.
  616. Daniel Stenberg (23 Sep 2008)
  617. - Introducing Jamie Lokier's function for date to epoch conversion used in the
  618. date parser function. This makes our function less dependent on system-
  619. provided functions and instead we do all the magic ourselves. We also no
  620. longer depend on the TZ environment variable. Switching to our own converter
  621. has some side-effect and they are noted here for future reference (taken
  622. from a mail by mr Lokier):
  623. time_t is not measured in seconds in the ANSI C standard - or even counted
  624. uniformly - weird platforms can use other numeric representations of dates
  625. in time_t - hence the difftime() function.
  626. On POSIX time_t is measured in UTC seconds, which means not including leap
  627. seconds. But it's mentioned in a few places that some old POSIX-ish
  628. environments include leap seconds in their time_t counts...
  629. I'm pretty sure [the new implementation is] correct on anything truly POSIX.
  630. And it's obviously a lot less dependent on platform quirks and corner cases
  631. in many ways than the mktime() version.
  632. - Rob Crittenden brought a patch to "add some locking for thread-safety to NSS
  633. implementation".
  634. Daniel Stenberg (22 Sep 2008)
  635. - Made the SOCKS code use the new Curl_read_plain() function to fix the bug
  636. Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html
  637. - recv() errors other than those equal to EAGAIN now cause proper
  638. CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now
  639. disabled it until we can figure out another way to exercise that logic.
  640. - Michael Goffioul filed bug report #2107377 "Problem with multi + GnuTLS +
  641. proxy" (http://curl.haxx.se/bug/view.cgi?id=2107377) that showed how a multi
  642. interface using program didn't work when built with GnuTLS and a CONNECT
  643. request was done over a proxy (basically test 502 over a proxy to a HTTPS
  644. site). It turned out the ssl connect function would get called twice which
  645. caused the second call to fail.
  646. Daniel Fandrich (22 Sep 2008)
  647. - Fixed test 539 to handle an out of memory condition that shows up now
  648. that memdebug.h is included in the test programs.
  649. Yang Tse (20 Sep 2008)
  650. - Fix regression in configure script which affected OpenSSL builds on MSYS.
  651. Yang Tse (19 Sep 2008)
  652. - configure script now checks availability of the alarm() function.
  653. Daniel Fandrich (18 Sep 2008)
  654. - Don't bother to install a SIGALRM handler unless alarm() is available.
  655. Also, leave the existing SIGALRM handler alone if the timeout is too small
  656. to handle.
  657. Daniel Fandrich (17 Sep 2008)
  658. - Removed reference to curl-ca-bundle.crt in the host verification failure
  659. error message.
  660. Yang Tse (17 Sep 2008)
  661. - Improve configure detection of gethostname(), localtime_r(), strstr(),
  662. getservbyport_r(), gethostbyaddr_r() and gethostbyname_r().
  663. Yang Tse (14 Sep 2008)
  664. - Improve configure detection of strcasecmp(), strcasestr(), strcmpi(),
  665. stricmp(), strlcat(), strncasecmp(), strncmpi() and strnicmp().
  666. Yang Tse (13 Sep 2008)
  667. - Disable tracking of fdopen() calls in the low-level memory leak tracking
  668. code when fdopen() is not available, to avoid compiler error.
  669. Yang Tse (12 Sep 2008)
  670. - Further adjust detection of strerror_r() in the configure process, and
  671. ensure that errno is not modified inside Curl_strerror().
  672. Yang Tse (10 Sep 2008)
  673. - Improve detection of gmtime_r(), strtoll(), sigaction(), strtok_r(),
  674. strdup() and ftruncate() in the configure process.
  675. Daniel Fandrich (9 Sep 2008)
  676. - Mike Revi discovered some swapped speed switches documented in the curl man
  677. page.
  678. - Checked in some documentation and code improvements and fixes that I
  679. discovered in the FreeBSD ports system.
  680. Daniel Stenberg (8 Sep 2008)
  681. - Dmitry Kurochkin patched a problem: I have found bug in pipelining through
  682. proxy. I have a transparent proxy. When running with http_proxy environment
  683. variable not set my test completes fine (it goes through transparent
  684. proxy). When I set http_proxy variable my test hangs after the first
  685. downloaded is complete. Looks like the second handle never gets out from
  686. WAITDO state.
  687. The fix: It makes checkPendPipeline move 1 handler from pend pipe to send
  688. pipe if pipelining is not supported by server but there are no handles in
  689. send and recv pipes.
  690. - Stefan Krause pointed out that libcurl would wrongly send away cookies to
  691. sites in cases where the cookie clearly has a very old expiry date. The
  692. condition was simply that libcurl's date parser would fail to convert the
  693. date and it would then count as a (timed-based) match. Starting now, a
  694. missed date due to an unsupported date format or date range will now cause
  695. the cookie to not match.
  696. Daniel Fandrich (5 Sep 2008)
  697. - Improved the logic that decides whether to use HTTP 1.1 features or not in a
  698. request. Setting a specific version with CURLOPT_HTTP_VERSION overrides
  699. all other checks, but otherwise, a 1.0 request will be made if the server
  700. is known to support only 1.0 because it previously responded so and the
  701. connection was kept alive, or a response to a previous request on this handle
  702. came back as 1.0. The latter could take place in cases like redirection or
  703. authentication where several requests have to be made before the operation
  704. is complete. If any one of the servers in a redirection chain supports only
  705. 1.0, then remaining requests will be sent in 1.0 mode.
  706. - Detect cases where an upload must be sent chunked and the server supports
  707. only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
  708. Daniel Stenberg (5 Sep 2008)
  709. - Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames
  710. CURLOPT_POST301 (but adds a define for backwards compatibility for you who
  711. don't define CURL_NO_OLDIES). This option allows you to now also change the
  712. libcurl behavior for a HTTP response 302 after a POST to not use GET in the
  713. subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the
  714. patch somewhat before commit. The curl tool got a matching --post302
  715. option. Test case 1076 was added to verify this.
  716. - Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By
  717. enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS
  718. or FTPS), libcurl will gather lots of server certificate info and that info
  719. can then get extracted by a client after the request has completed with
  720. curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing
  721. helped me test and smoothen out this feature.
  722. Unfortunately, this feature currently only works with libcurl built to use
  723. OpenSSL.
  724. This feature was sponsored by networking4all.com - thanks!
  725. - Dmitriy Sergeyev pointed out that curl_easy_pause() didn't unpause properly
  726. during certain conditions. I also changed this code to use realloc() based
  727. on Daniel Fandrich's suggestion.
  728. Guenter Knauf (4 Sep 2008)
  729. - MingW32 non-configure builds are now largefile feature enabled by default.
  730. NetWare LIBC builds are also now largefile feature enabled by default.
  731. Yang Tse (4 Sep 2008)
  732. - Several fixes related with print formatting string directives.
  733. Daniel Fandrich (3 Sep 2008)
  734. - Search for the FreeBSD CA cert file /usr/local/share/certs/ca-root.crt
  735. Daniel Fandrich (2 Sep 2008)
  736. - Fixed an out of memory problem that caused torture test failures in tests
  737. 706 and 707.
  738. Daniel Stenberg (2 Sep 2008)
  739. - Keith Mok added supported_protocols and supported_features to the pkg-config
  740. file for libcurl, and while doing that fix he unified with curl-config.in
  741. how the supported protocols and features are extracted and used, so both those
  742. tools should now always be synced.
  743. Version 7.19.0 (1 September 2008)
  744. Daniel Fandrich (29 Aug 2008)
  745. - Added tests 1071 through 1074 to test automatic downgrading from HTTP 1.1
  746. to HTTP 1.0 upon receiving a response from the HTTP server. Tests 1072
  747. and 1073 are similar to test 1069 in that they involve the impossible
  748. scenario of sending chunked data to a HTTP 1.0 server. All these fail
  749. and are added to DISABLED.
  750. - Added test 1075 to test --anyauth with Basic authentication.
  751. Daniel Stenberg (29 Aug 2008)
  752. - When libcurl was doing a HTTP POST and the server would respond with
  753. "Connection: close" and actually close the connection after the
  754. response-body, libcurl could still have outstanding data to send and it
  755. would not properly notice this and stop sending. This caused weirdness and
  756. sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222
  757. Note that there are still reasons to consider libcurl's behavior when
  758. getting a >= 400 response code while sending data, as Craig Perras' note
  759. "http upload: how to stop on error" specifies:
  760. http://curl.haxx.se/mail/archive-2008-08/0138.html
  761. Daniel Stenberg (28 Aug 2008)
  762. - Dengminwen reported that libcurl would lock a (cookie) share twice (without
  763. an unlock in between) for a certain case and that in fact works when using
  764. regular windows mutexes but not with pthreads'! Locks should of course not
  765. get locked again so this is now fixed.
  766. http://curl.haxx.se/mail/lib-2008-08/0422.html
  767. - I'm abandoning the system with the web site mirrors (but keeping download
  768. files bing mirrored) and thus I've changed the URL in the cookiejar header
  769. to no longer use curlm.haxx.se but instead use the main site curl.haxx.se
  770. Daniel Fandrich (27 Aug 2008)
  771. - Fixed test case 1065 by changing the handling of CURLOPT_UPLOAD to set
  772. the HTTP method to GET (or HEAD) when given a value of 0.
  773. - Added test cases 1068 and 1069 to test a simple HTTP PUT from stdin. Test
  774. case 1069 fails in a similar manner to test 1065 so is added to DISABLED.
  775. Yang Tse (27 Aug 2008)
  776. - Fix generation of MS VC6 .dsp file to make it support compilation of either
  777. dynamic (DLL) or static (LIB) libcurl libraries in debug and release modes.
  778. Daniel Fandrich (26 Aug 2008)
  779. - Fixed out of memory problems that caused torture test failures in tests
  780. 1021 and 1067.
  781. Yang Tse (26 Aug 2008)
  782. - Added check and symbol definition for WIN32 file API usage in configure,
  783. supporting configure's --disable-largefile option for WIN32 targets also.
  784. - Non-configure systems which do not use config-win32.h configuration file,
  785. and want to use the WIN32 file API, must define USE_WIN32_LARGE_FILES or
  786. USE_WIN32_SMALL_FILES as appropriate in their own configuration files.
  787. Daniel Stenberg (23 Aug 2008)
  788. - Running 'make ca-firefox' in the root build dir will now run the new
  789. firefox-db2pem.sh conversion script that converts a local Firefox db of ca
  790. certs into PEM format, suitable for use with a OpenSSL or GnuTLS built
  791. libcurl.
  792. - Constantine Sapuntzakis fixed a bug when doing proxy CONNECT with the multi
  793. interface, and the proxy would send Connection: close during the
  794. authentication phase. http://curl.haxx.se/bug/view.cgi?id=2069047
  795. Daniel Fandrich (22 Aug 2008)
  796. - Fixed a problem when --dump-header - was given with more than one URL,
  797. which caused an error when the second header was dumped due to stdout
  798. being closed. Added test case 1066 to verify. Also fixed a potential
  799. problem where a closed file descriptor might be used for an upload
  800. when more than one URL is given.
  801. Yang Tse (22 Aug 2008)
  802. - Improved libcurl's internal curl_m*printf() functions integral data type
  803. size and signedness handling.
  804. - Internal adjustments to better select/differentiate when large/small file
  805. support is provided using WIN32 functions directly.
  806. Daniel Fandrich (20 Aug 2008)
  807. - Added an edited version of Vincent Le Normand's documentation of SFTP quote
  808. commands to the man pages.
  809. Daniel Stenberg (20 Aug 2008)
  810. - Phil Pellouchoud pointed out that the windows version of libcurl had a
  811. memory leak because it never called the OpenSSL function
  812. CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a
  813. missing define in config-win32.h!
  814. Gisle Vanem (18 Aug 2008)
  815. - Updated lib/Makefile.Watcom with the option to use c-ares (USE_ARES=1).
  816. Yang Tse (18 Aug 2008)
  817. - Added test case 557 to verify libcurl's internal curl_m*printf() functions
  818. formatting functionality when handling signed and unsigned longs, as well as
  819. our curl_off_t data type.
  820. Yang Tse (17 Aug 2008)
  821. - OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory
  822. when including the OpenSSL header files. This is the recommended setting, this
  823. prevents the undesired inclusion of header files with the same name as those
  824. of OpenSSL but which do not belong to the OpenSSL package. The visible change
  825. from previously released libcurl versions is that now OpenSSl enabled NetWare
  826. builds also define USE_OPENSSL in config files, and that OpenSSL header files
  827. must be located in a subdirectory named 'openssl'.
  828. Yang Tse (16 Aug 2008)
  829. - Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
  830. remain in use as internal curl_off_t print formatting strings for the internal
  831. *printf functions which still cannot handle print formatting string directives
  832. such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
  833. other DOS/Windows compilers.
  834. Daniel Fandrich (15 Aug 2008)
  835. - Added test case 1063 to test invalid long file ranges with file: URLs and
  836. 1064 to test multiple http PUTs.
  837. - Added test case 1065 to test a PUT with a single file but two URLs. This
  838. was discovered to be problematic while investigating an incident reported by
  839. Von back in May. curl in this case doesn't include a Content-Length: or
  840. Transfer-Encoding: chunked header which is illegal. This test case is
  841. added to DISABLED until a solution is found.
  842. Yang Tse (15 Aug 2008)
  843. - C preprocessor macros used internally and equally available externally which
  844. aid in the use of the curl_off_t data type are named: CURL_FORMAT_CURL_OFF_T,
  845. CURL_FORMAT_CURL_OFF_TU, CURL_SIZEOF_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_T,
  846. CURL_SUFFIX_CURL_OFF_TU, CURL_OFF_T_C and CURL_OFF_TU_C.
  847. Yang Tse (13 Aug 2008)
  848. - The size of long is a build time characteristic and as such it is now recorded
  849. in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process
  850. and in CVS curlbuild.h.dist for non-configure systems.
  851. Daniel Fandrich (12 Aug 2008)
  852. - Fixed a buffer overflow problem in Curl_proxyCONNECT that could occur
  853. when a server responded with long headers and data. Luckily, the buffer
  854. overflowed into another unused buffer, so no actual harm was done.
  855. Added test cases 1060 and 1061 to verify.
  856. Daniel Stenberg (12 Aug 2008)
  857. - Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel
  858. _directory_ if that happened to appear in the path!
  859. Yang Tse (12 Aug 2008)
  860. - Added macros for minimum-width signed and unsigned curl_off_t integer
  861. constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro
  862. used internally to provide its functionality is thanks to Lars Nilsson.
  863. Daniel Fandrich (11 Aug 2008)
  864. - Fixed a boundary condition error in ftp_readresp() whereby a non-terminal
  865. line of a multiline FTP response whose last byte landed exactly at the end
  866. of the BUFSIZE-length buffer would be treated as the terminal response
  867. line. The following response code read in would then actually be the
  868. end of the previous response line, and all responses from then on would
  869. correspond to the wrong command. Test case 1062 verifies this.
  870. - Stop closing a never-opened ftp socket.
  871. Daniel Stenberg (11 Aug 2008)
  872. - Constantine Sapuntzakis filed bug report #2042430
  873. (http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows
  874. SSPI code is not thread safe". This was due to libcurl using static
  875. variables to tell wether to load the necessary SSPI DLL, but now the loading
  876. has been moved to the more suitable curl_global_init() call.
  877. - Constantine Sapuntzakis filed bug report #2042440
  878. (http://curl.haxx.se/bug/view.cgi?id=2042440) with a patch. He identified a
  879. problem when using NTLM over a proxy but the end-point does Basic, and then
  880. libcurl would do wrong when the host sent "Connection: close" as the proxy's
  881. NTLM state was erroneously cleared.
  882. Yang Tse (11 Aug 2008)
  883. - Added missing signed and unsigned curl_off_t integer constant suffixes for
  884. internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU.
  885. Daniel Fandrich (7 Aug 2008)
  886. - Fixed an uninitialized variable in multi_runsingle() that could cause a
  887. request to prematurely end.
  888. - Added test1059 to test the FTP proxy tunnel problem fixed July 11.
  889. Yang Tse (7 Aug 2008)
  890. - Added curlbuild.h and curlrules.h header files to libcurl's public headers.
  891. File curlbuild.h is a generated file on configure-capable systems. This is
  892. a first step towards configure-based info in public headers. Currently only
  893. used to provide support for a curl_off_t data type which is not gated to
  894. off_t. Further details are documented inside these mentioned header files.
  895. - Fix CURL_CHECK_DEF so that when the expansion of the preprocessor symbol
  896. results in a set of double-quoted strings, this macro will now return an
  897. expansion which consists of a single double-quoted string as the result of
  898. concatenating all of them.
  899. - Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
  900. - Adjusted testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.h
  901. for non-configure targets when the host system doesn't run buildconf.bat.
  902. - Prevent buildconf from removing 'Makefile' and 'missing' files. This would
  903. blow away our CVS checked files 'missing' and 'hiper/Makefile'.
  904. - Remove adjustment done to testcurl.pl to verify if change introduced by
  905. Guenter Knauf in lib/Makefile.netware is enough to get the netware autobuilds
  906. going again.
  907. Yang Tse (5 Aug 2008)
  908. - Changes done to buildconf script. Validate that autom4te and autoconf, as
  909. well as aclocal and automake, versions match. Improve removal of previous
  910. run generated files. Remove verbose debug logging of aclocal on Solaris.
  911. Daniel Stenberg (5 Aug 2008)
  912. - Yehoshua Hershberg found a problem that would make libcurl re-use a
  913. connection with the multi interface even if a previous use of it caused a
  914. CURLE_PEER_FAILED_VERIFICATION to get returned. I now make sure that failed
  915. SSL connections properly close the connections.
  916. Daniel Stenberg (4 Aug 2008)
  917. - Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 and
  918. proved how PUT and POST with a redirect could lead to a "hang" due to the
  919. data stream not being rewound properly when it had to in order to get sent
  920. properly (again) to the subsequent URL. This is now fixed and these test
  921. cases are no longer disabled.
  922. Yang Tse (4 Aug 2008)
  923. - Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.
  924. Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. 2.62
  925. version of AC_AIX defines _ALL_SOURCE and other four preprocessor symbols
  926. no matter if the system is AIX or not. To keep the traditional behaviour,
  927. and an uniform one across autoconf versions AC_AIX is replaced with our
  928. own internal macro CURL_CHECK_AIX_ALL_SOURCE.
  929. Daniel Stenberg (4 Aug 2008)
  930. - Test case 1041 (added by Daniel Fandrich July 14th) proved a bug where PUT
  931. with -C - sent garbage in the Content-Range: header. I fixed this problem by
  932. making sure libcurl always sets the size of the _entire_ upload if an app
  933. attemps to do resumed uploads since libcurl simply cannot know the size of
  934. what is currently at the server end. Test 1041 is no longer disabled.
  935. Yang Tse (2 Aug 2008)
  936. - No longer test availability of the gdi32 library, nor use it for linking, even
  937. when we have been doing this since revision 1.47 of configure.ac 4 years and
  938. 5 months ago when cross-compiling a Windows target. We actually don't use any
  939. function from the Windows GDI (Graphics Device Interface) related with drawing
  940. or graphics-related operations.
  941. Daniel Fandrich (1 Aug 2008)
  942. - Added support for --append on SFTP uploads. Unfortunately, OpenSSH doesn't
  943. support this so it goes untested.
  944. Yang Tse (1 Aug 2008)
  945. - Configure process now checks if the preprocessor _REENTRANT symbol is already
  946. defined. If it isn't currently defined a set of checks are performed to test
  947. if its definition is required to make visible to the compiler a set of *_r
  948. functions. Finally, if _REENTRANT is already defined or needed it takes care
  949. of making adjustments necessary to ensure that it is defined equally for the
  950. configure process tests and generated config file.
  951. - Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it has
  952. not been in use since revision 1.81 of configure.in 6 years, 9 months ago.
  953. Daniel Fandrich (31 Jul 2008)
  954. - Fixed parsing of an IPv6 proxy address to support a scope identifier,
  955. as well as IPv4 addresses in IPv6 format. Also, better handle the case
  956. of a malformatted IPv6 address (avoid empty and NULL strings).
  957. - Fixed a problem with any FTP URL or any URLs containing an IPv6 address
  958. being mangled when passed to proxies when CURLOPT_PORT is also set
  959. (reported by Pramod Sharma).
  960. - User names embedded in proxy URLs without a password were parsed
  961. incorrectly--the host name is treated as part of the user name and the
  962. port number becomes the password. This can be observed in test 279
  963. (was KNOWN_ISSUE #54).
  964. Daniel Stenberg (30 Jul 2008)
  965. - Phil Blundell added the CURLOPT_ADDRESS_SCOPE option, as well as adjusted
  966. the URL parser to allow numerical IPv6-addresses to be specified with the
  967. scope given, as per RFC4007 - with a percent letter that itself needs to be
  968. URL escaped. For example, for an address of fe80::1234%1 the HTTP URL is:
  969. "http://[fe80::1234%251]/"
  970. - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies a
  971. true bug in libcurl built with OpenSSL. It made curl_easy_getinfo() more or
  972. less always return 0 for CURLINFO_SSL_VERIFYRESULT because the function that
  973. would set it to something non-zero would return before the assign in almost
  974. all error cases. The internal variable is now set to non-zero from the start
  975. of the function only to get cleared later on if things work out fine.
  976. - Made the curl tool's -w option support the %{ssl_verify_result} variable
  977. Daniel Fandrich (30 Jul 2008)
  978. - Added test cases 1052 through 1055 to test uploading data from files
  979. during redirects. Test cases 1052 and 1055 show problems (maybe the same
  980. root cause as 1051) and are disabled.
  981. - Fixed a couple of buffer overflows in the MS-DOS port of the curl tool.
  982. Daniel Fandrich (29 Jul 2008)
  983. - Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOS
  984. and OS/2.
  985. - Added test case 1051 to test Location: following with PUT, as reported
  986. by Ben Sutcliffe. The test when run manually shows a problem in curl
  987. so it's disabled.
  988. Daniel Fandrich (28 Jul 2008)
  989. - Fixed display of the interface bind address in the trace output when it's
  990. an IPv6 address.
  991. - Added test cases 1045 through 1049 as simple tests of --interface using the
  992. localhost interface.
  993. - Added test case 1050 to test --ftp-port with an IPv6 address
  994. Daniel Stenberg (26 Jul 2008)
  995. - David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
  996. overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two
  997. problems, and providing the fix for them:
  998. - CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is
  999. designed for but paused _receiving_ of data!
  1000. - libcurl didn't internally set the read counter to zero when this return
  1001. code was detected, which would potentially lead to junk getting sent to
  1002. the server.
  1003. Daniel Fandrich (26 Jul 2008)
  1004. - Added test 1044 to test large file support in ftp with -I.
  1005. - Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
  1006. address in an IPv6 capable libcurl.
  1007. - Added feature in runtests.pl to select tests based on key word.
  1008. Daniel Fandrich (23 Jul 2008)
  1009. - Changed the long logfile elision code in runtests.pl to properly handle
  1010. lines ending in \r.
  1011. - Changed references to TRUE and FALSE in the curl_easy_setopt man page to
  1012. 1 and zero, respectively, since TRUE and FALSE aren't part of the
  1013. libcurl API.
  1014. Daniel Stenberg (23 Jul 2008)
  1015. - I went over the curl_easy_setopt man page and replaced most references to
  1016. non-zero with the fixed value of 1. We should strive at making options
  1017. support '1' for enabling them mentioned explicitly, as that then will allow
  1018. us for to extend them in the future without breaking older programs.
  1019. Possibly we should even introduce a fancy define to use instead of '1' all
  1020. over...
  1021. Yang Tse (21 Jul 2008)
  1022. - Use the sreadfrom() wrapper to replace recvfrom() in our code.
  1023. Yang Tse (20 Jul 2008)
  1024. - when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will
  1025. now cause the definition, as appropriate, of RECVFROM_TYPE_ARG2_IS_VOID,
  1026. RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID.
  1027. Yang Tse (17 Jul 2008)
  1028. - RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined
  1029. to the data type pointed by its respective argument and not the pointer type.
  1030. Yang Tse (16 Jul 2008)
  1031. - Configure process now checks availability of recvfrom() socket function and
  1032. finds out its return type and the types of its arguments. Added definitions
  1033. for non-configure systems config files, and introduced macro sreadfrom which
  1034. will be used on udp sockets as a recvfrom() wrapper.
  1035. Yang Tse (15 Jul 2008)
  1036. - Added description/comment to include paths used in several Makefile.am files.
  1037. Added automake option nostdinc to test servers makefile and modified libcurl
  1038. external headers include path for libtest programs.
  1039. Daniel Fandrich (14 Jul 2008)
  1040. - Added test1040 through test1043 to test -C - on HTTP. Test 1041 failed so
  1041. it's added to DISABLED.
  1042. Yang Tse (14 Jul 2008)
  1043. - HTTP_ONLY definition check in lib/setup.h is now done once that configuration
  1044. file has been included. In this way if symbol is defined in the config file
  1045. it will no longer be ignored. Removed inclusion of remaining system header
  1046. files from configuration files. Moved _REENTRANT definition up/earlier in
  1047. lib/setup.h
  1048. Yang Tse (11 Jul 2008)
  1049. - Added missing multiple header inclusion prevention definition for header
  1050. file content_encoding.h
  1051. Daniel Fandrich (11 Jul 2008)
  1052. - Fixed test 553 to pass the torture test.
  1053. Daniel Stenberg (11 Jul 2008)
  1054. - Daniel Fandrich found out we didn't pass on the user-agent properly when
  1055. doing "proxy-tunnels" with non-HTTP prototols and that was simply because
  1056. the code assumed the user-agent was only needed for HTTP.
  1057. Daniel Fandrich (10 Jul 2008)
  1058. - Changed slightly the SFTP quote commands chmod, chown and chgrp to only
  1059. set the attribute that has changed instead of all possible ones. Hopefully,
  1060. this will solve the "Permission denied" problem that Nagarajan Sreenivasan
  1061. reported when setting some modes, but regardless, it saves a protocol
  1062. round trip in the chmod case.
  1063. - Added test cases 1038 and 1039 to test Adrian Kreher's report that ftp
  1064. uploads with -C - didn't resume properly, but the tests pass.
  1065. Yang Tse (10 Jul 2008)
  1066. - Peter Lamberg filed bug report #2015126: "poll gives WSAEINVAL when POLLPRI
  1067. is set in fdset.events" (http://curl.haxx.se/bug/view.cgi?id=2015126) which
  1068. exactly pinpointed the problem only triggered on Windows Vista, provided
  1069. reference to docs and also a fix. There is much work behind Peter Lamberg's
  1070. excellent bug report. Thank You!
  1071. Daniel Fandrich (9 Jul 2008)
  1072. - Added tests 1036 and 1037 to verify resumed ftp downloads with -C -
  1073. Daniel Stenberg (9 Jul 2008)
  1074. - Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and I
  1075. edited it slightly. Now you should be able to use IPv6 addresses fine even
  1076. with libcurl built to use c-ares.
  1077. Daniel Fandrich (9 Jul 2008)
  1078. - Fixed an OOM handling problem that cause test 11 to fail the torture test.
  1079. Daniel Fandrich (8 Jul 2008)
  1080. - Fixed test 554 to pass the torture test.
  1081. Daniel Fandrich (7 Jul 2008)
  1082. - Added test cases 1034 & 1035 to test IDN name conversion failures.
  1083. Daniel Stenberg (7 Jul 2008)
  1084. - Scott Barrett provided a test case for a segfault in the FTP code and the
  1085. fix for it. It occured when you did a FTP transfer using
  1086. CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but
  1087. switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being
  1088. cleared properly. Scott's test case is now known as test 539 and it
  1089. verifies the fix.
  1090. Daniel Stenberg (3 Jul 2008)
  1091. - Phil Blundell provided a fix for libcurl's treatment of unexpected 1xx
  1092. response codes. Previously libcurl would hang on such occurances. I added
  1093. test case 1033 to verify.
  1094. - Introcuding a new timestamp for curl_easy_getinfo():
  1095. CURLINFO_APPCONNECT_TIME. This is set with the "application layer"
  1096. handshake/connection is completed. Which typically is SSL, TLS or SSH and by
  1097. using this you can figure out the application layer's own connect time. You
  1098. can extract the time stamp using curl's -w option and the new variable named
  1099. 'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar.
  1100. Daniel Fandrich (2 Jul 2008)
  1101. - Support Open Watcom C on Linux (as well as Windows).
  1102. Yang Tse (2 Jul 2008)
  1103. - The previously committed fix for bug report #1999181 prevented using the
  1104. monotonic clock on any system without an always supported POSIX compliant
  1105. implementation. Now the POSIX compliant configuration check is removed and
  1106. will fallback to gettimeofday when the monotonic clock is unavailable at
  1107. run-time.
  1108. - The configure process will now halt when sed, grep, egrep or ar programs
  1109. can not be found among the directories in PATH variable.
  1110. Daniel Stenberg (1 Jul 2008)
  1111. - Rolland Dudemaine provided fixes to get libcurl to build for the INTEGRITY
  1112. operating system.
  1113. Daniel Stenberg (30 Jun 2008)
  1114. - Made the internal printf() support %llu properly to print unsigned long longs.
  1115. - Stephen Collyer and Tor Arntsen helped identify a flaw in the range code
  1116. which output the range using a signed variable where it should rather use
  1117. unsigned.
  1118. Yang Tse (29 Jun 2008)
  1119. - John Lightsey filed bug report #1999181: "CLOCK_MONOTONIC always fails on
  1120. some systems" (http://curl.haxx.se/bug/view.cgi?id=1999181). The problem was
  1121. that the configure script did not use the _POSIX_MONOTONIC_CLOCK feature test
  1122. macro when checking monotonic clock availability. This is now fixed and the
  1123. monotonic clock will not be used unless the feature test macro is defined
  1124. with a value greater than zero indicating always supported.
  1125. Daniel Fandrich (25 Jun 2008)
  1126. - Honour --stderr with the -v option.
  1127. - Fixed a file handle leak in the command line client if more than one
  1128. --stderr option was given.
  1129. Daniel Stenberg (22 Jun 2008)
  1130. - Eduard Bloch filed the debian bug report #487567
  1131. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that
  1132. libcurl used Content-Range: instead of Range when doing a range request with
  1133. --head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to
  1134. verify.
  1135. Daniel Fandrich (21 Jun 2008)
  1136. - Stopped using ranges in scanf character sequences (e.g. %[a-z]) since that
  1137. is not ANSI C, just a common extension. This caused problems on
  1138. at least Open Watcom C.
  1139. Yang Tse (20 Jun 2008)
  1140. - Modified configuration script to actually verify if the compiler is good
  1141. enough at detecting compilation errors or at least it has been properly
  1142. configured to do so. Configuration heavily depends on this capability, so
  1143. if this compiler sanity check fails the configuration process will now fail.
  1144. Daniel Stenberg (20 Jun 2008)
  1145. - Phil Pellouchoud found a case where libcurl built with NSS failed to
  1146. handshake with a SSLv2 server, and it turned out to be because it didn't
  1147. recognize the cipher named "rc4-md5". In our list that cipher was named
  1148. plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported
  1149. that it made things work for him again.
  1150. - Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxy
  1151. crashed libcurl. This is now addressed by making sure we use "plain send"
  1152. internally when doing the socks handshake instead of the Curl_write()
  1153. function which is designed to use the "target" protocol. That's then SCP or
  1154. SFTP in this case. I also took the opportunity and cleaned up some ssh-
  1155. related #ifdefs in the code for readability.
  1156. Daniel Stenberg (19 Jun 2008)
  1157. - Christopher Palow fixed a curl_multi_socket() issue which previously caused
  1158. libcurl to not tell the app properly when a socket was closed (when the name
  1159. resolve done by c-ares is completed) and then immediately re-created and put
  1160. to use again (for the actual connection). Since the closure will make the
  1161. "watch status" get lost in several event-based systems libcurl will need to
  1162. tell the app about this close/re-create case.
  1163. - Dengminwen found a bug in the connection re-use function when using the
  1164. multi interface with pipelining enabled as it would wrongly check for,
  1165. detect and close "dead connections" even though that connection was already
  1166. in use!
  1167. Daniel Fandrich (18 Jun 2008)
  1168. - Added SSH failure test cases 628-632
  1169. - Fixed a memory leak in the command-line tool that caused a valgrind error.
  1170. Daniel Stenberg (18 Jun 2008)
  1171. - Rob Crittenden brought a fix for the NSS layer that makes libcurl no longer
  1172. always fire up a new connection rather than using the existing one when the
  1173. multi interface is used. Original bug report:
  1174. https://bugzilla.redhat.com/show_bug.cgi?id=450140
  1175. Yang Tse (18 Jun 2008)
  1176. - Internal configure script improvement. No longer break out of shell "for"
  1177. statements from inside AC_FOO_IFELSE macros, otherwise temporary macro files
  1178. are not properly removed.
  1179. Daniel Fandrich (12 Jun 2008)
  1180. - Fixed curl-config --ca which wasn't being exported by configure.
  1181. Daniel Stenberg (11 Jun 2008)
  1182. - I did a cleanup of the internal generic SSL layer and how the various SSL
  1183. libraries are supported. Starting now, each underlying SSL library support
  1184. code does a set of defines for the 16 functions the generic layer (sslgen.c)
  1185. uses (all these new function defines use the prefix "curlssl_"). This
  1186. greatly simplified the generic layer in readability by involving much less
  1187. #ifdefs and other preprocessor stuff and should make it easier for people to
  1188. make libcurl work with new SSL libraries.
  1189. Hopefully I can later on document these 16 functions somewhat as well.
  1190. I also made most of the internal SSL-dependent functions (using Curl_ssl_
  1191. prefix) #defined to nothing when no SSL support is requested - previously
  1192. they would unnecessarily call mostly empty functions.
  1193. I've built libcurl with OpenSSL and GnuTLS and without SSL to test this and
  1194. I've also tried building with NSS but the NSS support is a mystery to me and
  1195. I failed to build libcurl with the NSS libraries I have installed. We really
  1196. should A) improve our configure script to detect unsuitable NSS versions
  1197. already at configure time and B) document our requirements better for the
  1198. SSL libraries.
  1199. Daniel Stenberg (10 Jun 2008)
  1200. - I made the OpenSSL code build again with OpenSSL 0.9.6. The CRLFILE
  1201. functionality killed it due to its unconditional use of
  1202. X509_STORE_set_flags...
  1203. Daniel Stenberg (8 Jun 2008)
  1204. - Due to the three new libcurl changes and the massive command line option
  1205. change I decided we'll mark it by bumping the next release number to 7.19.0!
  1206. - curl the tool now deals with its command line options somewhat differently!
  1207. All boolean options (such as -O, -I, -v etc), both short and long versions,
  1208. now always switch on/enable the option named. Using the same option multiple
  1209. times thus make no difference. To switch off one of those options, you need
  1210. to use the long version of the option and type --no-OPTION. Like to disable
  1211. verbose mode you use --no-verbose!
  1212. - Added --remote-name-all to curl, which if used changes the default for all
  1213. given URLs to be dealt with as if -O is used. So if you want to disable that
  1214. for a specific URL after --remote-name-all has been used, you muse use -o -
  1215. or --no-remote-name.
  1216. Daniel Stenberg (6 Jun 2008)
  1217. - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_ISSUERCERT, for
  1218. OpenSSL, NSS and GnuTLS-built libcurls.
  1219. - Axel Tillequin and Arnaud Ebalard added support for CURLOPT_CRLFILE, for
  1220. OpenSSL, NSS and GnuTLS-built libcurls.
  1221. - Added CURLINFO_PRIMARY_IP as a new information retrievable with
  1222. curl_easy_getinfo. It returns a pointer to a string with the most recently
  1223. used IP address. Modified test case 500 to also verify this feature. The
  1224. implementing of this feature was sponsored by Lenny Rachitsky at NeuStar.
  1225. Version 7.18.2 (4 June 2008)
  1226. Daniel Fandrich (3 Jun 2008)
  1227. - Fixed a problem where telnet data would be lost if an EWOULDBLOCK
  1228. condition were encountered.
  1229. Marty Kuhrt (1 Jun 2008)
  1230. - Updated main.c to return CURLE_OK if PARAM_HELP_REQUESTED was returned
  1231. from getparameter instead of CURLE_FAILED_INIT. No point in returning
  1232. an error if --help or --version were requested.
  1233. Daniel Stenberg (28 May 2008)
  1234. - Emil Romanus found a problem and helped me repeat it. It occured when using
  1235. the curl_multi_socket() API with HTTP pipelining enabled and could lead to
  1236. the pipeline basically stalling for a very long period of time until it took
  1237. off again.
  1238. - Jeff Weber reported memory leaks with aborted SCP and SFTP transfers and
  1239. provided excellent repeat recipes. I fixed the cases I managed to reproduce
  1240. but Jeff still got some (SCP) problems even after these fixes:
  1241. http://curl.haxx.se/mail/lib-2008-05/0342.html
  1242. Daniel Stenberg (26 May 2008)
  1243. - Bug report #1973352 (http://curl.haxx.se/bug/view.cgi?id=1973352) identified
  1244. how the HTTP redirect following code didn't properly follow to a new URL if
  1245. the new url was but a query string such as "Location: ?moo=foo". Test case
  1246. 1031 was added to verify this fix.
  1247. - Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS.
  1248. Yang Tse (26 May 2008)
  1249. - David Rosenstrauch reported that header files spnegohelp.h and
  1250. openssl/objects.h were needed to compile SPNEGO support.
  1251. Daniel Fandrich (22 May 2008)
  1252. - Made sure to pass longs in to curl_easy_setopt where necessary in the
  1253. example programs and libtest code.
  1254. Daniel Stenberg (19 May 2008)
  1255. - When trying to repeat a multi interface problem I fell over a few multi
  1256. interface problems:
  1257. o with pipelining disabled, the state should never be set to WAITDO but
  1258. rather go straight to DO
  1259. o we had multiple states for which the internal function returned no socket
  1260. at all to wait for, with the effect that libcurl calls the socket callback
  1261. (when curl_multi_socket() is used) with REMOVE prematurely (as it would be
  1262. added again within very shortly)
  1263. o when in DO and DOING states, the HTTP and HTTPS protocol handler functions
  1264. didn't return that the socket should be waited for writing, but instead it
  1265. was treated as if no socket was needing monitoring so again REMOVE was
  1266. called prematurely.
  1267. Daniel Stenberg (13 May 2008)
  1268. - Added test case 556 that uses curl_easy_send() and curl_easy_recv()
  1269. Daniel Stenberg (9 May 2008)
  1270. - Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
  1271. and receive data over a connection previously setup with curl_easy_perform()
  1272. and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to
  1273. show how they can be used.
  1274. Yang Tse (9 May 2008)
  1275. - Internal time differences now use monotonic time source if available.
  1276. This also implies the removal of the winmm.lib dependency for WIN32.
  1277. Daniel Stenberg (9 May 2008)
  1278. - Stefan Krause reported a busy-looping case when using the multi interface
  1279. and doing CONNECT to a proxy. The app would then busy-loop until the proxy
  1280. completed its response.
  1281. Michal Marek (9 May 2008)
  1282. - Make Curl_write and it's callees accept a const pointer, in preparation
  1283. of tetetest's patch for curl_easy_send()
  1284. Daniel Stenberg (7 May 2008)
  1285. - Liam Healy filed the debian bug report #480044
  1286. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044) identifying a
  1287. segfault when using krb5 ftp, but the krb4 code had the same problem.
  1288. Yang Tse (7 May 2008)
  1289. - Christopher Palow provided the patch (edited by me) that introduces the
  1290. use of microsecond resolution keys for internal splay trees.
  1291. Daniel Stenberg (4 May 2008)
  1292. - Yuriy Sosov pointed out a configure fix for detecting c-ares when that is
  1293. built debug-enabled.
  1294. Daniel Stenberg (3 May 2008)
  1295. - Ben Van Hof filed bug report #1945240: "libcurl sometimes sends body twice
  1296. when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240).
  1297. The problem was that when libcurl rewound a stream meant for upload when it
  1298. would prepare for a second request, it could accidentally continue the
  1299. sending of the rewound data on the first request instead of on the second.
  1300. Ben also provided test case 1030 that verifies this fix.
  1301. Daniel Stenberg (3 May 2008)
  1302. - Jean-Francois Bertrand reported a libcurl crash with CURLOPT_TCP_NODELAY
  1303. since libcurl used getprotobyname() and that isn't thread-safe. We now
  1304. switched to use IPPROTO_TCP unconditionally, but perhaps the proper fix is
  1305. to detect the thread-safe version of the function and use that.
  1306. http://curl.haxx.se/mail/lib-2008-05/0011.html
  1307. Daniel Stenberg (1 May 2008)
  1308. - Bart Whiteley provided a patch that made libcurl work properly when an app
  1309. uses the CURLOPT_OPENSOCKETFUNCTION callback to create a unix domain socket
  1310. to a http server.
  1311. Daniel Stenberg (29 Apr 2008)
  1312. - To make it easier for applications that want lots of magic stuff done on
  1313. redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
  1314. introduce the new CURLINFO_REDIRECT_URL option that lets applications
  1315. extract the URL libcurl would've redirected to if it had been told to. This
  1316. then enables the application to continue to that URL as it thinks is
  1317. suitable, without having to re-implement the magic of creating the new URL
  1318. from the Location: header etc. Test 1029 verifies it.
  1319. Yang Tse (29 Apr 2008)
  1320. - Improved easy interface resolving timeout handling in c-ares enabled builds
  1321. Daniel Fandrich (28 Apr 2008)
  1322. - Added test 1028 to test an HTTP redirect to a FTP URL.
  1323. Daniel Stenberg (28 Apr 2008)
  1324. - Norbert Frese filed bug report #1951588: "Problem with curlftpfs and
  1325. libcurl" (http://curl.haxx.se/bug/view.cgi?id=1951588) which seems to be an
  1326. identical report to what Denis Golovan reported in
  1327. http://curl.haxx.se/mail/lib-2008-02/0108.html The FTP code didn't reset the
  1328. user/password pointers properly even though there might've been a new
  1329. struct/cconnection getting used.
  1330. Daniel Stenberg (26 Apr 2008)
  1331. - Reverted back to use automake 1.9.6 in the next release (from automake
  1332. 1.10.1) since it *still* suffers from Solaris-related bugs. Our previous
  1333. automake 1.10 problem was reported in bug #1701360
  1334. (http://curl.haxx.se/bug/view.cgi?id=1701360) and this recent problem was
  1335. bug #1944825 (http://curl.haxx.se/bug/view.cgi?id=1944825). I have not
  1336. personally approached the automake team about either one of these but I
  1337. figure we need a Solaris 10 guy to do it!
  1338. Yang Tse (25 Apr 2008)
  1339. - Added 'timeout' and 'delay' attributes support for the test harness
  1340. <command> subsection.
  1341. Daniel Fandrich (24 Apr 2008)
  1342. - Made --stderr able to redirect all stderr messages.
  1343. Yang Tse (23 Apr 2008)
  1344. - Improve synchronization between test harness runtests.pl script
  1345. and test harness servers to minimize risk of false test failures.
  1346. Daniel Fandrich (22 Apr 2008)
  1347. - Added support for running on Symbian OS.
  1348. Daniel Fandrich (18 Apr 2008)
  1349. - Added test cases 1026 and 1027 to do some rudimentary tests on the --manual
  1350. and --help options.
  1351. Michal Marek (14 Apr 2008)
  1352. - allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as
  1353. discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html
  1354. Daniel Stenberg (14 Apr 2008)
  1355. - Stefan Krause reported a case where the OpenSSL handshake phase wasn't
  1356. properly acknowledging the timeout values, like if you pulled the network
  1357. plug in the midst of it.
  1358. - Andre Guibert de Bruet fixed a second case of not checking the malloc()
  1359. return code in the Negotiate code.
  1360. - Sandor Feldi reported bug #1942022
  1361. (http://curl.haxx.se/bug/view.cgi?id=1942022) pointing out a mistake in the
  1362. lib/Makefile.vc[68] makefiles' release-ssl-dll target.
  1363. - Brock Noland reported that curl behaved differently depending on which order
  1364. you used -i and -I.
  1365. Daniel Stenberg (12 Apr 2008)
  1366. - Andre Guibert de Bruet found and fixed a case where malloc() was called but
  1367. was not checked for a NULL return, in the Negotiate code.
  1368. Daniel Fandrich (9 Apr 2008)
  1369. - Added test cases 1024 & 1025 to test a scenario similar to the one reported
  1370. by Ben Combee where libcurl would send the wrong cookie to a redirected
  1371. server. libcurl was doing the right thing in these test cases.
  1372. Michal Marek (7 Apr 2008)
  1373. - Fix the MIT / Heimdal check for good:
  1374. Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are
  1375. available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> is available.
  1376. Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if
  1377. GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should
  1378. avoid breakage in case we wrongly recognize Heimdal as MIT again.
  1379. Daniel Stenberg (5 Apr 2008)
  1380. - Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly
  1381. - Based on the Debian bug report #474224 that complained about the FTP error
  1382. message when libcurl doesn't get a 220 back immediately on connect, I now
  1383. changed it to be more specific on what the problem is. Also worth noticing:
  1384. while the bug report contains an example where the response is:
  1385. 421 There are too many connected users, please try again later
  1386. we cannot assume that the error message will always be this readable nor
  1387. that it fits within a particular boundary etc.
  1388. Daniel Fandrich (3 Apr 2008)
  1389. - Added test627 to test SFTP with CURLOPT_NOBODY
  1390. Daniel Stenberg (3 Apr 2008)
  1391. - Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method to
  1392. GET simply because previously when you set CURLOPT_NOBODY to TRUE first and
  1393. then FALSE you'd end up in a broken state where a HTTP request would do a
  1394. HEAD by still act a lot like for a GET and hang waiting for the content etc.
  1395. - Scott Barrett added support for CURLOPT_NOBODY over SFTP
  1396. Daniel Fandrich (3 Apr 2008)
  1397. - Made sure that curl_global_init is called in all the multithreaded
  1398. example programs.
  1399. Michal Marek (31 Mar 2008)
  1400. - Removed the generated ca-bundle.h file. The verbatim value of $ca and
  1401. $capath is known to configure, so it can be defined in config.h instead.
  1402. Daniel Stenberg (31 Mar 2008)
  1403. - Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an
  1404. application to provide data for a multipart with the read callback. Note
  1405. that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the
  1406. stream option is used. This feature is verified by the new test case
  1407. 554. This feature was sponsored by Xponaut.
  1408. Daniel Fandrich (30 Mar 2008)
  1409. - Changed the makefile so the doc/examples/ programs are never built in a
  1410. normal build/install (only with the 'make check' target), so that a
  1411. build failure in the examples isn't fatal.
  1412. Version 7.18.1 (30 March 2008)
  1413. Daniel Stenberg (28 Mar 2008)
  1414. - Stephen Collyer pointed out that configure --with-libssh2 without a given
  1415. path didn't work properly.
  1416. Daniel Stenberg (27 Mar 2008)
  1417. - As found out and reported by Dan Petitt, libcurl didn't show progress/call
  1418. the progress callback for the first (potentially huge) piece of body data
  1419. sent together with the POST request headers in the initial send().
  1420. Daniel Stenberg (25 Mar 2008)
  1421. - Made setting the CURLOPT_SSL_CTX_FUNCTION option return a failure in case
  1422. libcurl wasn't built to use OpenSSL as that is a prerequisite for this
  1423. option to function!
  1424. Daniel Stenberg (22 Mar 2008)
  1425. - Fixed the problem with doing a zero byte SCP transfer, verified with test
  1426. case 617 (which was added by Daniel Fandrich 5 Mar 2008).
  1427. Daniel Fandrich (20 Mar 2008)
  1428. - Fixed a problem where curl-config --protocols could erroneously show LDAPS
  1429. support when curl didn't even have regular LDAP support. It looks like
  1430. this could happen when the --enable-ldaps configure switch is given but
  1431. configure couldn't find the LDAP headers or libraries.
  1432. Michal Marek (20 Mar 2008)
  1433. - Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
  1434. default instead of a ca bundle. The configure script will also look for a
  1435. ca path if no ca bundle is found and no option given.
  1436. - Fixed detection of previously installed curl-ca-bundle.crt
  1437. Daniel Fandrich (18 Mar 2008)
  1438. - Added test 626 to reproduce an infinite loop when given an invalid
  1439. SFTP quote command reported by Vincent Le Normand, and fixed it.
  1440. Michal Marek (18 Mar 2008)
  1441. - Added curl_easy_getinfo typechecker.
  1442. - Added macros for curl_share_setopt and curl_multi_setopt to check at least
  1443. the correct number of arguments.
  1444. Daniel Fandrich (13 Mar 2008)
  1445. - Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to
  1446. reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that
  1447. seems to need a call curl_easy_reset() which this test case doesn't do.
  1448. Daniel Stenberg (13 Mar 2008)
  1449. - Brian Ulm figured out that if you did an SFTP upload with
  1450. CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
  1451. handle and uploaded another file to another directory that needed to be
  1452. created, the second upload would fail. Another case of a state variable that
  1453. wasn't properly reset between requests.
  1454. - I rewrote the 100-continue code to use a single state variable instead of
  1455. the previous two ones. I think it made the logic somewhat clearer.
  1456. Daniel Stenberg (11 Mar 2008)
  1457. - Dmitry Popov filed bug report #1911069
  1458. (http://curl.haxx.se/bug/view.cgi?id=1911069) that identified a race
  1459. condition in the name resolver code when the DNS cache is shared between
  1460. multiple easy handles, each running in simultaneous threads that could cause
  1461. crashes.
  1462. - Added a macro for curl_easy_setopt() that accepts three arguments and simply
  1463. does nothing with them, just to make sure libcurl users always use three
  1464. arguments to this function. Due to its use of ... for the third argument, it
  1465. is otherwise hard to detect abuse.
  1466. Michal Marek (11 Mar 2008)
  1467. - Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
  1468. works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html ,
  1469. http://curl.haxx.se/mail/lib-2008-02/0292.html )
  1470. Daniel Fandrich (10 Mar 2008)
  1471. - Added tests 618-621 to test SFTP/SCP transfers of more than one file
  1472. (test 620 tests the just-fixed problem reported by Brian Ulm).
  1473. Daniel Stenberg (9 Mar 2008)
  1474. - Brian Ulm reported a crash when doing a second SFTP transfer on a re-used
  1475. easy handle if curl_easy_reset() was used between them. I fixed it and Brian
  1476. verified that it cured his problem.
  1477. - Brian Ulm reported that if you first tried to download a non-existing SFTP
  1478. file and then fetched an existing one and re-used the handle, libcurl would
  1479. still report the second one as non-existing as well! I fixed it and Brian
  1480. verified that it cured his problem.
  1481. Michal Marek (6 Mar 2008)
  1482. - Fix the gssapi configure check to detect newer MIT Kerberos (patch by
  1483. Michael Calmer)
  1484. Yang Tse (6 Mar 2008)
  1485. - Fix regression on Curl_socket_ready() and Curl_poll() so that these will
  1486. again fail on select/poll errors different than EINTR.
  1487. Daniel Fandrich (5 Mar 2008)
  1488. - Fixed the test harness so it will write out zero-length data files.
  1489. - Added tests 616 and 617 to see how SFTP and SCP cope with zero-length
  1490. files, as questioned by Mike Protts. SFTP does for me but SCP doesn't
  1491. so test 617 is disabled for now.
  1492. Daniel S (4 Mar 2008)
  1493. - Mike Protts brought a patch that makes resumed transfers work with SFTP.
  1494. Daniel S (1 Mar 2008)
  1495. - Anatoli Tubman found and fixed a crash with Negotiate authentication used on
  1496. a re-used connection where both requests used Negotiate.
  1497. Guenter Knauf (26 Feb 2008)
  1498. - Kaspar Brand provided a patch to support server name indication (RFC 4366).
  1499. Daniel S (25 Feb 2008)
  1500. - Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that
  1501. forces it to prefer SSLv3.
  1502. Daniel S (23 Feb 2008)
  1503. - Sam Listopad provided a patch in feature-request #1900014
  1504. http://curl.haxx.se/bug/feature.cgi?id=1900014 that makes libcurl (built to
  1505. use OpenSSL) support a full chain of certificates in a given PKCS12
  1506. certificate.
  1507. Daniel S (22 Feb 2008)
  1508. - Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model
  1509. options as the lib/Makefile.vc6 already did.
  1510. Daniel S (21 Feb 2008)
  1511. - Zmey Petroff found a crash when libcurl accessed a NULL pointer, which
  1512. happened if you set the connection cache size to 1 and for example failed to
  1513. login to an FTP site. Bug report #1896698
  1514. (http://curl.haxx.se/bug/view.cgi?id=1896698)
  1515. Daniel S (20 Feb 2008)
  1516. - Fixed test case 405 to not fail when libcurl is built with GnuTLS
  1517. - Based on initial work done by Gautam Kachroo to address a bug, we now keep
  1518. better control at the exact state of the connection's SSL status so that we
  1519. know exactly when it has completed the SSL negotiation or not so that there
  1520. won't be accidental re-uses of connections that are wrongly believed to be
  1521. in SSL-completed-negotiate state.
  1522. - We no longer support setting the CURLOPT_URL option from inside a callback
  1523. such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
  1524. following. The patch that introduced this feature was done for 7.11.0, but
  1525. this code and functionality has been broken since about 7.15.4 (March 2006)
  1526. with the introduction of non-blocking OpenSSL "connects".
  1527. It was a hack to begin with and since it doesn't work and hasn't worked
  1528. correctly for a long time and nobody has even noticed, I consider it a very
  1529. suitable subject for plain removal. And so it was done.
  1530. Guenter Knauf (19 Feb 2008)
  1531. - We do no longer support SSLv2 by default since it has known flaws.
  1532. Kaspar Brand provided a patch for all supported SSL toolkits.
  1533. Daniel Fandrich (19 Feb 2008)
  1534. - Added test309 to test HTTP redirect to HTTPS URL
  1535. Daniel S (18 Feb 2008)
  1536. - We're no longer providing a very old ca-bundle in the curl tarball. You can
  1537. get a fresh one downloaded and created with 'make ca-bundle' or you can get
  1538. one from here => http://curl.haxx.se/docs/caextract.html if you want a fresh
  1539. new one extracted from Mozilla's recent list of ca certs.
  1540. The configure option --with-ca-bundle now lets you specify what file to use
  1541. as default ca bundle for your build. If not specified, the configure script
  1542. will check a few known standard places for a global ca cert to use.
  1543. Daniel S (17 Feb 2008)
  1544. - Jerome Muffat-Meridol helped me fix Curl_done() to close the current
  1545. connection by force when it was called before the entire request is
  1546. completed, simply because we can't know if the connection really can be
  1547. re-used safely at that point.
  1548. - Based on the same debugging logic, I've also made Curl_http_done() not
  1549. return CURLE_GOT_NOTHING if called "prematurely". This should have no real
  1550. effect to anything but the code makes more sense like this.
  1551. Daniel S (15 Feb 2008)
  1552. - Made the gnutls code path not even try to get the server cert if no peer
  1553. verification is requested. Previously it would even return failure if gnutls
  1554. failed to get the server cert even though no verification was asked for.
  1555. Public server showing the problem: https://www.net222.caisse-epargne.fr
  1556. - Fix my Curl_timeleft() leftover mistake in the gnutls code
  1557. - Pooyan McSporran found and fixed a flaw where you first would do a normal
  1558. http request and then you'd reuse the handle and replace the Accept: header,
  1559. as then libcurl would send two Accept: headers!
  1560. Daniel S (11 Feb 2008)
  1561. - Yang Tse pointed out a few remaining quirks from my timeout refactoring from
  1562. Feb 7 that didn't abort properly on timeouts. These are actually old
  1563. problems but now they should be fixed.
  1564. Yang Tse (10 Feb 2008)
  1565. - Bug report #1888932 (http://curl.haxx.se/bug/view.cgi?id=1888932) points out
  1566. and provides test program that demonstrates that libcurl might not set error
  1567. description message for error CURLE_COULDNT_RESOLVE_HOST for Windows threaded
  1568. name resolver builds. Fixed now.
  1569. Daniel Fandrich (8 Feb 2008)
  1570. - Added key words to all SSL-using tests so they can be skipped if necessary.
  1571. Removed a few unnecessary requires SSL statements.
  1572. Daniel S (8 Feb 2008)
  1573. - Mike Hommey filed and fixed bug report #1889856
  1574. (http://curl.haxx.se/bug/view.cgi?id=1889856): When using the gnutls ssl
  1575. layer, cleaning-up and reinitializing curl ends up with https requests
  1576. failing with "ASN1 parser: Element was not found" errors. Obviously a
  1577. regression added in 7.16.3.
  1578. Yang Tse (8 Feb 2008)
  1579. - Improved test harness SCP/SFTP start up server verification, doing a real
  1580. connection to the sftp server, authenticating and running a simple sftp
  1581. pwd command using the test harness generated configuration and key files.
  1582. Daniel S (8 Feb 2008)
  1583. - Günter Knauf added lib/mk-ca-bundle.pl which gets the Firefox ca bundle and
  1584. creates a suitable ca-bundle.crt file in PEM format for use with curl. The
  1585. recommended way to run it is to use 'make ca-bundle' in the build tree root.
  1586. Daniel Fandrich (7 Feb 2008)
  1587. - Added tests 1022 and 1023 to validate output of curl-config --version and
  1588. --vernum
  1589. Daniel S (7 Feb 2008)
  1590. - Refactored a lot of timeout code into a few functions in an attempt to make
  1591. them all use the same (hopefully correct) logic to make it less error-prone
  1592. and easier to introduce library-wide where it should be used.
  1593. Yang Tse (6 Feb 2008)
  1594. - Fix an issue in strdup replacement function when dealing with absolutely
  1595. huge strings. Only systems without a standard strdup would be affected.
  1596. Daniel S (3 Feb 2008)
  1597. - Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
  1598. use of the "is_in_pipeline" struct field.
  1599. - I wrote up and added the threaded-ssl.c example source code that shows how
  1600. to do multi-threaded downloads of HTTPS files with a libcurl that is built
  1601. with OpenSSL. It uses pthreads for the threading.
  1602. Daniel S (31 Jan 2008)
  1603. - Niklas Angebrand made the cookie support in libcurl properly deal with the
  1604. "HttpOnly" feature introduced by Microsoft and apparently also supported by
  1605. Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
  1606. is now supported when received from servers in HTTP headers, when written to
  1607. cookie jars and when read from existing cookie jars.
  1608. I modified test case 31 and 46 to also do some basic HttpOnly testing.
  1609. - Dmitry Kurochkin moved several struct fields from the connectdata struct to
  1610. the SingleRequest one to make pipelining better. It is a bit tricky to keep
  1611. them in the right place, to keep things related to the actual request or to
  1612. the actual connection in the right place.
  1613. Daniel S (29 Jan 2008)
  1614. - Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously
  1615. crash!
  1616. - Michal Marek fixed minor mistake in test case 553 that prevented it from
  1617. working on other IP-addresses or port numbers.
  1618. Version 7.18.0 (28 January 2008)
  1619. Daniel S (27 Jan 2008)
  1620. - Dmitry Kurochkin: In "real world" testing I found more bugs in
  1621. pipelining. Broken connection is not restored and we get into infinite
  1622. loop. It happens because of wrong is_in_pipeline values.
  1623. Daniel S (26 Jan 2008)
  1624. - Kevin Reed filed bug report #1879375
  1625. (http://curl.haxx.se/bug/view.cgi?id=1879375) which describes how libcurl
  1626. got lost in this scenario: proxy tunnel (or HTTPS over proxy), ask to do any
  1627. proxy authentication and the proxy replies with an auth (like NTLM) and then
  1628. closes the connection after that initial informational response.
  1629. libcurl would not properly re-initialize the connection to the proxy and
  1630. continue the auth negotiation like supposed. It does now however, as it will
  1631. now detect if one or more authentication methods were available and asked
  1632. for, and will thus retry the connection and continue from there.
  1633. - I made the progress callback get called properly during proxy CONNECT.
  1634. Daniel S (23 Jan 2008)
  1635. - Igor Franchuk pointed out that CURLOPT_COOKIELIST set to "ALL" leaked
  1636. memory, and so did "SESS". Fixed now.
  1637. Yang Tse (22 Jan 2008)
  1638. - Check poll.h at configuration time, and use it when sys/poll.h unavailable
  1639. Daniel S (22 Jan 2008)
  1640. - Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed
  1641. that it is bad anyway. Starting now, removing a handle that is in used in a
  1642. pipeline will break the pipeline - it'll be set back up again but still...
  1643. Yang Tse (21 Jan 2008)
  1644. - Disable ldap support for cygwin builds, since it breaks whole build process.
  1645. Fixing it will affect other platforms, so it is postponed for another release.
  1646. Daniel S (18 Jan 2008)
  1647. - Lau Hang Kin found and fixed a problem with the multi interface when doing
  1648. CONNECT over a proxy. curl_multi_fdset() didn't report back the socket
  1649. properly during that state, due to a missing case in the switch in the
  1650. multi_getsock() function.
  1651. Yang Tse (17 Jan 2008)
  1652. - Don't abort tests 518 and 537 when unable to raise the open-file soft limit.
  1653. Daniel S (16 Jan 2008)
  1654. - Nathan Coulter's patch that makes runtests.pl respect the PATH when figuring
  1655. out what valgrind to run.
  1656. Yang Tse (16 Jan 2008)
  1657. - Improved handling of out of memory in the command line tool that afected
  1658. data url encoded HTTP POSTs when reading it from a file.
  1659. Daniel S (16 Jan 2008)
  1660. - Dmitry Kurochkin worked a lot on improving the HTTP Pipelining support that
  1661. previously had a number of flaws, perhaps most notably when an application
  1662. fired up N transfers at once as then they wouldn't pipeline at all that
  1663. nicely as anyone would think... Test case 530 was also updated to take the
  1664. improved functionality into account.
  1665. - Calls to Curl_failf() are not supposed to provide a trailing newline as the
  1666. function itself adds that. Fixed on 50 or something strings!
  1667. Daniel S (15 Jan 2008)
  1668. - I made the torture test on test 530 go through. This was actually due to
  1669. silly code left from when we switched to let the multi handle "hold" the dns
  1670. cache when using the multi interface... Of course this only triggered when a
  1671. certain function call returned error at the correct moment.
  1672. Daniel S (14 Jan 2008)
  1673. - Joe Malicki filed bug report #1871269
  1674. (http://curl.haxx.se/bug/view.cgi?id=1871269) and we could fix his hang-
  1675. problem that occurred when doing a large HTTP POST request with the
  1676. response-body read from a callback.
  1677. Daniel S (12 Jan 2008)
  1678. - I re-arranged the curl --help output. All the options are now sorted on
  1679. their long option names and all descriptions are one-liners.
  1680. - Eric Landes provided the patch (edited by me) that introduces the
  1681. --keepalive-time to curl to set the keepalive probe interval. I also took
  1682. the opportunity to rename the recently added no-keep-alive option to
  1683. no-keepalive to keep a consistent naming and to avoid getting two dashes in
  1684. these option names. Eric also provided an update to the man page for the new
  1685. option.
  1686. Daniel S (11 Jan 2008)
  1687. - Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it
  1688. already worked for FTP:// URLs.
  1689. - I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the
  1690. spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved
  1691. performance for the upload resume cases where you want to upload the last
  1692. few bytes of a very large file. To implement this decently, I had to switch
  1693. the client code for uploading from fopen()/fread() to plain open()/read() so
  1694. that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that)
  1695. on systems that offer support for that.
  1696. Daniel S (10 Jan 2008)
  1697. - Michal Marek made curl-config --libs not include /usr/lib64 in the output
  1698. (it already before skipped /usr/lib). /usr/lib64 is the default library
  1699. directory on many 64bit systems and it's unlikely that anyone would use the
  1700. path privately on systems where it's not.
  1701. - Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow
  1702. libcurl to seek in a given input stream. This is particularly important when
  1703. doing upload resumes when there's already a huge part of the file present
  1704. remotely. Before, and still if this callback isn't used, libcurl will read
  1705. and through away the entire file up to the point to where the resuming
  1706. begins (which of course can be a slow opereration depending on file size,
  1707. I/O bandwidth and more). This new function will also be preferred to get
  1708. used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when
  1709. doing multi-stage HTTP auth with POST/PUT.
  1710. - Nikitinskit Dmitriy filed bug report #1868255
  1711. (http://curl.haxx.se/bug/view.cgi?id=1868255) with a patch. It identifies
  1712. and fixes a problem with parsing WWW-Authenticate: headers with additional
  1713. spaces in the line that the parser wasn't written to deal with.
  1714. Daniel S (8 Jan 2008)
  1715. - Introducing curl_easy_pause() and new magic return codes for both the read
  1716. and the write callbacks that now can make a connection's reading and/or
  1717. writing get paused.
  1718. Daniel S (6 Jan 2008)
  1719. - Jeff Johnson filed bug report #1863171
  1720. (http://curl.haxx.se/bug/view.cgi?id=1863171) where he pointed out that
  1721. libcurl's date parser didn't accept a +1300 time zone which actually is used
  1722. fairly often (like New Zealand's Dailight Savings Time), so I modified the
  1723. parser to now accept up to and including -1400 to +1400.
  1724. Daniel S (5 Jan 2008)
  1725. - Based on further discussion on curl-library, I reverted yesterday's SOCKS5
  1726. code to instead introduce support for a new proxy type called
  1727. CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy
  1728. instead of IP address and there's thus no longer any need for a new
  1729. curl_easy_setopt() option.
  1730. The default SOCKS5 proxy is again back to sending the IP address to the
  1731. proxy. The new curl command line option for enabling sending host name to a
  1732. SOCKS5 proxy is now --socks5-hostname.
  1733. Daniel S (4 Jan 2008)
  1734. - Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let the
  1735. proxy do the host name resolving and only if --socks5ip (or
  1736. CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and
  1737. pass on the IP address only to the proxy.
  1738. Yang Tse (3 Jan 2008)
  1739. - Modified test harness to allow SCP, SFTP and SOCKS4 tests to run with
  1740. OpenSSH 2.9.9, SunSSH 1.0 or later versions. SOCKS5 tests need OpenSSH
  1741. 3.7, SunSSH 1.0 or later.
  1742. Daniel S (2 Jan 2008)
  1743. - I fixed two cases of missing return code checks when handling chunked
  1744. decoding where a write error (or abort return from a callback) didn't stop
  1745. libcurl's processing.
  1746. - I removed the socklen_t use from the public curl/curl.h header and instead
  1747. made it an unsigned int. The type was only used in the curl_sockaddr struct
  1748. definition (only used by the curl_opensocket_callback). On all platforms I
  1749. could find information about, socklen_t is 32 unsigned bits large so I don't
  1750. think this will break the API or ABI. The main reason for this change is of
  1751. course for all the platforms that don't have a socklen_t definition in their
  1752. headers to build fine again. Providing our own configure magic and custom
  1753. definition of socklen_t on those systems proved to work but was a lot of
  1754. cruft, code and extra magic needed - when this very small change of type
  1755. seems harmless and still solves the missing socklen_t problem.
  1756. - Richard Atterer brought a patch that added support for SOCKS4a proxies,
  1757. which is an inofficial PROXY4 variant that sends the hostname to the proxy
  1758. instead of the resolved address (which is already supported by SOCKS5).
  1759. --socks4a is the curl command line option for it and CURLOPT_PROXYTYPE can
  1760. now be set to CURLPROXY_SOCKS4A as well.
  1761. Daniel S (1 Jan 2008)
  1762. - Mohun Biswas pointed out that --libcurl generated a source code with an int
  1763. function but without a return statement. While fixing that, I also took care
  1764. about adding some better comments for the generated code.