CHANGES.2002 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504
  1. Daniel (27 Dec 2002)
  2. - Philippe Raoult reported a bug with HTTPS connections which I evidently
  3. added in my 19 dec fix. I corrected it.
  4. Daniel (20 Dec)
  5. - Idea from the Debian latest patch: use AM_MAINTAINER_MODE in the configure
  6. script to make the default makefile less confusing "to the casual
  7. installer".
  8. Version 7.10.3-pre3 (20 Dec)
  9. Daniel (19 Dec)
  10. - Matthew Blain patched the Curl_base64_decode() function.
  11. - Evan Jordan reported in bug report #653022 that the SSL_read() usage was
  12. wrong, and it certainly was. It could lead to curl using too much CPU due to
  13. a stupid loop.
  14. Daniel (18 Dec)
  15. - As suggested by Margus Freudenthal, CURLE_HTTP_NOT_FOUND was renamed to
  16. CURLE_HTTP_RETURNED_ERROR since it is returned on any >= 400 code when
  17. CURLOPT_FAILONERROR is set.
  18. Daniel (17 Dec)
  19. - Bug reported #651464, reported by Christopher Palmer, provided an example
  20. source code using the multi interface that hang when trying to connect to a
  21. proxy on a localhost port where no proxy was listening. This bug was not
  22. repeatable on libcurls that were IPv6-enabled.
  23. Daniel (16 Dec)
  24. - Christopher Palmer also noticed what Vojtech Janota already was
  25. experiencing: The attempted name resolve fix for glibc 2.2.93 caused libcurl
  26. to crash when used on some older glibc versions. The problem is of course
  27. the silliness of the 2.2.93. I committed a fix that hopefully should make
  28. the binary run fine on either one of the versions, even though the solution
  29. is not as nice as I'd like it to be.
  30. Daniel (13 Dec)
  31. - Bug report #651460 by Christopher R. Palmer showed that when using libcurl
  32. to for example go over a proxy on localhost, it would attempt to connect
  33. through the proxy TWICE.
  34. I added test case 503 with which I managed to repeat this problem and I
  35. fixed the code to not re-attempt any connects (which also made it a nicer
  36. fix for the #650941 bug mentioned below).
  37. The sws server was extended to deal with CONNECT in order to make test
  38. case 503 do good.
  39. - Evan Jordan posted bug report #650989 about a memory leak in the public key
  40. retrieving code. He provided a suggested fix and I merely applied it!
  41. - Bug report #650941, posted by Christopher R. Palmer identified a problem
  42. with the multi interface and getting file:// URLs. This was now fixed and
  43. test case 502 was added to verify this.
  44. Daniel (12 Dec)
  45. - Test case 500 and 501 are the first ever libcurl test cases that run.
  46. - Made "configure --enable-debug" cut off all -O* options to the compiler
  47. - Finally fixed the test suite's ftp server so that test case 402 doesn't
  48. cause the following test case to fail anymore!
  49. Daniel (11 Dec)
  50. - CURL_MAX_WRITE_SIZE is now decreased to 16KB since it makes the Windows
  51. version perform uploads much faster!!! RBramante did lots of research on
  52. this topic.
  53. - Fixed the #include in curl/curl.h to include the other files outside the
  54. extern "C" scope.
  55. Daniel (10 Dec)
  56. - Moved around and added more logic:
  57. First, POST data is never sent as part of the request headers in the http.c
  58. code. It is always sent the "normal" read callback then send() way. This now
  59. enables a plain HTTP POST to be sent chunked if we want to. This also
  60. reduces the risk of having very big POSTs causing problems.
  61. Further, sending off the initial HTTP request is not done using a loop
  62. anymore. If it wasn't all sent off in the first send(), the rest of the
  63. request is sent off in the normal transfer select() loop. This makes several
  64. things possible, but mainly it makes libcurl block less when used from the
  65. multi interface and it also reduces the risk of problems with issuing very
  66. large requests.
  67. Daniel (9 Dec)
  68. - Moved the read callback pointer and data within the structs to a more
  69. suitable place. This in preparation for a better HTTP-request sending code
  70. without (a silly) loop.
  71. - The Dodds fix seems not to work.
  72. - Vojtech Janota tests proved that the resolve fix from oct 21st is not good
  73. enough since obviously older glibcs might return EAGAIN without this meaning
  74. that the buffer was too small.
  75. - [the other day] Made libcurl loop on recv() and send() now until done, and
  76. then get back to select(). Previously it went back to select() more often
  77. which really was a slight overhead. This was due to the reported performance
  78. problems on HTTP PUT on Windows. I couldn't see any notable difference on
  79. Linux...
  80. Version 7.10.3-pre2 (4 Dec 2002)
  81. Daniel (4 Dec 2002)
  82. - Lots of work with Malcolm Dodds made me add a temporary code fix that now
  83. shortens the timeout waiting for the 226 or 250 line after a completed
  84. FTP transfer.
  85. If no data is received within 60 seconds, this is taken as a sign of a dead
  86. control connection and we bail out.
  87. Daniel (3 Dec 2002)
  88. - Ralph's bug report #644841 identified a problem in which curl returned a
  89. timeout error code when in fact the problem was not a timeout. The proper
  90. error should now be propagated better when they're detected in the FTP
  91. response reading function.
  92. - Updated the Borland Makefiles.
  93. Daniel (2 Dec 2002)
  94. - Nicolas Berloquin provided a patch that introduced --create-dirs to the
  95. command line tool. When used in combination with -o, it lets curl create
  96. [non-existing] directories used in -o, suitably used with #-combinations
  97. such as:
  98. curl "www.images.com/{flowers,cities,parks,mountains}/pic_[1-100].jpg \
  99. -o "dir_#1/pic#2.jpg" --create-dirs
  100. Version 7.10.3-pre1
  101. Daniel (28 Nov 2002)
  102. - I visited Lars Nordgren and had a go with his problem, which lead me to
  103. implement this fix. If libcurl detects the added custom header
  104. "Transfer-Encoding: chunked", it will now enable a chunked transfer.
  105. Also, chunked transfer didn't quite work before but seems to do so now.
  106. - Kjetil Jacobsen pointed out that ./configure --disable-ipv6 --without-zlib
  107. didn't work on any platform...
  108. Daniel (26 Nov 2002)
  109. - Fixed a bad addrinfo free in the hostip.c code, hardly exposed anywhere
  110. - Dan Becker found and fixed a minor memory leak on persistent connnections
  111. using CURLOPT_USERPWD.
  112. Daniel (22 Nov 2002)
  113. - Based on Ralph Mitchell's excellent analysis I found a bug in the test suite
  114. web server (sws) which now lets test case 306 run fine even in combination
  115. with the other test cases.
  116. - Juan Ignacio Hervás found a crash in the verbose connect message that is
  117. used on persistent connections. This bug was added in 7.10.2 due to the
  118. rearranged name resolve code.
  119. Daniel (20 Nov 2002)
  120. - Kjetil Jacobsen provided a patch that introduces:
  121. CURLOPT_PRIVATE stores a private pointer in the curl handle.
  122. CURLINFO_PRIVATE retrieves the private pointer from the curl handle.
  123. - Karol Pietrzak pointed out how curl-config --cflags didn't output a good
  124. include dir so I've removed that for now.
  125. Version 7.10.2 (18 Nov 2002)
  126. Daniel (11 Nov 2002)
  127. - Dave Halbakken added curl_version_info to lib/libcurl.def to make libcurl
  128. properly build with MSVC on Windows.
  129. Daniel (8 Nov 2002)
  130. - Doing HTTP PUT without a specified file size now makes libcurl use
  131. Transfer-Encoding: chunked.
  132. Daniel (7 Nov 2002)
  133. - Bug report #634625 identified how curl returned timeout immediately when
  134. CURLOPT_CONNECTTIMEOUT was used and provided a fix.
  135. Version 7.10.2-pre4 (6 Nov 2002)
  136. Daniel (5 Nov 2002)
  137. - Lehel Bernadt found out and fixed. libcurl sent error message to the debug
  138. output when it stored the error message.
  139. - Avery Fay found some problems with the DNS cache (when the cache time was
  140. set to 0 we got a memory leak, but when the leak was fixed he got a crash
  141. when he used the CURLOPT_INTERFACE with that) that had me do some real
  142. restructuring so that we now have a reference counter in the dns cache
  143. entries to prevent an entry to get flushed while still actually in use.
  144. I also detected that we previously didn't update the time stamp when we
  145. extracted an entry from the cache so that must've been a reason for some
  146. very weird dns cache bugs.
  147. Version 7.10.2-pre3
  148. Daniel (31 Oct 2002)
  149. - Downgraded automake to 1.6.3 in an attempt to fix cygwin problems. (It
  150. turned out this didn't help though.)
  151. - Disable the DNS cache (by setting the timeout to 0) made libcurl leak
  152. memory. Avery Fay brought the example code that proved this.
  153. Version 7.10.2-pre2
  154. Daniel (28 Oct 2002)
  155. - Upgraded to autoconf 2.54 and automake 1.7 on the release-build host.
  156. - Kevin Roth made the command line tool check for a CURL_CA_BUNDLE environment
  157. variable (if --cacert isn't used) and if not set, the Windows version will
  158. check for a file named "curl-ca-bundle.crt" in the current directory or the
  159. directory where curl is located. That file is then used as CA root cert
  160. bundle.
  161. - Avery Fay pointed out that curl's configure scrip didn't get right if you
  162. used autoconf newer than 2.52. This was due to some badly quoted code.
  163. Version 7.10.2-pre1
  164. Daniel (23 Oct 2002)
  165. - Emiliano Ida confirmed that we now build properly with the Borland C++
  166. compiler too. We needed yet another fix for the ISO cpp check in the curl.h
  167. header file.
  168. - Yet another fix was needed to get the HTTP download without headers to work.
  169. This time it was needed if the first "believed header" was read all in the
  170. first read. Test 306 has not run properly since the 11th october fix.
  171. Daniel (21 Oct 2002)
  172. - Zvi Har'El pointed out a problem with curl's name resolving on Redhat 8
  173. machines (running IPv6 disabled). Mats Lidell let me use an account on his
  174. machine and I could verify that gethostbyname_r() has been changed to return
  175. EAGAIN instead of ERANGE when the given buffer size is too small. This is
  176. glibc 2.2.93.
  177. - Albert Chin helped me get the -no-undefined option corrected in
  178. lib/Makefile.am since Cygwin builds want it there while Solaris builds don't
  179. want it present. Kevin Roth helped me try it out on cygwin.
  180. - Nikita Schmidt provided a bug fix for a FOLLOWLOCATION bug introduced when
  181. the ../ support got in (7.10.1).
  182. Daniel (18 Oct 2002)
  183. - Fabrizio Ammollo pointed out a remaining problem with FOLLOWLOCATION in
  184. the multi interface.
  185. Daniel (17 Oct 2002)
  186. - Richard Cooper's experimenting proved that -j (CURLOPT_COOKIESESSION) didn't
  187. work quite as supposed. You needed to set it *before* you use
  188. CURLOPT_COOKIEFILE, and we dont' want that kind of dependencies.
  189. Daniel (15 Oct 2002)
  190. - Andrés García provided corrections for erratas in four libcurl man pages.
  191. Daniel (13 Oct 2002)
  192. - Starting now, we generate and include PDF versions of all the docs in the
  193. release archives.
  194. Daniel (12 Oct 2002)
  195. - Trying to connect to a host on a bad port number caused the multi interface
  196. to never return failure and it appeared to keep on trying forever (it just
  197. didn't do anything).
  198. Daniel (11 Oct 2002)
  199. - Downloading HTTP without headers didn't work 100%, some of the initial data
  200. got written twice. Kevin Roth reported.
  201. - Kevin Roth found out the "config file" parser in the client code could
  202. segfault, like if DOS newlines were used.
  203. Version 7.10.1 (11 Oct 2002)
  204. Daniel (10 Oct 2002)
  205. - Jeff Lawson fixed a few problems with connection re-use that remained when
  206. you set CURLOPT_PROXY to "".
  207. Daniel (9 Oct 2002)
  208. - Craig Davison found a terrible flaw and Cris Bailiff helped out in the
  209. search. Getting HTTP data from servers when the headers are split up in
  210. multiple reads, could cause junk data to get inserted among the saved
  211. headers. This only concerns HTTP(S) headers.
  212. Daniel (8 Oct 2002)
  213. - Vincent Penquerc'h gave us the good suggestion that when the ERRRORBUFFER
  214. is set internally, the error text is sent to the debug function as well.
  215. - I fixed the telnet code to timeout properly as the option tells it to. On
  216. non-windows platforms.
  217. Daniel (7 Oct 2002)
  218. - John Crow pointed out that libcurl-the-guide wasn't included in the release
  219. tarball!
  220. - Kevin Roth pointed out that make install didn't do right if build outside
  221. the source tree (ca-bundle wise).
  222. - FOLLOWLOCATION bugfix for the multi interface
  223. Daniel (4 Oct 2002)
  224. - Kevin Roth got problems with his cygwin build with -no-undefined was not
  225. present in lib/Makefile.am so I put it back in there again. The poor one who
  226. needs to remove it again must write a configure script to detect that need.
  227. - Ralph Mitchell pointed out that curl was a bit naive and didn't deal with ./
  228. or ../ stuff in the string passed back in a Location: header when following
  229. locations.
  230. - Albert Chin helped me to work out a better configure.in check for zlib, and
  231. both --without-zlib and -with-zlib seem to work rather well right now.
  232. - Zvi Har'El improvied the OpenSSL ENGINE check in the configure script to
  233. become more accurate.
  234. Daniel (1 Oct 2002)
  235. - Detlef Schmier pointed out the lack of a --without-libz option to configure,
  236. so I added one.
  237. Version 7.10 (1 Oct 2002)
  238. Daniel (30 Sep 2002)
  239. - Modified the curl_version_info() proto and returned struct once again, and
  240. updated the man page accordingly.
  241. - Cris Bailiff found out that the pre-releases crashed on name lookups on
  242. names such as "a:" or "baz:" (on Linux versions not being ipv6-enabled) due
  243. to some weird return codes from gethostbyname_r(). I'll blame the complete
  244. lack of docs in that department. Cris provided a fix, which I modified only
  245. slightly.
  246. Daniel (27 Sep 2002)
  247. - After a suggestion from Christian Kurz to Debian curl package maintainer
  248. Domenico Andreoli, I made it possible to override the proxy environment
  249. variables better. Now, by setting -x "" you can explicitly tell libcurl to
  250. not use a proxy, no matter whan the environment variables say.
  251. Version 7.10-pre4
  252. Daniel (26 Sep 2002)
  253. - Extended curl_version_info() more and wrote a man page for it.
  254. Daniel (25 Sep 2002)
  255. - libcurl could leak memory when downloading multiple files using http ranges,
  256. reported and fixed by Jean-Luc Guevel.
  257. - Walter J. Mack provided code and docs for the new curl_free() function that
  258. shall be used to free memory that is allocated by libcurl and returned back
  259. to the application, as curl_escape() and curl_unescape() do.
  260. - Yarram Sunil pointed out a flaw in the multi interface where a failed
  261. connection didn't close down properly and thus a second transfer using the
  262. same handle failed.
  263. - Andrés García fixed a flaw that made (among other things) dict-fetches
  264. return a random value.
  265. Daniel (24 Sep 2002)
  266. - Wez Furlong brought his initial patch that introduced curl_version_info().
  267. We might need to tweak it somewhat before release.
  268. Daniel (20 Sep 2002)
  269. - Craig Markwardt fixed another Tru64 IP resolve problem.
  270. Daniel (19 Sep 2002)
  271. - Dolbneff A.V and Spiridonoff A.V made the file:// code work with resumes
  272. in the same style other code does.
  273. - Ilguiz Latypov fixed a flaw in the client code when fetching multiple URLs
  274. and -C - was used. The first file's resume position was then accidentally
  275. reused on all the other files too.
  276. Daniel (18 Sep 2002)
  277. - The curl_easy_setopt.3 man page was greatly modified and the options have
  278. now been grouped in logical groups so that it should be somewhat easier to
  279. read it and find things you search for.
  280. Daniel (13 Sep 2002)
  281. - Kevin Roth pinpointed a scary flaw in libcurl, when the HTTP server doesn't
  282. send any headers back, only raw content. Right, that is a violation of the
  283. standard but still happens at times and we need to deal with it. Test case
  284. 306 was added to verify that we do right now.
  285. Version 7.10-pre3
  286. Daniel (11 Sep 2002)
  287. - Lukasz Czekierda found out that curl didn't send a correct HTTP Host: header
  288. when you specified the URL with an IPv6 IP-address.
  289. Daniel (4 Sep 2002)
  290. - Sven Neuhaus made --silent being acknowledged even when multiple URLs
  291. were used. It used to output "[1/2]: http://host/a.html.de --> a.html.d" etc
  292. even when told to shut up.
  293. Daniel (3 Sep 2002)
  294. - Updated all source code headers to use MIT-license references only, and
  295. point to the COPYING file and the http://curl.haxx.se/docs/copyright.html
  296. URL. I've cut out all references to MPL that I could find.
  297. - Corected the makefiles to not always use -lz when linking
  298. Version 7.10-pre2
  299. Daniel (2 Sep 2002)
  300. - James Gallagher added Content-Encoding support to libcurl so now curl and
  301. libcurl-using apps can request compressed contents using the 'deflate'
  302. method. See the special file lib/README.encoding for details.
  303. curl --compressed is now used to request compressed contents.
  304. curl-config --feature will include 'libz' if this feature was around when
  305. the library was built.
  306. Daniel (30 Aug 2002)
  307. - Applied an anonymous SOCKS5-proxy patch. Not properly working in all
  308. situations though, as all getaddrinfo()-using libcurls will fail on this.
  309. This is because of the somewhat naive way the current code tries to extract
  310. the IP address of the proxy.
  311. - Fixed up the SSL cert fixes from the other day even more after more inputs
  312. from Cris. Added three new SSL error codes to make the
  313. CURLE_SSL_CONNECT_ERROR slightly less overloaded.
  314. Daniel (27 Aug 2002)
  315. - After lots of talk with Tom Zerucha, Nick Gimbrone and Cris Bailiff I
  316. decided to talk the bold path and I now made libcurl do CA certificate
  317. verification by default. Thus library users need to explicitly turn this off
  318. if you want to connect to sites without proper checking. We also install a
  319. CA cert bundle on 'make install' now.
  320. The curl tool now requires the -k/--insecure option in order to allow
  321. connections and operations on SSL sites that aren't properly verified with
  322. -cafile or --capath.
  323. curl-config --ca displays the built-in path to the CA cert bundle.
  324. Daniel (26 Aug 2002)
  325. - Andrew Francis cleaned up some code that now compiles fine without the need
  326. for ugly MSVC pragmas.
  327. - Keith MacDonald found a minor bug in src/main.c that made it close stdin
  328. instead of the actual file handle. It shouldn't have resulted in much
  329. trouble as most operating systems close all file handles on process exit
  330. anyway.
  331. Daniel (22 Aug 2002)
  332. - Markus Oberhumer provided some documentation for his previously provided
  333. CURLOPT_NOSIGNAL fix.
  334. - Patched the lib/Makefile.am to hopefully no longer complain on undefined
  335. symbols that seemed to occur on builds with shared OpenSSL libraries on
  336. Solaris lately...
  337. Daniel (20 Aug 2002)
  338. - Fixed compiler warnings on MSCV++ compiles. We're looking for help here:
  339. remove the pragmas from lib/config-win32.h and adjust the sources where
  340. the warnings occur. Hiding them with pragmas like this is not the correct
  341. way of dealing with compiler warnings.
  342. Daniel (13 Aug 2002)
  343. - Ulrich Zadow made the global include files in curl/* include themselves
  344. using "curl.h" instead of <curl/curl.h> which thus allows people to more
  345. freely decide how to include curl and how to setup their include paths.
  346. - Sterling Hughes added the curl_share* interface, somewhat as discussed
  347. previously.
  348. - Jörn Hartroth pointed out that poll() was used in the pre1 source code and
  349. it isn't very portable, so now I check for it in the configure script and
  350. work around it.
  351. Version 7.9.9-pre1
  352. Daniel (12 Aug 2002)
  353. - Applied my initial take on making the multi stuff more asynchronous. Connects
  354. should now return back without "hanging" until it has connected for real.
  355. This should also be the case for FTP-PASV connects.
  356. Daniel (9 Aug 2002)
  357. - Applied Markus F.X.J. Oberhumer's patch that introduces CURLOPT_NOSIGNAL,
  358. which effectively prevents libcurl from doing anything that may cause
  359. signals to get sent. This is basicly for multi-threaded applications that
  360. now can use timeouts properly, without risking any signals to burst in and
  361. ruin the party.
  362. Daniel (5 Aug 2002)
  363. - Lukasz Czekierda reported that RFC2732-style literal IPv6 addresses didn't
  364. work. When did that code vanish? Anyway, it's back again now and seems to
  365. work!
  366. - Jonatan Lander found out that POSTing an empty string didn't work with the
  367. command line tool.
  368. Daniel (3 Aug 2002)
  369. - Jörn Hartroth fixed the libcurl.def file to build the windows DLL with
  370. the multi interface enabled.
  371. Daniel (1 Aug 2002)
  372. - The ftp PORT command now uses a better default IP address, as it will
  373. extract and use the local IP address used by the control connection.
  374. - Modified the #include lines in curl/multi.h to work better on more
  375. platforms.
  376. Daniel (31 Jul 2002)
  377. - Attempted a fix for Ray DeGennaro's reported HP-UX host name resolve
  378. problems.
  379. Daniel (30 Jul 2002)
  380. - Priya Ramakrishnan and Ryan Jones compiles curl/curl.h with a C++ compiler
  381. and don't get __STDC__ defined, which required us to extend the preprocessor
  382. check for the ## operator usage.
  383. - Correct the description for CURLOPT_PASSWDFUNCTION, if set to NULL the
  384. internal default function will be put back.
  385. - danfuzz at milk.com found out that libcurl badly assumed a space after
  386. 'Set-Cookie:' so if it wasn't present, it caused the first letter of the
  387. cookie name to fall off!
  388. Daniel (29 Jul 2002)
  389. - The password prompt asking for user password used stdout and now uses
  390. stderr instead to better allow redirecting. It also leaked a fopen() file
  391. handle that is now fixed.
  392. Daniel (28 Jul 2002)
  393. - HAVE_SETVBUF was left out from src/main.c which made -N not work. Found out
  394. by M T.
  395. Daniel (26 Jun 2002)
  396. - Glen Nakamura solved a crash in the name resolving function for IP-only
  397. addresses on Alpha Linux (at least).
  398. - T. Bharath corrected the high resolution timer introduced in 7.9.8.
  399. Daniel (22 Jun 2002)
  400. - Andrés García pointed out man page errors in curl_formadd.3. I fixed.
  401. Daniel (19 Jun 2002)
  402. - Chris Combes pointed out a flaw in curl_escape(). I fixed. We no longer
  403. tries to generate nor parse '+' in URLs. Spaces become %20, and only %-codes
  404. are translated by curl_unescape().
  405. Daniel (15 Jun 2002)
  406. - Added --limit-rate to the curl tool. Allows the user to set a maxmimum
  407. upper limit to how much bandwidth to use for transfers.
  408. - CURLOPT_BUFFERSIZE was added to libcurl. This sets a prefered size for the
  409. receive buffer in libcurl. The main point of this would be that the write
  410. callback gets called more often and with smaller chunks.
  411. Daniel (14 Jun 2002)
  412. - Yarram Sunil found out that the SocketIsDead() function performed a lot
  413. faster on Windows when removing the 1 microsecond timeout.
  414. - Hanno L. Kranzhoff fixed the VC++ project files.
  415. - Tom Mattison found out that ftp transfers closed the connection a little
  416. too often.
  417. - Miklos Nemeth posted a VC++ makefile fix and some INSTALL comments on how
  418. to disable specific protocols when building for Windows.
  419. Version 7.9.8
  420. Daniel (13 Jun 2002)
  421. - Time to let this baby go.
  422. Daniel (12 Jun 2002)
  423. - Chris Combes added three new options for curl_formadd(): CURLFORM_BUFFER,
  424. CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH. They are used to create a
  425. multipart that appears as a regular file upload, but the data is provided
  426. with a pointer and length.
  427. - Nico Baggus made the VMS version use sigsetjmp() too.
  428. - Jörn Hartroth fixed the mingw32 build using the mm lib.
  429. - Applied patches by Kris Kennaway that correct format string problems in
  430. lib/ftp.c and lib/ldap.c.
  431. Version 7.9.8-pre3
  432. Daniel (11 Jun 2002)
  433. - James Cone brought the idea of using sigsetjmp() in the signal handler to
  434. make the time-out of name lookups to work, even when the underlying name
  435. resolver library traps EINTR. The use of sigsetjmp() and siglongjmp() for
  436. this may be a bit drastic, and also not likely to exist on all platforms. I
  437. added careful checking for this in the configure script, even checks for it
  438. being a macro (which seems to be the case in for example Linux).
  439. sigsetjmp() seems to be mentioned in the Single Unix specification.
  440. - Miklos Nemeth brought a patch that allows libcurl to get built with specific
  441. protocols disabled. This is done by running ./configure
  442. --disable-[protocol].
  443. - FTP range downloads could make CURLE_FTP_WRITE_ERROR get returned. We now
  444. make precautions to not return this for range downloads.
  445. Added test case 135 that makes an ftp range download. Had to tweak the
  446. runtests.pl script a bit too.
  447. - Bug report #566835 identified a strlen() on a NULL pointer. Added additional
  448. check to prevent this.
  449. Daniel (10 Jun 2002)
  450. - Found and corrected a connect failure problem that didn't create a human
  451. error text.
  452. - Added code to compile with OpenSSL 0.9.7. Based on patch from Jacob Meuser
  453. and comments from Götz Babin-Ebell.
  454. - Gautam Mani found a socket descriptor leak that happened when FTP transfers
  455. failed and you reinvoked curl_easy_perform().
  456. Daniel (5 Jun 2002)
  457. - Gustaf Hui corrected curl_multi_remove_handle() so that it won't crash no
  458. matter when you decide to remove the CURL handle.
  459. - HAVE_RAND_STATUS was added to lib/config-win32.h by Andreas Olsson, as it
  460. makes windows builds stop complaining about "weak seeding" when it in fact
  461. isn't.
  462. - Another 64bit architecture crash that was introduced in 7.9.7 was now
  463. removed, as bug report #564585 clarified. This happened due to our attempts
  464. to only allocate only as much memory as is actually needed for name
  465. resolving (using realloc) which called for a function that could 'move' a
  466. hostent struct in memory.
  467. Version 7.9.8-pre2
  468. Daniel (3 Jun 2002)
  469. - T. Bharath fixed the CURLINFO_REDIRECT_TIME to return a correct time and
  470. made the CURLINFO_REQUEST_SIZE return the correct total request size. He
  471. also made the win32 timers use higher resolution than before.
  472. Daniel (29 May 2002)
  473. - Renaud Chaillat made me aware of the fact that libcurl returned an error if
  474. you tried to get an empty FTP file. This seemed like a wrong thing to do, so
  475. now it no longer does that! I just hope that no one built anything fancy
  476. upon this unexpected behavior...
  477. Daniel (28 May 2002)
  478. - Cris Bailiff brought CURLOPT_CAPATH that works like CURLOPT_CAINFO but
  479. specifies a path to a directory with certificates rather than a single file
  480. with them all concatenated. --capath was added to the command line tool
  481. for the same function.
  482. Windows users need to pay attention that the directory should be setup with
  483. the c_rehash tool of the OpenSSL package, and that creates symlinks by
  484. default that need to be replaced with actual copies to work on Windows.
  485. - Gustaf Hui provided new code that changes how curl_multi_info_read()
  486. messages are stored, so that they don't have to be kept around for the multi
  487. handle's entire life time. He also made it return failure codes properly
  488. which it didn't do before.
  489. Daniel (27 May 2002)
  490. - Gustaf Hui pointed out that running curl_multi_perform() without doing
  491. curl_multi_fdset() first was not really a working combo. I added an internal
  492. check for this and have some extra select() code without timeout to make the
  493. library internals work identically nevertheless. We might need to somehow
  494. either document that once you've used the *_fdset() you should remain using
  495. them in select() or you should blank them somehow so that libcurl won't go
  496. crazy.
  497. Version 7.9.8-pre1
  498. Daniel (22 May 2002)
  499. - James Cone brought an excellent patch, including several tests and docs!
  500. CURLOPT_NETRC now takes an enum as argument instead of the previous boolean.
  501. --netrc-optional was introduced as an addition to --netrc to allow the
  502. command line client to take use of all that new netrc stuff.
  503. - Bug report #558888 showed a case where libcurl re-used the previous host
  504. name when a connection over a proxy was re-used but to a different target
  505. host.
  506. Daniel (21 May 2002)
  507. - Edin Kadribasic helped me sort out a problem to made libcurl crash when
  508. trying to HTTP POST an empty string.
  509. - Clarified that Juergen Wilke donated the original tests/server/sws.c code.
  510. - Jean-Philippe Barrette-LaPierre made curl_formadd() return a typedef named
  511. CURLFORMcode instead of the previous 'int', and the various return codes are
  512. now globally exported. It allows applications to better figure out what goes
  513. wrong when curl_formadd() returns errors.
  514. Daniel (20 May 2002)
  515. - Roland Zimmermann pointed out that SSL_CTX_use_certificate_chain_file()
  516. is prefered to SSL_CTX_use_certificate_file().
  517. Daniel (17 May 2002)
  518. - Bug report #556869 pointed out that src/writeout.c didn't compile on freebsd
  519. after my AIX fixes the other week.
  520. - Bug report #556930 pointed out a FreeBSD core dump introduced in 7.9.7 in
  521. the DNS struct realloc stuff. Actually, this crash could happen on all
  522. systems that made the pack_hostent() function get invoked.
  523. - I removed several compiler warnings in the test suite's HTTP server.
  524. Version 7.9.7
  525. Daniel (10 May 2002)
  526. - Kevin Roth adjusted the --trace-ascii output slightly.
  527. - Paul Harrington found out that src/writeout.c needed an additional header
  528. file included for AIX builds
  529. Version 7.9.7-pre2
  530. Daniel (7 May 2002)
  531. - Updated the man page with --trace-ascii and -j/--junk-session-cookies.
  532. - Made --trace-ascii do pretty much the same as --trace but without the hex
  533. part in the output.
  534. - Added CURLOPT_COOKIESESSION that when enabled makes libcurl ignore session
  535. cookies read from a file. This option is enforced by the curl command line
  536. tool using the new -j/--junk-session-cookies option. After discussions with
  537. Kevin Roth. This makes it easier to use curl to fully emulate a browser's
  538. behavior, even when it comes to "session cookies". Session cookies are
  539. cookies that a normal browser discards when the browser is shut
  540. down. They're identified by not having any expire date/time.
  541. - When CURLOPT_DEBUGDATA was set, it ruined the CURLOPT_STDERR setting and
  542. this was discovered when --trace was made to crash.
  543. - Using -v and --trace at the same time confused matters. -v is now pretty
  544. much ignored when --trace or --trace-ascii is used.
  545. - Made --trace (and --trace-ascii) support - as file name to pass output to
  546. stdout instead. It makes it consistent with how other options work.
  547. Version 7.9.7-pre1
  548. Daniel (6 May 2002)
  549. - Added multi-post.c to the examples directory. I got the basic source for
  550. this from Gustaf Hui.
  551. Daniel (3 May 2002)
  552. - CURL_MAX_WRITE_SIZE is now an exported #define in the curl/curl.h header and
  553. can be used to figure out the maximum buffer size your write callback can
  554. get.
  555. - CURLOPT_READDATA is now an alias for CURLOPT_INFILE and CURLOPT_WRITEDATE is
  556. an alias for CURLOPT_FILE. These two were added for conformity. Most other
  557. callback function's userdata are provided with options using a similar name-
  558. scheme.
  559. - Added "--trace [file]" to the command line tool. It makes a very detailed
  560. trace dump get stored, with a full protocol dump that includes all received
  561. and transmitted data. This could be a very effective tool for debugging what
  562. goes wrong. This dump includes every byte the way it is sent to/received
  563. from the server. The dump is the plain-text version, so SSL transfers will
  564. still be readable.
  565. - I found out that the DEBUGFUNCTION was not called properly everywhere as we
  566. wanted it to. I fixed it.
  567. - -D now stores all headers to the same file if multiple URLs are given on the
  568. command line! Kevin Roth made me aware of that it didn't already do this!
  569. - Gustaf Hui wrote an excellent formpost example that used the multi
  570. interface. Unfortunately, it didn't work due to several bugs in how
  571. transfers were made when the multi interface was used.
  572. Daniel (2 May 2002)
  573. - Hanno Kranzhoff found out that when doing multiple transfers on the same
  574. easy handle, the progress meter would show a bad "currently downloaded
  575. value" when the transfer starts.
  576. Daniel (1 May 2002)
  577. - Applied another patch by Jacky Lam to make the name resolve info realloc()
  578. stuff work properly.
  579. Daniel (28 April 2002)
  580. - curl_multi_info_read() is now implemented!
  581. Daniel (27 April 2002)
  582. - Updated BUGS, TODO, FAQ, INSTALL and added BINDINGS.
  583. - I think I fixed the DNS cache prune crach Jacky Lam found and reported.
  584. - I cleaned up the name prefix stuff in the hash and llist modules.
  585. - FTP responses should now be better on timing out properly. The timeout value
  586. is maximum timeout for the entire request operation, but before this, the
  587. timeout was used as a maximum allowed time between two reads...
  588. Daniel (26 April 2002)
  589. - Fixed the test suite http server to not use snprintf() anymore due to better
  590. portability.
  591. Daniel (25 April 2002)
  592. - With Sterling Hughes' new DNS pruning, Jacky Lam asked if this wouldn't
  593. cause problems since the pruning is only checking the entry time, and it
  594. sure could cause problems. Therefor, I've now added and changed code so that
  595. this should not be a problem. Nowhere in the code will be store name
  596. resolved information around so that a sunsequent DNS cache prune should
  597. cause a problem. This of course called for some mild internal changes.
  598. Daniel (23 April 2002)
  599. - Improved the 'no_proxy' check, as using port numbers in the URL confused it
  600. previously. Reported by Erwan Legrand in bug report #547484.
  601. - The --interface option now works even on IPv6 enabled builds. Reported by
  602. 'thor'.
  603. Daniel (22 April 2002)
  604. - The #defines names starting with TIMECOND now has CURL_ prefixes. (The old
  605. names are still #defined too.) Pointed out by Robert Olson.
  606. - Jacky Lam brought code that lets the name resolve function only use as much
  607. memory as it actually needs. This only works on certain operating systems,
  608. but is totally transparant to all users.
  609. Daniel (19 April 2002)
  610. - Bjorn Reese fixed pack_hostent to work properly with 64 bit pointers.
  611. Daniel (18 April 2002)
  612. - Sterling Hughes added code to prune old DNS cache entries, since Jacky Lam
  613. experienced very big caches.
  614. Daniel (17 April 2002)
  615. - Dirk Manske patched the 301 response to work against the RFC but more like
  616. common browsers do. If a POST get a 301 back, it'll switch to GET in the
  617. next request (if location-following is enabled).
  618. Daniel (16 April 2002)
  619. - Dirk Manske posted a patch originally written by Ingo Wilken that introduced
  620. two new CURLINFO_* values: CURLINFO_REDIRECT_TIME and
  621. CURLINFO_REDIRECT_COUNT.
  622. Daniel (15 April 2002)
  623. - Jonatan Lander patched the verbose text 'Disables POST, goes with GET' to
  624. reflect reality better, like when the first request isn't POST and when
  625. the second isn't GET... :-)
  626. - Craig Davison pointed out that when curl_formadd()ing a file that doesn't
  627. exist, libcurl doesn't return error. Now, curl_easy_perform() will return
  628. CURLE_READ_ERROR if that is the case. Test 41 was added to verify this.
  629. Version 7.9.6
  630. Daniel (14 April 2002)
  631. - Dirk Manske brought a fix that makes libcurl strip off white spaces from the
  632. beginning of cookie contents.
  633. - Had to patch include/curl/curl.h since MSVC doesn't set the __STDC__ define.
  634. Moonesamy pointed out the problem, Bjorn Reese the solution.
  635. Version 7.9.6-pre5
  636. Daniel (12 April 2002)
  637. - Fixed the TIMER_CONNECT to be more accurate for FTP transfers. Previously
  638. FTP transfers got the "connect done" time set after the initial FTP commands
  639. and not directly after the TCP/IP connect as it should.
  640. I also made the time stamp get set even if the connect itself fails, which
  641. it didn't do previously.
  642. - Jean-Philippe Barrette-LaPierre provided his patch that introduces
  643. CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA. They allow a program to a set a
  644. callback to receive debug/information data. That includes headers and data
  645. that is received and sent. CURLOPT_VERBOSE still controls it.
  646. By default, there is an internal debugfunction that will make things look
  647. and work as before if not changed.
  648. Daniel (10 April 2002)
  649. - Sebastien Willemijns found out that -x didn't use the default port number as
  650. is documented. It does now.
  651. - libcurl-errors.3 is a new man page attempting to document all libcurl error
  652. codes
  653. - Added two new error codes and changed the behaviour of two old ones
  654. slightly:
  655. CURLE_WRITE_ERROR
  656. This error was returned *both* for errors that occured when writing
  657. received data to a local file, as well as when we get problems writing data
  658. to a remote server. CURLE_SEND_ERROR has now been added for the latter
  659. error.
  660. CURLE_READ_ERROR
  661. This error was similarly returned *both* for errors when reading a local
  662. file, as well as when getting problems when reading network data.
  663. CURLE_RECV_ERROR has now been added for the latter error.
  664. (Two test cases were adjusted accordingly.)
  665. Daniel (9 April 2002)
  666. - runtests.pl now sets the HOME variable before running curl, to prevent any
  667. actual ~/.curlrc file to fool the tests!
  668. Version 7.9.6-pre4
  669. Daniel (8 April 2002)
  670. - Michael Curtis provided new functionality for curl on some platforms. Using
  671. the --environment option, curl will *set* a bunch of environment variables
  672. to values. The names are the same ones as for the -w/--writeout option.
  673. For now, this only works on the RISC OS version, as this feature relies on
  674. both OS support and that it matches OS paradigms.
  675. - Jacky Lam provided a fix for getting headers-only when the reply is HTTP/1.0
  676. and 304, I edited it slightly.
  677. Daniel (5 April 2002)
  678. - As requested by Jay Graves, the '.curlrc' file (or _curlrc as it is called
  679. when used in windows), is now loaded from the current directory if the HOME
  680. environment variable isn't set (or if it is too long). I also enlarged the
  681. array used to store the full file path in, to 512 bytes.
  682. - Kevin Roth pointed out to me why the "19 March" change regarding -G and -I
  683. was stupid and the change was reverted. Added test case 48 to verify the
  684. functionality.
  685. Version 7.9.6-pre3
  686. Daniel (4 April 2002)
  687. - Jonatan Lander brought a patch that makes curl/curl.h compile nicely on
  688. pre-ISO compilers, like when using gcc -traditional.
  689. Daniel (3 April 2002)
  690. - Jacky Lam identified a glitch when getting headers-only, where libcurl would
  691. "hang" 1 second in vain in the select() loop before returning back.
  692. - Tor Arntsen brought a patch for multipart formposts. It turned out that the
  693. "CGI_Lite Perl package" makes some bad assumptions on what letters that may
  694. be used in boundary strings and thus curl could confuse it by including '+'
  695. and '/'. While this is standards-compliant, we change the behavior to work
  696. smoothly with existing software based on that package.
  697. Daniel (2 April 2002)
  698. - Gerhard Herre filed bug report #536238 where he pointed out a crash in
  699. verbose FTP passive transfers for AIX.
  700. - Clarence Gardner pointed out a minor flaw in how libcurl didn't properly
  701. take care of all errors that SSL_read() could return.
  702. - Jacky Lam fixed a MALLOCDEBUG problem in lib/getinfo.c
  703. Daniel (27 March 2002)
  704. - T. Bharath pointed out a flaw in the connection re-use function that didn't
  705. check proxy connections properly for "deadness" before they were re-used.
  706. - Pedro Neves found out that HTTP POSTing with --data-binary did not properly
  707. work under Windows as the file specified wasn't read fully binary!
  708. Daniel (25 March 2002)
  709. - Jacky Lam brought a fix that improves treatment of cookies using identical
  710. domains but with leading dots properly.
  711. Daniel (22 March 2002)
  712. - Miklos Nemeth updated the windows section of the docs/INSTALL file and the
  713. windows makefiles.
  714. - Jon Dillon provided us with several good-looking curl images for
  715. promotion. View them here http://curl.haxx.se/icons.html
  716. Daniel (20 March 2002)
  717. - Peter Verhas found out that CRLF replacement in uploads was not working. I
  718. fixed it, and added test case 128 that verifies the functionality.
  719. - The list formerly known as curl-main is now named curl-users and is hosted
  720. by sourceforge. Susbcribe to the new list, get off the old one.
  721. Version 7.9.6-pre2
  722. Daniel (19 March 2002)
  723. - Made -G and -I on the same command line cause an error.
  724. - Moved the multi.h file to the "public" include directory and made it get
  725. included by curl.h so that no extra include files will be necessary to use
  726. it.
  727. Added docs and man pages for the multi interface to the release archive.
  728. Added the three example source codes too.
  729. Necessary steps in my campaign to sneak in the multi interface... ;-)
  730. - Updated the year in all copyright notices in all C and H files.
  731. Daniel (18 March 2002)
  732. - Tomas Szepe found out that -d and -G didn't mix as they should. I broke this
  733. in 7.9.5... Added test case 32 for this.
  734. Version 7.9.6-pre1
  735. Daniel (16 March 2002)
  736. - Peter Verhas pointed out that the curl_escape and curl_unscape man pages
  737. contained factual errors.
  738. - Albert Choy found and corrected a problem with the verbose output when doing
  739. PASV ftp transfers. It could make libcurl crash.
  740. Details in bug report #530562:
  741. http://sourceforge.net/tracker/?func=detail&atid=100976&aid=530562&group_id=976
  742. Daniel (15 March 2002)
  743. - Jun-ichiro itojun Hagino filed bug report #530204 that clearly pointed out
  744. the PF_INET fix from February 19 as a not-very-good fix as it broke IPv6
  745. capability! That patch is now reverted.
  746. The problem with slow name lookups with getaddrinfo() on non-IPv6 enabled
  747. hosts are instead made by first checking if the stack is IPv6-enabled and if
  748. not, the PF_INET is used and otherwise we go with the full PF_UNSPEC.
  749. - T. Bharath pointed out that when we return an "error" from a WRITEFUNCTION
  750. as described in the man page, libcurl did not return the documented error
  751. code (CURLE_WRITE_ERROR) but would instead return CURLE_READ_ERROR. This is
  752. now corrected.
  753. Daniel (14 March 2002)
  754. - Setting CURLOPT_POST without setting CURLOPT_POSTFIELDS now read the POST-
  755. data from the callback.
  756. - The GOPHER support seems to be broken. I don't think I'll even start fixing
  757. it until someone else finds out... :-)
  758. Daniel (13 March 2002)
  759. - Trying 'curl -I ftp.sunet.se' or similar did a SIZE on a silly "(nil)"
  760. string. If such a file would be present, curl returned the size of it! Now
  761. we prevent this.
  762. - Curl_sendf() was fixed to deal with situation where Curl_write() would've
  763. blocked and thus return -1.
  764. - Setting CURLOPT_PROGRESSFUNCTION to NULL now restores the internal function.
  765. - All CURLFORM_* options can now be used in a CURLFORM_ARRAY except the
  766. CURLFORM_ARRAY itself. This was necessary since we couldn't expand the
  767. CURLFORM_* list proprely and unrestricted until this was the case. It was
  768. also a bit peculiar to users why some options could be used in an array
  769. while others couldn't.
  770. - Removed some silly CRLF lines that had accidentally slipped into src/main.c
  771. Nico Baggus pointed them out to me.
  772. Daniel (11 March 2002)
  773. - CURLFORM_FILENAME was added. This can be set when creating a file upload
  774. part, to set the 'filename' field to a custom value. If this isn't used,
  775. the actually used filename will be included instead (as libcurl always has
  776. done). curl was adjusted accordingly, and now -F accepts a 'filename=' field
  777. too, and allows constructs such as:
  778. -F 'name=@filename;filename=/dev/null'
  779. and this can be combined with type= too, in a manner similar to:
  780. -F "file=@log/test39.txt;filename=fakerfile;type=moo/foobar"
  781. Test case 39 was added to verify this functionality.
  782. - The struct formerly known as HttpPost is now named curl_httppost to properly
  783. use the curl name space. I added a #define for the old name to make existing
  784. programs compile even when this new include file is used.
  785. Daniel (8 March 2002)
  786. - Clifford also discovered that if the client code failed early, as when doing
  787. "curl -O" only, it would do fclose(NULL) which caused a segmentation fault
  788. on some systems.
  789. - Clifford Wolf provided a patch that made --progress-bar work again.
  790. - I closed bug report #527032 by making sure that we add a newline after a
  791. transfer when --progress-bar has been used. Before, without the newline, it
  792. made the subsequent text come out wrong.
  793. Version 7.9.5
  794. Daniel (7 March 2002)
  795. - Added docs/KNOWN_BUGS to the release archive.
  796. Daniel (6 March 2002)
  797. - Kevin Roth corrected a flaw in the curl client globbing code that made it
  798. mess up backslashes. This was most notable on windows (cygwin) machines when
  799. using file://.
  800. - Brad provided another fix for building outside the source-tree.
  801. - Ralph Mitchell patched away a few compiler warnings in tests/server/sws.c
  802. Daniel (5 March 2002)
  803. - I noticed that the typedef in curl.h for the progress callback prototype was
  804. wrong and thus applications that used it would not get the proper input
  805. data. It used size_t where the implementation actually uses doubles!
  806. I wish I could blame someone else, but this was my fault. Again.
  807. Version 7.9.5-pre6
  808. Daniel (4 March 2002)
  809. - Cut off the changes done during 2001 from this changelog file and put them
  810. in a separate file (CHANGES.2001), available from CVS of course.
  811. - I removed the multi directory. The example sources were moved to the
  812. docs/examples directory where they belong.
  813. - Wrote 7 new man pages for the current functions in the new multi interface.
  814. They're all still pretty basic, but we can use them as a start and add more
  815. contents to them when we figure out what to write. The large amount of man
  816. pages for libcurl now present made me decide to put them in a new separate
  817. subdirectory in the docs directory. Named libcurl.
  818. - Giuseppe Corbelli provided a template file for the EPM package manager, it
  819. gets generated nicely by the configure script now.
  820. Version 7.9.5-pre5
  821. Daniel (1 March 2002)
  822. - Moved the memanalyze.pl script into the tests/ dir and added it to the
  823. release archives. It was previously only present in the CVS tree.
  824. - Modified the February 17th Host: fix, as bug report #523718 pointed out that
  825. it caused crashes!
  826. - Nico Baggus added more error codes to the VMS stuff.
  827. - Wesley Laxton brought the code that introduced the new CURLOPT_PREQUOTE
  828. option. It is just another FTP quote option that allows the user to specify
  829. a list of FTP commands to issue *just before* the transfer command (RETR or
  830. STOR etc). It has turned up a few systems that really need this.
  831. The curl command line tool can also take advantage of this by prefixing the
  832. quote commands with a plus (+) in similar style that post transfer quote
  833. commands are specified.
  834. This is not yet documented. There is no test case for this yet.
  835. Daniel (28 February 2002)
  836. - Ralph Mitchell made some serious efforts and put a lot of sweat in setting
  837. up scripts and things for me to be able to repeat his problems, and I
  838. finally could. I found a problem with the header byte counter that wasn't
  839. increased properly and thus we could return CURLE_GOT_NOTHING when we in
  840. fact had received data.
  841. Daniel (27 February 2002)
  842. - I had to revert the non-space parsing cookie fix I posted to the mailing
  843. list. Expire dates do have spaces and still need to get parsed properly!
  844. Instead we just ignore trailing white space and it seems to work...
  845. Daniel (26 February 2002)
  846. - Made the cookie property 'Max-Age' work, just since we already tried to
  847. support it, it is better to do it right. No one uses this anyway.
  848. - The cookie parser could crash if a really weird (illegal) cookie line was
  849. received. I also made it better discard really oddly formatted lines better.
  850. Made the cookie jar store the second field from the left using the syntax
  851. that Netscape and Mozilla probably like. Curl itself ignores it.
  852. Added test case 31 for these cases.
  853. Clay Loveless' email regarding some cookie issues started my cleanup.
  854. - Kevin Roth pointed out that my automake fiddles broke the ability to build
  855. outside the source-tree and I posted a patch to the mailing list that brings
  856. this ability back.
  857. Version 7.9.5-pre4
  858. Daniel (25 February 2002)
  859. - Fiddled with the automake files to make all source files in the lib
  860. directory not have ../src in the include path, and the src sources shouldn't
  861. have ../lib!
  862. - All 79 test cases ran OK under Linux and Solaris using the new HTTP server
  863. in the test suite. The new HTTP server was first donated by Georg Horn and
  864. subsequently modified to work with the test suite. It is currently still not
  865. portable enough to run on "all over" but this is a start and I can run all
  866. curl tests on my machines. This is an important requirement for the upcoming
  867. public release.
  868. - Using -d and -I on the same command line now reports an error, as it implies
  869. two different HTTP requests that can't be mixed.
  870. - Jeffrey Pohlmeyer provided a patch that made the -w/--write-out option
  871. support %{content_type} to get the content type of the recent download.
  872. - Kevin Roth reported that pre2 and pre3 didn't compile properly on cygwin,
  873. and this was because I used #ifdef HAVE_WINSOCK_H in lib/multi.h to figure
  874. out if we could include winsock.h which turns out not to be a wise choice to
  875. do on cygwin since it has the file but can't include it!
  876. Daniel (22 February 2002)
  877. - Added src/config-vms.h to the release archive.
  878. - Fixed the connection timeout value again, the change from February 18 wasn't
  879. complete.
  880. Version 7.9.5-pre3
  881. Daniel (21 February 2002)
  882. - Kevin Roth and Andrés García both found out that lib/config.h.in was missing
  883. in the pre-release archive and thus the configure script failed.
  884. Version 7.9.5-pre2
  885. Daniel (20 February 2002)
  886. - Andrés García provided a solution to bug report #515228. the total time
  887. counter was not set correctly when -I was used during some conditions (all
  888. headers were read in one single read).
  889. - Nico Baggus provided a huge patch with minor tweaks all over to make curl
  890. compile nicely on VMS.
  891. Daniel (19 February 2002)
  892. - Rick Richardson found out that by replacing PF_UNSPEC with PF_INET in the
  893. getaddrinfo() calls, he could speed up some name resolving calls with an
  894. order of magnitudes on his Redhat Linux 7.2.
  895. - Philip Gladstone found a second INADDR_NONE problem where we used long
  896. intead of in_addr_t which caused 64bit problemos. We really shouldn't define
  897. that on two different places.
  898. Daniel (18 February 2002)
  899. - Philip Gladstone found a problem in how HTTP requests were sent if the
  900. request couldn't be sent all at once.
  901. - Emil found and corrected a bad connection timeout comparison that made curl
  902. use the longest of connect-timeout and timout as a timeout value, instead of
  903. the shortest as it was supposed to!
  904. - Aron Roberts provided updated information about LDAP URL syntax to go into
  905. the manual as a replacement for the old references.
  906. Daniel (17 February 2002)
  907. - Philip Gladstone pointed out two missing include files that made curl core
  908. dump on 64bit architectures. We need to pay more attention on these details.
  909. It is *lethal* to for example forget the malloc() prototype, as 'int' is
  910. 32bit and malloc() must return a 64bit pointer on these platforms.
  911. - Giaslas Georgios fixed a problem with Host: headers on repeated requests on
  912. the same handle using a proxy.
  913. Daniel (8 February 2002)
  914. - Hanno L. Kranzhoff accurately found out that disabling the Expect: header
  915. when doing multipart formposts didn't work very well. It disabled other
  916. parts of the request header too, resulting in a broken header. When I fixed
  917. this, I also noticed that the Content-Type wasn't possible to disable. It is
  918. now, even though it probably is really stupid to try to do this (because of
  919. the boundary string that is included in the internally generated header,
  920. used as form part separator.)
  921. Daniel (7 February 2002)
  922. - I moved the config*.h files from the root directory to the lib/ directory.
  923. - I've added the new test suite HTTP server to the CVS repository, It seems to
  924. work pretty good now, but we must make it get used by the test scripts
  925. properly and then we need to make sure that it compiles, builds and runs on
  926. most operating systems.
  927. Version 7.9.5-pre1
  928. Daniel (6 February 2002)
  929. - Miklos Nemeth provided updated windows makefiles and INSTALL docs.
  930. - Mr Larry Fahnoe found a problem with formposts and I managed to track down
  931. and patch this bug. This was actually two bugs, as the posted size was also
  932. said to be two bytes too large.
  933. - Brent Beardsley found out and brought a correction for the
  934. CURLINFO_CONTENT_TYPE parser that was off one byte. This was my fault, I
  935. accidentaly broke Giaslas Georgios' patch.
  936. Daniel (5 February 2002)
  937. - Kevin Roth found yet another SSL download problem.
  938. Version 7.9.4
  939. - no changes since pre-release
  940. Version 7.9.4-pre2
  941. Daniel (3 February 2002)
  942. - Eric Melville provided a few spelling corrections in the curl man page.
  943. Daniel (1 February 2002)
  944. - Andreas Damm corrected the unconditional use of gmtime() in getdate, it now
  945. uses gmtime_r() on all hosts that have it.
  946. Daniel (31 January 2002)
  947. - An anonymous bug report identified a problem in the DNS caching which made it
  948. sometimes allocate one byte too little to store the cache entry in. This
  949. happened when the port number started with 1!
  950. - Albert Chin provided a patch that improves the gethostbyname_r() configure
  951. check on HP-UX 11.00.
  952. Version 7.9.4-pre1
  953. Daniel (30 January 2002)
  954. - Georg Horn found another way the SSL reading failed due to the non-blocking
  955. state of the sockets! I fixed.
  956. Daniel (29 January 2002)
  957. - Multipart formposts now send the full request properly, including the CRLF.
  958. They were previously treated as part of the post data.
  959. - The upload byte counter bugged.
  960. - T. Bharath pointed out that we seed SSL on every connect, which is a time-
  961. consuming operation that should only be needed to do once. We patched
  962. libcurl to now only seed on the first connect when unseeded. The seeded
  963. status is global so it'll now only happen once during a program's life time.
  964. If the random_file or egdsocket is set, the seed will be re-made though.
  965. - Giaslas Georgios introduced CURLINFO_CONTENT_TYPE that lets
  966. curl_easy_getinfo() read the content-type from the previous request.
  967. Daniel (28 January 2002)
  968. - Kjetil Jacobsen found a way to crash curl and after much debugging, it
  969. turned out it was a IPv4-linux only problem introduced in 7.9.3 related to
  970. name resolving.
  971. - Andreas Damm posted a huge patch that made the curl_getdate() function fully
  972. reentrant!
  973. - Steve Marx pointed out that you couldn't mix CURLOPT_CUSTOMREQUEST with
  974. CURLOPT_POSTFIELDS. You can now!
  975. Daniel (25 January 2002)
  976. - Krishnendu Majumdar pointed out that the header length counter was not reset
  977. between multiple requests on the same handle.
  978. - Pedro Neves rightfully questioned why curl always append \r\n to the data
  979. that is sent in HTTP POST requests. Unfortunately, this broke the test suite
  980. as the test HTTP server is lame enough not to deal with this... :-O
  981. - Following Location: headers when the connection didn't close didn't work as
  982. libcurl didn't properly stop reading. This problem was added in 7.9.3 due to
  983. the restructured internals. 'Frank' posted a bug report about this.
  984. Daniel (24 January 2002)
  985. - Kevin Roth very quickly spotted that we wrongly installed the example
  986. programs that were built in the multi directory, when 'make install' was
  987. used. :-/
  988. Version 7.9.3
  989. Daniel (23 January 2002)
  990. - Andrés García found a persistancy problem when doing HTTP HEAD, that made
  991. curl "hang" until the connection was closed by the server. This problem has
  992. been introduced in 7.9.3 due to internal rewrites, this was not present in
  993. 7.9.2.
  994. Version 7.9.3-pre4
  995. Daniel (19 January 2002)
  996. - Antonio filed bug report #505514 and provided a fix! When doing multipart
  997. formposts, libcurl would include an error text in the actual post if a
  998. specified file wasn't found. This is not libcurl's job. Instead we add an
  999. empty part.
  1000. Daniel (18 January 2002)
  1001. - Played around with stricter compiler warnings for gcc (when ./configure
  1002. --enable-debug is used) and changed some minor things to stop the warnings.
  1003. - Commented out the 'long long' and 'long double' checks in configure.in, as
  1004. we don't currently use them anyway and the code in lib/mprintf.c that use
  1005. them causes warnings.
  1006. - Saul Good and jonatan pointed out Mac OS X build problems with pre3 and how
  1007. to correct them. Two compiler warnings were removed as well.
  1008. - Andrés García fixed two minor mingw32 building problems.
  1009. Version 7.9.3-pre3
  1010. Daniel (17 January 2002)
  1011. - docs/libcurl-the-guide is a new tutorial for our libcurl programming
  1012. friends.
  1013. - Richard Archer brought back the ability to compile and build with OpenSSL
  1014. versions before 0.9.5.
  1015. [http://sourceforge.net/tracker/?func=detail&atid=100976&aid=504163&group_id=976]
  1016. - The DNS cache code didn't take the port number into account, which made it
  1017. work rather bad on IPv6-enabled hosts (especially when doing passive
  1018. FTP). Sterling fixed it.
  1019. Daniel (16 January 2002)
  1020. - Georg Horn could make a transfer time-out without error text. I found it and
  1021. corrected it.
  1022. - SSL writes didn't work, they return an uninitialized value that caused
  1023. havoc all over. Georg Horn experienced this.
  1024. - Kevin Roth patched the curl_version() function to use the proper OpenSSL
  1025. function for version information. This way, curl will report the version of
  1026. the SSL library actually running right now, not the one that had its headers
  1027. installed when libcurl was built. Mainly intersting when running with shared
  1028. OpenSSL libraries.
  1029. Version 7.9.3-pre2
  1030. Daniel (16 January 2002)
  1031. - Mofied the main transfer loop and related stuff to deal with non-blocking
  1032. sockets in the upload section. While doing this, I've now separated the
  1033. connection oriented buffers to have one for downloads and one for uploads
  1034. (as two can happen simultaneously). I also shrunk the buffers to 20K
  1035. each. As we have a scratch buffer twice the size of the upload buffer, we
  1036. arrived at 80K for buffers compared with the previous 150K.
  1037. - Added the --cc option to curl-config command as it enables so very cool
  1038. one-liners. Have a go a this one, building the simple.c example:
  1039. $ `curl-config --cc --cflags --libs` -o example simple.c
  1040. Daniel (14 January 2002)
  1041. - I made all socket reads (recv) handle EWOULDBLOCK. I hope nicely. Now we
  1042. only need to address all writes (send) too and then I'm ready for another
  1043. pre-release...
  1044. - Stoned Elipot patched the in_addr_t configure test to make it work better on
  1045. more platforms.
  1046. Daniel (9 January 2002)
  1047. - Cris Bailiff found out that filling up curl's SSL session cache caused a
  1048. crash!
  1049. - Posted the curl questionnaire on the web site. If you haven't posted your
  1050. opinions there yet, go there and do it now while it is still there:
  1051. http://curl.haxx.se/q/
  1052. - Georg Horn quickly found out that the SSL reading no longer worked as
  1053. supposed since the switch to non-blocking sockets. I've made a quick patch
  1054. (for reading only) but we should improve it even further.
  1055. Version 7.9.3-pre1
  1056. Daniel (7 January 2002)
  1057. - I made the 'bool' typedef use an "unsigned char". It makes it the same on
  1058. all platforms, no matter what the platform thinks the default format for
  1059. char is. This was noticed since we made a silly comparison involving such a
  1060. bool variable, and only one compiler/platform combination (on Debian Linux)
  1061. complained about it (that happened to have its char unsigned by default).
  1062. - Bug report #495290 identified a cookie parsing problem that was corrected.
  1063. When a Set-Cookie: line is received without a trailing semicolon, libcurl
  1064. didn't read the last "name=value" pair of the line, leading to confusions...
  1065. - Sterling committed his updated DNS cache code.
  1066. - I worked with Georg Horn and comments from Götz Babin-Ebell and switched
  1067. curl's socket operations completely over to non-blocking for the entire
  1068. operation (previously we used non-blocking only for the connection phase).
  1069. We had to do this to make the SSL connection phase timeout properly without
  1070. the use of signals. A little extra code to deal with this was added.
  1071. - T. Bharath pointed out a slightly obscure cookie engine flaw.
  1072. - Pete Su pointed out that libcurl didn't treat HTTP code 204 as it should.
  1073. 204-replies never provides a response-body. This resulted in bad persistant
  1074. behavior when 204 was received.
  1075. Daniel (5 January 2002)
  1076. - SM updated the VC++ library Makefiles for the new source files.
  1077. Daniel (4 January 2002)
  1078. - I discovered that we wrongly used inet_ntoa() (instead of inet_ntoa_r() in
  1079. two places in the source code). One happened with VERBOSE set on connects,
  1080. and the other when VERBOSE was on and krb4 over nat was used... I honestly
  1081. don't think anyone has suffered from these mistakes.
  1082. - I replaced a lot of silly occurances of printf() to instead use the more
  1083. appropriate Curl_infof() or Curl_failf(). The krb4 and telnet code were
  1084. affected.
  1085. - Philip Gladstone found a few more problems with 64-bit archs (the 64-bit
  1086. sparc on solaris 8).
  1087. - After discussions on the libcurl list with Raoul Cridlig, I just made FTP
  1088. response lines get passed to the header callback if such a one is
  1089. registered. It'll make it possible for any application to get all the
  1090. responses an FTP server sends to libcurl.
  1091. Daniel (3 January 2002)
  1092. - Sterling Hughes brought a few buckets of code. Now, libcurl will
  1093. automatically cache DNS lookups and re-use the previous results first if any
  1094. such is available. It greatly improves speed when doing many repeated
  1095. operations to the same host.
  1096. - As the test case uses --include and then --head, I had to modify src/main.c
  1097. to deal with this situation slightly better than previously. When done, we
  1098. have 100% good tests again in the main branch.
  1099. Daniel (2 January 2002)
  1100. - Made test case 25 run again in the multi-dev branch. But it seems that the
  1101. changes done on dec-20 made test case 104 cease to work (in both branches).
  1102. - Philip Gladstone pointed out a few portability problems in the source code
  1103. that didn't compile on 64-bit sparcs using Sun's native compiler.