CHANGES.2001 81 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957
  1. Daniel (20 December 2001)
  2. - Björn Stenberg caught an unpleasent (but hard-to-find) bug that could cause
  3. libcurl to hang on transfers over proxy, when the proxy was specified with
  4. an environment variable!
  5. - Added code to make ftp operations treat the NO_BODY and HEADERS options
  6. better:
  7. NO_BODY set TRUE and HEADERS set TRUE:
  8. Return a set of headers with file info
  9. NO_BODY set FALSE
  10. Transfer data as usual, HEADERS is ignored
  11. NO_BODY set TRUE and HEADERS set FALSE
  12. Don't transfer any data, don't return any headers. Just perform the set
  13. of FTP commands.
  14. Daniel (17 December 2001)
  15. - Götz Babin-Ebell dove into the dark dungeons of the OpenSSL ENGINE stuff and
  16. made libcurl support it! This allows libcurl to do SSL connections with the
  17. private key stored in external hardware.
  18. To make this good, he had to add a bunch of new library options that'll be
  19. useful to others as well:
  20. CURLOPT_SSLCERTTYPE set SSL cert type (PEM/DER)
  21. CURLOPT_SSLKEY set SSL private key (file)
  22. CURLOPT_SSLKEYTYPE: set SSL key type (PEM/DER/ENG)
  23. CURLOPT_SSLKEYPASSWD: set the passphrase for your private key
  24. (CURLOPT_SSLCERTPASSWD is an alias)
  25. CURLOPT_SSLENGINE: set the name of the crypto engine
  26. (returns CURLE_SSL_ENGINE_NOTFOUND on error)
  27. CURLOPT_SSLENGINE_DEFAULT: set the default engine
  28. There are two new failure codes:
  29. CURLE_SSL_ENGINE_NOTFOUND
  30. CURLE_SSL_ENGINE_SETFAILED
  31. Daniel (14 December 2001)
  32. - We have "branched" the source-tree at a few places. Checkout the CVS sources
  33. with the 'multi-dev' label to get the latest multi interface development
  34. tree. The idea is to only branch affected files and to restrict the branch
  35. to the v8 multi interface development only.
  36. *NOTE* that if we get bug reports and patches etc, we might need to apply
  37. them in both branches!
  38. The multi-dev branch is what we are gonna use as main branch in the future
  39. if it turns out successful. Thus, we must maintain both now in case we need
  40. them. The current main branch will be used if we want to release a 7.9.3 or
  41. perhaps a 7.10 release before version 8. Which is very likely.
  42. - Marcus Webster provided code for the new CURLFORM_CONTENTHEADER option for
  43. curl_formadd(), that lets an application add a set of headers for that
  44. particular part in a multipart/form-post. He also provided a section to the
  45. man page that describes the new option.
  46. Daniel (11 December 2001)
  47. - Ben Greear made me aware of the fact that the Curl_failf() usage internally
  48. was a bit sloppy with adding newlines or not to the error messages. Let's
  49. once and for all say that they do not belong there!
  50. - When uploading files with -T to give a local file name, and you end the URL
  51. with a slash to have the local file name used remote too, we now no longer
  52. use the local directory as well. Only the file part of the -T file name
  53. will be appended to the right of the slash in the URL.
  54. Daniel (7 December 2001)
  55. - Michal Bonino pointed out that Digital Unix doesn't have gmtime_r so the
  56. link failed. Added a configure check and corrected source code.
  57. Version 7.9.2
  58. Daniel (5 December 2001)
  59. - Jon Travis found out that if you used libcurl and CURLOPT_UPLOAD and then
  60. on the same handle used CURLOPT_HTTPGET it would still attempt to upload.
  61. His suggested fix was perfect.
  62. Daniel (4 December 2001)
  63. - Incorporated more macos fixes and added four specific files in a new
  64. subdirectory below src.
  65. Daniel (3 December 2001)
  66. - Eric Lavigne reported two problems:
  67. First one in the curl_strnequal() function. I think this problem is rather
  68. macos 9 specific, as most platform provides a function to use instead of the
  69. one provided by libcurl.
  70. A second, more important, was in the way we take care of FTP responses. The
  71. code would read a large chunk of data and search for the end-of-response
  72. line within that chunk. When found, it would just skip the rest of the
  73. data. However, when the network connections are special, or perhaps the
  74. server is, we could actually get more than one response in that chunk of
  75. data so that when the next invoke to this function was done, the response
  76. had already been read and thrown away. Now, we cache the data not used in
  77. one call, as it could be useful in the subsequent call. Test case 126 was
  78. added and the test ftp server modified, to exercise this particular case.
  79. Version 7.9.2-pre8
  80. Daniel (2 December 2001)
  81. - Bug report #487825 correctly identified a problem when using a proxy and
  82. following a redirection from HTTP to HTTPS. libcurl then re-used the same
  83. proxy connection but without doing a proper HTTPS request.
  84. - Fixed win32 compiling quirks.
  85. Version 7.9.2-pre7
  86. Daniel (30 November 2001)
  87. - Documented --disable-epsv and CURLOPT_FTP_USE_EPSV.
  88. Daniel (29 November 2001)
  89. - Added --disable-epsv as an option. When used, curl won't attempt to use the
  90. EPSV command when doing passive FTP downloads. Wrote a test case for it.
  91. - Eric provided a few more fixes for building on Macs. He also pointed out
  92. a flaw in the signal handler restoration code.
  93. Daniel (28 November 2001)
  94. - Fiddled with some Tru64 problems reported by Dimitris Sarris. They appeared
  95. only when using VERBOSE ftp transfers. Do we use a too small buffer for
  96. gethostbyaddr_r(), was the lack of using in_addr_t wrong or is it that the
  97. hostent struct must be blanked before use? With Dimitris help and these
  98. patches, the problems seem to be history.
  99. - CURLOPT_FTP_USE_EPSV was added and can be set to FALSE to prevent libcurl
  100. from using the EPSV command before trying the normal PASV. Heikki Korpela
  101. pointed out that some firewalls and similar don't like the EPSV so we must
  102. be able to shut if off to work everywhere.
  103. - I added a configure check for 'in_addr_t' and made the ftp code use that to
  104. receive the inet_addr() return code in. Works on Solaris and Linux at
  105. least. The Linux man page for inet_addr() doesn't even mention in_addr_t...
  106. - Adjusted (almost) all FTP tests to the new command sequence.
  107. - FTP command sequence changes:
  108. EPSV is now always attempted before PASV. It is the final touch to make IPv6
  109. passive FTP downloads to work, but EPSV is not restricted to IPv6 but works
  110. fine with IPv4 too on the servers that support it.
  111. SIZE is now always issued before RETR. It makes curl know the actual
  112. download size before the download takes place, as it makes it less important
  113. to find the size sent in RETR responses. Many sites don't include the size
  114. in there.
  115. Both these changes made it necessary to change the test suite's ftp server
  116. code, and all FTP test cases need to be checked and adjusted!
  117. Daniel (27 November 2001)
  118. - Hans Steegers pointed out that the telnet code read from stdout, not stdin
  119. as it is supposed to do!
  120. Version 7.9.2-pre6
  121. Daniel (27 November 2001)
  122. - Eric Lavigne's minor changes to build on MacOS before OS X were applied.
  123. - greep at mindspring.com provided a main index.html page for our release
  124. archive docs directory. It just links to all the existing HTML files, but
  125. I think it may come useful to people.
  126. - There's now some initial code to support the EPSV FTP command. That should
  127. be used to do passive transfers IPv6-style. The code is still #if 0'ed in
  128. lib/ftp.c as I have no IPv6 ftp server to test this with.
  129. Daniel (26 November 2001)
  130. - Robert Schlabbach had problems to understand how to do resumed transfers,
  131. and I clarified the man page -C section somewhat.
  132. Version 7.9.2-pre5
  133. Daniel (22 November 2001)
  134. - Andrés García helped me out to track down the roots of bug report #479537,
  135. which was concerning curl returning the wrong error code when failing to
  136. connect. This didn't happen on all systems, and more specificly I've so far
  137. only seen this happen on IPv4-only Linux hosts.
  138. - I applied the fixes for the two bugs Eric Lavigne found when doing his MacOS
  139. port. A missing comma in arpa_telnet.h and a pretty wild write in the FTP
  140. response reader function. The latter write is however likely to occur in our
  141. own buffer unless very big FTP server replies (>25K) are read. I've never
  142. seen such a reply ever, so I think this is a relatively minor risk.
  143. Daniel (21 November 2001)
  144. - Moonesamy provided code to prevent junk from being output when libcurl
  145. returns an error code but no error description and that corrects how make is
  146. run in the Makefile.dist file (that appears as root Makefile in release
  147. archives).
  148. - Eric Lavigne mailed me bugfixes and patches for building libcurl on MacOS
  149. (non-X).
  150. - Kevin Roth modified the cygwin files once again, now to build against the
  151. shared OpenSSL DLLs.
  152. Version 7.9.2-pre4
  153. Daniel (20 November 2001)
  154. - Georg Horn brought a patch that introduced CURLINFO_STARTTRANSFER_TIME,
  155. complete with man page updates!
  156. Daniel (19 November 2001)
  157. - Miklos Nemeth provided details enough to update the Borland makefile
  158. properly.
  159. - Lars M Gustafsson found a case with a bad free(). In fact, it was so bad I'm
  160. amazed we never saw this before!
  161. - Kevin Roth patched the cygwin Makfile.
  162. Daniel (16 November 2001)
  163. - Klevtsov Vadim fixed a bug in how time-conditionals were sent when doing
  164. HTTP.
  165. Version 7.9.2-pre3
  166. Daniel (14 November 2001)
  167. - Samuel Listopad patched away the problem with SSL we got when someone call
  168. curl_global_init() => curl_global_cleanup() => curl_global_init(). The
  169. second init would not "take" and SSL would be unusable with curl from that
  170. point. This doesn't change the fact that calling the functions that way is
  171. wrong. curl_global_init() should be called exactly once and not more.
  172. Daniel (13 November 2001)
  173. - Fixed some minor variable type mixups in ftp.c that caused compiler warnings
  174. on HP-UX 11.00.
  175. - The FTP fix I did yesterday used an uninitialized variable that caused
  176. spurious errors when doing FTP.
  177. Version 7.9.2-pre2
  178. Daniel (12 November 2001)
  179. - Ricardo Cadime fell over a multiple-requests problem when first a FTP
  180. directory fetch failed and then a second request is made after that. The
  181. second request happened to get the FTP server response back from the
  182. previous request, when it did its initial CWD command.
  183. - Bjorn Reese pointed out that we could improve the time diff function to
  184. prevent truncation a bit.
  185. - Kai-Uwe Rommel made me aware that -p (http proxy tunnel) silly enough didn't
  186. work for plain HTTP requests! So I made that work.
  187. Version 7.9.2-pre1
  188. Daniel (12 November 2001)
  189. - Rewrote the Curl_ConnectHTTPProxyTunnel(). It should now not only work a lot
  190. faster, it should also support such ("broken") proxies that John Lask
  191. previously have reported problems with. His proxy sends a trailing zero byte
  192. after the end of the (proxy-) headers. I've tested this myself and it seems
  193. to work on a proxy the previous version also worked with...! This rewrite is
  194. due to the problems John Lask previously experienced.
  195. - Andrés García found out why the "current speed" meter sometimes showed 2048K
  196. for very quick transfers. It turned out the "time diff"-function returned a
  197. zero millisecond diff. We now always say it is at least one millisecond! In
  198. reality, these timers very rarely have that good resolution so even though
  199. the time diff was longer than 1 millisecond, it was reported as no diff.
  200. - I also modified the getinfo() again when returning times, as Paul Harrington
  201. reports that 7.9.1 only returns times with 1 second accuracy, which indeed
  202. is wrong.
  203. Daniel (8 November 2001)
  204. - Marcus Webster found out that curl_formadd() could read one byte outside a
  205. buffer boundary, which then of course could lead to a crash. Marcus also
  206. gracefully provided a patch for this this.
  207. - Glen Scott ran configure on his Cobalt Qube and it didn't figure out the
  208. correct way of calling gethostbyname_r() and thus failed to resolve hosts.
  209. This is two errors: it shouldn't continue the configure script if it finds
  210. gethostbyname_r() but can't figure out how to use it, and it should really
  211. figure out how to use it as it was running Linux and we know how that
  212. works...
  213. Daniel (7 November 2001)
  214. - docs/VERSIONS is a new file in the archive that explains the version number
  215. system we use in the curl project.
  216. - Did some more fixes that now makes libcurl only ignore signals as long as
  217. it needs to, and then restore (if any) previous signal handler again.
  218. Daniel (6 November 2001)
  219. - Enrik Berkhan posted bug report #478780, in which he very correctly pointed
  220. out two bad timeout matters in libcurl: we didn't restore the sigaction
  221. struct (the alarm handler for SIGALRM) nor did we restore the previous
  222. alarm() timeout that could've been set by a "parent" process or similar.
  223. - Kevin Roth made the cygwin binary get stripped before install.
  224. Daniel (5 November 2001)
  225. - Detlef Schmier reported that curl didn't compile using Solaris 8 with the
  226. native cc compiler. It was due to a bad function prototype. Fixed now.
  227. Unfortunately, I can't enable the -Wstrict-prototypes in my debug builds
  228. though, as gcc then complains like crazy on OpenSSL include files... :-(
  229. - John Lask provided SSL over HTTP proxy fixes. They'll need some tweaking
  230. to work on all platforms.
  231. - John Lask added the -1/--TLSv1 options that forces SSL into using TLS
  232. version 1 when speaking HTTPS.
  233. - John Lask brought a brand new VC++ makefile for the lib directory, that
  234. works a lot better than the previous!
  235. - Ramana Mokkapati brought some clever insights on the LDAP failures (bug
  236. report #475407), and his suggested changes are now applied.
  237. Version 7.9.1
  238. Daniel (4 November 2001)
  239. - I've added a number of new test cases the last few days. A few of them since
  240. I got reports that hinted on problems on timeouts, so I added four tests
  241. with timeouts for all sorts of protocols and stuff. I also came to think of
  242. a few other error scenarios that we currently didn't test properly, so I
  243. wrote up tests for a few of those too.
  244. Daniel (2 November 2001)
  245. - Replaced read() and write() with recv() and send() for socket operations
  246. even under normal unixes.
  247. Daniel (1 November 2001)
  248. - When an FTP transfer was aborted due to a timeout, it wasn't really aware of
  249. how many bytes that had been transferred and the error text always said 0
  250. bytes. I modified this to output the actually transferred amount! :-)
  251. - The FTP fixes in pre7 didn't compile on IPv6 enabled hosts. Does now. I also
  252. added more comments in the lib/ftp.c source file.
  253. - Minor updates to the FAQ, added a brand new section to the web site about
  254. the name issue (who owns "curl"? will someone sue us? etc etc):
  255. http://curl.haxx.se/legal/thename.html
  256. Version 7.9.1-pre7
  257. Daniel (31 October 2001)
  258. - The curl_easy_getinfo() timers accidentally lost their subsecond accuracy as
  259. the calculations used longs instead of doubles! Paul Harrington reported.
  260. - The SSL SocketIsDead() checks weren't good enough (as expected really), so I
  261. had to add a generic internal try-it-out system. If the request on a re-used
  262. connection seems to fail, then we go back and get a new (fresh) connection
  263. and re-tries the request on that instead. It kind of makes the
  264. SocketIsDead() check obsolete, but I think it is a quicker way for those
  265. cases where it actually discovers that the connection is dead.
  266. - When fixing the above, I noticed that we did quite a few writes to sockets
  267. in libcurl where we didn't check the return code (that it actually worked to
  268. send the data). With the new "attempted request" system we must detect those
  269. situations so I went over a bunch of functions, changed return types and
  270. added checks for what they actually return.
  271. Version 7.9.1-pre6
  272. Daniel (31 October 2001)
  273. - Paul Harrington detected a problem with persistant SSL connections. Or to be
  274. more exact, we didn't properly detect that the connection was dead and then
  275. a second connection would try to re-use it wrongly. The solution to this
  276. problem is still not very clear and I'm working on it. One OpenSSL insider
  277. said there is no way to know if the SSL connection is alive or not without
  278. actually trying an operation.
  279. Daniel (30 October 2001)
  280. - If a cookie was read from a file, it could accidentally strdup() a NULL
  281. pointer. Paul Harrington reported. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/cookie.c.diff?r1=1.25&r2=1.26]
  282. - The MANUAL file now documents -t correctly. I also fixed the -T description
  283. in the curl.1 man page.
  284. Daniel (29 October 2001)
  285. - John Janssen found out that curl_formadd was missing in the libcurl.def file
  286. and that the docs stated the wrong return type for the function.
  287. - Andrés García found a bug with multiple files in the curl_formadd() function,
  288. that I removed with this patch [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/formdata.c.diff?r1=1.25&r2=1.26].
  289. - Kevin Roth brought another patch that moved the cygwin package files to the
  290. packages/Win32/cygwin directory.
  291. - A bug in the connection re-use logic made repeated requests to the same FTP
  292. server (when using name+pasword in the URL) sometimes use more than one
  293. connection. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/url.c.diff?r1=1.166&r2=1.167]
  294. - Moonesamy tracked down and fixed a problem with the new 7.9.1 connect
  295. code. This corrected the error Kevin Roth reported on the 7.9.1-pre5 release
  296. (test 19)...
  297. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/connect.c.diff?r1=1.13&r2=1.14]
  298. Daniel (26 October 2001)
  299. - Added test28 which verifies that "Location:"-following works even if the
  300. contents is separated with more than one space.
  301. Daniel (25 October 2001)
  302. - Ramana Mokkapati pointed out that LDAP transfers would 'hang' after the
  303. correct data has been output.
  304. Version 7.9.1-pre5
  305. Daniel (24 October 2001)
  306. - T. Bharath found a memory leak in the cookie engine. When we update a cookie
  307. that we already knew about, we lost a chunk of memory in the progress... The
  308. brand new test case 27 now tests for this occurrence. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/cookie.c.diff?r1=1.24&r2=1.25]
  309. Daniel (23 October 2001)
  310. - pack_hostent() didn't properly align some pointers, so at least SPARC CPUs
  311. would core. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/hostip.c.diff?r1=1.34&r2=1.35]
  312. Daniel (22 October 2001)
  313. - Tom Benoist reported that this SGI IRIX compiler didn't handle indented
  314. preprocessor instructions, so they're no longer in the source code!
  315. - Applied Kevin Roth's patches to make it easier to build cygwin packages from
  316. the out-of-the-box curl release archives.
  317. - I forgot to mention it below, but libcurl now closes connections that report
  318. transfer failures. Unconditionally. This could be made more nicely in the
  319. future if we set a flag or something that the connection is still good to be
  320. used for the errors that know that for a fact. We have to close the
  321. connection for the cases where we abort for example a HTTP transfer in the
  322. middle, or otherwise we might re-use that connection later with lots of data
  323. still being sent to us on it. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/transfer.c.diff?r1=1.63&r2=1.64]
  324. Daniel (19 October 2001)
  325. - CURLE_GOT_NOTHING is now returned when a HTTP server doesn't return
  326. anything, not even a header. test case 37 was added to test for this.
  327. - T. Bharath made curl_easy_duphandle() properly clone the cookie status as
  328. well.
  329. Version 7.9.1-pre4
  330. Daniel (18 October 2001)
  331. - CURLOPT_FAILONERROR, set with "curl --fail" no longer returns an error if
  332. the HTTP return code is below 400.
  333. Daniel (17 October 2001)
  334. - The test suite now kills any running test http server when you re-start the
  335. tests.
  336. - We had to remove 'use strict' from two perl scripts, as the cygwin
  337. adjustments didn't play nicely otherwise for some reason. Any perl wizard
  338. out there who can put the scrict back and still make it run good on unix and
  339. cygwin?
  340. - A potential memory leak pointed out to us by Yanick Pelletier was removed.
  341. It would occur when a http file transfer fails. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/transfer.c.diff?r1=1.60&r2=1.61]
  342. - The memory debugging system should no longer display anything to stderr
  343. if the curl_memdebug() hasn't been used to explicitly say so. This makes it
  344. easier to use the memory debug system and switch the logging on/off.
  345. Daniel (16 October 2001)
  346. - Kevin Roth provided fixes for building curl nicer in cygwin environments.
  347. Daniel (12 October 2001)
  348. - Cleaning up the progress meter/info code. The "current speed" is now more
  349. accurate than before as we now use the true time spent between the measures,
  350. and not just "assuming" every-second-update like before. The output should
  351. now also be of the same width at all times, never to show "extra" zeroes on
  352. the right edge.
  353. - After talking about possible Location: bugs on the mailing list, I modified
  354. the "absolute URL" checker in lib/transfer.c to be more strict when checking
  355. if the redirected URL is absolute.
  356. Daniel (11 October 2001)
  357. - Kevin Roth provided patches that make the test suite run fine on Windows
  358. 2000 running cygwin.
  359. Daniel (10 October 2001)
  360. - Setting the -c or the CURLOPT_COOKIEJAR option now enables the cookie parser.
  361. Previously -b or CURLOPT_COOKIEFILE was also required for the jar to work.
  362. Version 7.9.1-pre3
  363. Daniel (9 October 2001)
  364. - Added a new option to the command line client: -0/--http1.0. It uses the new
  365. libcurl option CURLOPT_HTTP_VERSION to request that libcurl uses HTTP 1.0
  366. requests instead of the default version (1.1). It should only be used if you
  367. really MUST do that because of a silly remote server.
  368. - Renamed the 'TimeCond' typedef in curl/curl.h to use a 'curl_' prefix as
  369. all public curl-symbols should.
  370. - libcurl now explicitly ignores the SIGPIPE signal.
  371. Daniel (8 October 2001)
  372. - Kevin Roth's change to the cookie-jar comment (in the stored file) was
  373. applied.
  374. - Lucas Adamski's minor bug in the bind error code failf() was fixed.
  375. Daniel (5 October 2001)
  376. - Moonesamy fixed the Curl_connecthost() function to not give compiler errors
  377. on a bunch of compilers, due to the argument named 'socket'.
  378. - Moonesamy also provided updated VC++ makefiles and project files.
  379. Version 7.9.1-pre2
  380. Daniel (4 October 2001)
  381. - Albert Chin provided a configure patch that makes the script detect proper
  382. gethostbyname_r() method without actually running any code, only compiling
  383. is necessary. This also removes the need of having a resolving 'localhost'
  384. name.
  385. - Found and removed memory leakage (name resolve data) in libcurl on
  386. IPv6-enabled hosts. These could sneak through because we didn't have any
  387. resource tracing on the IPv6-related functions. We do now.
  388. Daniel (3 October 2001)
  389. - Keith McGuigan patched away a (mainly Windows-) problem with the name
  390. resolver data being kept in the static memory area, which is removed when a
  391. thread is killed. The curl handle itself though perfectly handles being
  392. passed between threads.
  393. - Dirk Eddelbuettel reported an odd bug that turned out to be his proxy that
  394. required an Authorization: header. Now, proxies are not supposed to require
  395. that header, that is for true servers...
  396. - I accidentally ruined Georg's curl_formadd(). Uh, bad me. Corrected now.
  397. Version 7.9.1-pre1
  398. Daniel (3 October 2001)
  399. - Georg Huettenegger once again made an effort beyond the call of duty and not
  400. only improved the curl_formadd() function, but also took care of adjusting
  401. the curl command line client to use this new function instead of the
  402. obsoleted curl_formparse.
  403. Daniel (2 October 2001)
  404. - Major fix in how libcurl does TCP connects. It now does non-blocking
  405. connects to enable good timeouts without signals, and it now tries all IP
  406. addresses for any given host (if it resolves more than one and the first
  407. one(s) don't connect). Added a new source file 'connect.c' to deal with all
  408. the TCP connect stuff.
  409. - We now support IPv4-style IP-addresses in rfc2732-format, to better support
  410. people writing scripts without knowing what address there is.
  411. Daniel (28 September 2001)
  412. - Cleanups in the FTP source code. Divided the code into even more smaller
  413. functions and generally tried to make the differences between IPv4 and IPv6
  414. get less noticable in the sources.
  415. - If the remote file time is not readable/accessable/understood by libcurl,
  416. libcurl now returns -1 in the CURLINFO_FILETIME data, not 0 as it previously
  417. did. This should make curl not touch the file data unless there was a known
  418. remote date when -R is used.
  419. Daniel (27 September 2001)
  420. - Working on getting non-blocking connects working platform independent. We
  421. will also make curl try all IPs for a given host if the first one should
  422. fail.
  423. Daniel (26 September 2001)
  424. - Kevin Roth provided a cookie example that proved the cookie jar
  425. functionality wasn't working properly. I added test case 46 and made it
  426. work.
  427. Daniel (25 September 2001)
  428. - Jörn Hartroth updated the mingw32 makefiles.
  429. Version 7.9
  430. Daniel (23 September 2001)
  431. - Found and removed a 'socket leak' that would occur on IPv6 enabled hosts
  432. when FTP RETR failed.
  433. - Made the FTP upload tests run fine on machines with IPv6 enabled.
  434. Version 7.9-pre8
  435. Daniel (19 September 2001)
  436. - Vojtech Minarik set up a special-purpose test server and provided me with
  437. test certificates in order for me to repeat the bug reports #440068 and
  438. #440373. It turned out we didn't check all the error codes properly. We do
  439. now, and connecting with a unacceptable certificate will make libcurl fail
  440. to connect with an error code returned.
  441. - Ramana Mokkapati found a case when the Location: following code did wrong.
  442. I wrote a test case for this (45).
  443. Version 7.9-pre7
  444. Daniel (17 September 2001)
  445. - Linus Nielsen Feltzing fixed telnet for win32. It makes libcurl require
  446. winsock 2.0.
  447. Version 7.9-pre6
  448. - libtool 1.4.2 is now in use!
  449. Version 7.9-pre5
  450. Daniel (14 September 2001)
  451. - Added another 14 ftp tests.
  452. Daniel (13 September 2001)
  453. - Added curl_easy_duphandle() to the easy.h header file. It has now been
  454. tested and proved to work in a real-world tests by T Bharath. We still need
  455. to write up some docs for this function.
  456. - Added four more ftp tests to the test suite.
  457. Daniel (12 September 2001)
  458. - CURLOPT_SSL_CIPHER_LIST was added, and the curl tool option is named
  459. --ciphers. Use them to specify a list of ciphers to use in the SSL
  460. connection.
  461. - T. Bharath found a memory leak in libcurl's windows version. It turned out
  462. to be the new duphandle() that didn't quite work yet.
  463. Version 7.9-pre4
  464. Daniel (11 September 2001)
  465. - Added verbose output for SSL connections that output the server
  466. certificate's start and expire dates. As suggested by Paul Harrington.
  467. - Heikki Korpela found problems in the perl ftp server used for the test
  468. suite, when he runs on on OpenBSD with perl 5.6. Some changes have been
  469. made, but nothing really certain.
  470. - T. Bharath has experienced problems with libcurl's stack usage on windows
  471. and works on reducing it.
  472. Daniel (10 September 2001)
  473. - Cris Bailiff fixed the perl interface. It stopped working since the changed
  474. behavior with WRITEHEADER and NULL pointers.
  475. - The "output cookies" function could dump core if no cookies were enabled.
  476. Daniel (7 September 2001)
  477. - SM pointed out that the SSL code didn't compile any longer if SSL was
  478. disabled... Also, we needed to correct the #include for the utime stuff on
  479. windows.
  480. Daniel (6 September 2001)
  481. - T. Bharath pointed out a flaw in the SSL session cache code that made it
  482. sometimes read from a NULL pointer.
  483. Version 7.9-pre3
  484. Daniel (3 September 2001)
  485. - Added the -R/--remote-time option, that uses the remote file's datestamp to
  486. set the local file's datestamp. Thus, when you get a remote file your local
  487. file will get the same time and date. Note that this only works when you use
  488. -o or -O.
  489. - Installed libtool 1.4.1, libtoolized and everything.
  490. Daniel (1 September 2001)
  491. - Heikki Korpela pointed out that I did not ship the proper libtool stuff in
  492. the pre-releases, even though that was my intention. libtoolize has now
  493. been re-run.
  494. - Heikki also patched away the bad use of 'make -C' in the test suite
  495. makefile. make -C is not very portable and is now banned from here.
  496. Version 7.9-pre2
  497. Daniel (31 August 2001)
  498. - I just made a huge internal struct rehaul, and all the big internally used
  499. structs have been renamed, redesigned and stuff have been moved around a bit
  500. to make the source easier to follow, more logically grouped and to hopefully
  501. decrease future bugs. I also hope that this will make new functions to get
  502. easier to add, and make it less likely that we have bugs left like the URL-
  503. free bug from August 23.
  504. Version 7.9-pre1
  505. Daniel (29 August 2001)
  506. - The new cookie code have enabled the brand new '-c/--cookie-jar' option. Use
  507. that to specify the file name in which you want to have all cookies curl
  508. knows of, dumped to. It'll be written using the netscape cookie format.
  509. This is internally done with the new CURLOPT_COOKIEJAR option to libcurl,
  510. which in turn dumps this information when curl_easy_cleanup() is invoked.
  511. There might be reasons to re-consider my choice of putting it there. Perhaps
  512. it is better placed to get done just before *_perform() is done. It is all
  513. of course depending on how you guys want to use this feature...
  514. - Added ftpupload.c in the source examples section, based on source code posted
  515. by Erick Nuwendam.
  516. Daniel (28 August 2001)
  517. - Now running libtool CVS branch-1-4 to generate stuff. Should fix problems
  518. on OpenBSD and hopefully on FreeBSD as well!
  519. - Georg Huettenegger modified the curl_formadd() functionality slightly, and
  520. added support for error code 417 when doing form post and using the Expect:
  521. header. Great work!
  522. - Made some tests with cached SSL session IDs, and they seem to work. There
  523. should be a significant speed improvement in the SSL connection phase, but
  524. in my tiny tests it just isn't possible to notice any difference. Like other
  525. caching in libcurl, you must reuse the same handle for the caching to take
  526. effect. SSL session ID caching is done on a per host-name and destination
  527. port number basis.
  528. Set verbose, and you'll get informational tests when libcurl detects and
  529. uses a previous SSL session ID.
  530. - Upgraded to automake 1.5 on my development/release machine.
  531. Daniel (27 August 2001)
  532. - Slowly started writing SSL session ID caching code
  533. Daniel (24 August 2001)
  534. - T. Bharath removed compiler warnings on windows and updated the MS project
  535. files.
  536. - Kevin Roth reported two kinds of command line constructs with the new -G that
  537. curl didn't really deal with the way one would like.
  538. - Tim Costello patched away a use of strcasecmp() in the SSL code. We have our
  539. own portable version named strequal() that should be used!
  540. - Tim also pointed out a problem in the lib/Makefile.vc6 file that made it mix
  541. debug object modules causing confusions.
  542. Daniel (23 August 2001)
  543. - T. Bharath accurately found a libcurl bug that would happen when doing a
  544. second invoke of curl_easy_perform() with a new URL when the previous invoke
  545. followed a Location: header.
  546. - Started the improvement work on the cookie engine:
  547. - Now keeps cookies in the same order as the cookie file
  548. - A write to the possibly static string was removed
  549. - Added a function that can output all cookies
  550. - Now supports reading multiple cookie files
  551. - Steve Lhomme corrected a DLL naming issue in the MSVC++ project file.
  552. - Split up the monster function in lib/ftp.c to use more smallish functions to
  553. increase readability and maintainability.
  554. Daniel (21 August 2001)
  555. - Georg Huettenegger's big patch was applied. Now we have:
  556. o "Expect: 100-continue" support. We will from now on send that header in
  557. all rfc1867-posts, as that makes us abort much faster when the server
  558. rejects our POST. Posting without the Expect: header is still possible in
  559. the standard replace-internal-header style.
  560. o curl_formadd() is a new formpost building function that is introduced to
  561. replace the now deprecated curl_formparse() function. The latter function
  562. will still hang around for a while, but the curl_formadd() is the new way
  563. and correct way to build form posts.
  564. o Documentation has been updated to reflect these changes
  565. These changes are reason enough to name the next curl release 7.9...
  566. - We now convert man pages to HTML pages and include them in the release
  567. archive. For the pleasure of everyone without nroff within reach.
  568. - Andrés García's suggested flushing of the progress meter output stream was
  569. added. It should make the progress meter look better on Windows.
  570. - Troy Engel pointed out a mistake in the configure script that made it fail
  571. on many Red Hat boxes!
  572. Daniel (20 August 2001)
  573. - We need an updated libtool to make a better build environment for OpenBSD
  574. as well as FreeBSD
  575. Version 7.8.1
  576. Daniel (20 August 2001)
  577. - Brad pointed out that we ship two extra libtool files in the tarballs that
  578. we really don't need to! Removing them makes the gz-archive about 60K
  579. smaller!
  580. - Albert Chin brought fixes for the configure script to detect socklen_t
  581. properly as well as moving lots of our custom autoconf macros to
  582. acinclude.m4.
  583. Daniel (19 August 2001)
  584. - Moonesamy improved his -G feature for host names only URLs...
  585. Daniel (17 August 2001)
  586. - Finally cleaned up the kerberos code to use Curl_ prefixes on all global
  587. symbols and to not use global variables.
  588. Version 7.8.1-pre6
  589. Daniel (16 August 2001)
  590. - S. Moonesamy added the -G option to curl, that converts the data specified
  591. with -d to a GET request. Default action when using -d is POST. When -G is
  592. used, the -d specified data will be appended to the URL with a '?'
  593. separator. As suggested previously by Kevin Roth.
  594. - curl-config --libs should now display all linker options required to link
  595. with libcurl. It includes the path and options for libcurl itself.
  596. curl-config --cflags displays the compiler option(s) needed to compile
  597. source files that use libcurl functions. Basically, that sets the include
  598. path correct.
  599. Daniel (15 August 2001)
  600. - Arkadiusz Miskiewicz pointed out a mistake in how IPv6-style IP-addresses
  601. were parsed and used. (RFC2732-format)
  602. - Bug #12733 over on php.net identified a problem in libcurl that made it core
  603. dump if you used CURLOPT_POST without setting any data to post with
  604. CURLOPT_POSTFIELDS! This is no longer the case. Not using CURLOPT_POSTFIELDS
  605. now equals setting it to no data at all.
  606. - Ramana Mokkapati reported that curl with '-w %{http_code}' didn't work
  607. properly when used for multiple URLs on a single command line. Indeed, the
  608. variable was not reset between the requests. This is now fixed.
  609. - David James fixed the Borland makefile so that libcurl still compiles and
  610. builds with that compiler.
  611. Daniel (14 August 2001)
  612. - Oops. I ruined Nico's socklen_t define in config-vms.h, corrected it now.
  613. - An older item not mentioned here before: CURL_GLOBAL_WIN32 is a define for
  614. windows users to curl_global_init(), that makes libcurl init the winsock
  615. stuff. If libcurl is all socket stuff you do, then allowing it to fiddle
  616. with this is a comfortable shortcut to fame.
  617. Version 7.8.1-pre5
  618. Daniel (14 August 2001)
  619. - Nico Baggus provided more feedback from his VMS porting efforts and a few
  620. minor changes were necessary.
  621. - I modified configure.in so that --enable-debug sets more picky gcc options.
  622. I then removed almost all the new warnings that appeared, and by doing so I
  623. corrected the size_t-treated-as-signed problem that has been discussed on
  624. the mailing list previously. I also removed a bunch of the just recently
  625. added #ifdef VMS lines.
  626. - I removed the use of a global variable in the SSL code. It was once
  627. necessary but hasn't been needed since OpenSSL 0.9.4. The old code should
  628. (hopefully) still work if libcurl is built against an ancient version of
  629. OpenSSL.
  630. Daniel (13 August 2001)
  631. - Peter Todd posted a patch that now allows non-file rc1867-style form posts
  632. to be larger than 4K.
  633. Daniel (10 August 2001)
  634. - S. Moonesamy fixed bugs for building debug and SSL lib in VC makefile
  635. Daniel (9 August 2001)
  636. - The redirected error stream was closed before the curl_easy_cleanup() call
  637. was made, and when VERBOSE was enabled, the cleanup function tried to use
  638. the stream. It could lead to a segmentation fault. Also, the stream was
  639. closed even if we looped to get more files. Corrects Dustin Boswell's bug
  640. report #441610
  641. - Now generates the release configure script with autoconf 2.52
  642. Version 7.8.1-pre4
  643. Daniel (8 August 2001)
  644. - curl -E uses a colon to separate a file name from a passphrase. This turned
  645. out really bad for the windows people who wants to include a drive letter in
  646. the file name like "c:\cert.pem". There's now a win32 work-around
  647. implemented that tries work around that, when the colon seems to be used for
  648. this kind of construct.
  649. - Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
  650. verify the server's CN field when talking https://. If --cacert is not used,
  651. any failures in matching is only displayed as information (-v).
  652. Daniel (7 August 2001)
  653. - Wrote up nine more test cases, more or less converted from the former test
  654. suite.
  655. Daniel (6 August 2001)
  656. - Heikki Korpela posted a patch that makes 'curl-config --libs' include the
  657. directory in which libcurl itself is installed in. While this wasn't my
  658. initial intention with this option, it makes sense and makes linking with
  659. libcurl easier.
  660. - Stefan Ulrich pointed out to us that other tools and libraries treat file://
  661. URLs with only one slash after the host name slighly different than libcurl
  662. does. Since all the others seem to agree, we better follow them.
  663. - Nico Baggus provided us with a huge set of fixes to make curl compile and
  664. build under OpenVMS.
  665. Version 7.8.1-pre3
  666. Daniel (6 August 2001)
  667. - Jonathan Hseu noticed that you couldn't get a header callback unless you
  668. set CURLOPT_WRITEHEADER to non-NULL, even if you didn't care about that
  669. data. This is now fixed.
  670. Daniel (5 August 2001)
  671. - Sergio Ballestrero provided a patch for reading responses from NCSA httpd
  672. 1.5.x servers, as they return really screwed up response headers when asked
  673. for with HTTP 1.1.
  674. - curl_escape() no longer treats already encoded characters in the input
  675. string especially.
  676. Daniel (3 August 2001)
  677. - I replaced the former lib/arpa_telnet.h file with one I wrote myself, to
  678. avoid the BSD annoucement clause of the license in the former file.
  679. - Andrew Francis provided a new version of base64.c to work around the license
  680. boiler plate that came with the previous one. I patched it, but the glory
  681. should go to Andrew for his heads up.
  682. - Tomasz Lacki noticed that when you do repeated transfers with libcurl you
  683. couldn't always reliably change HTTP request. This has now been fixed and a
  684. new libcurl option was added: CURLOPT_HTTPGET, that can force the HTTP
  685. requestr (back) to GET.
  686. - Linus Nielsen Feltzing pointed out that httpsserver.pl wasn't included in
  687. release archives. It should be now.
  688. Daniel (2 August 2001)
  689. - Frank Keeney pointed out a manual mistake for certificate convertions.
  690. - Tomasz Lacki pointed out a problem in the transfer loop that could make the
  691. select() loop use far too much CPU.
  692. - Pawel A. Gajda pointed out an output mistake done when using libcurl's
  693. progress callback.
  694. Daniel (29 June 2001)
  695. - Naveen Noel noticed that the Borland library makefile wasn't updated.
  696. - Nic Roets brought a fix for the certificate verification when using SSL.
  697. Daniel (27 June 2001)
  698. - Made the FTP tests run OK even on machines running curl IPv6-enabled.
  699. - Troy Engel corrected some RPM package details.
  700. Version 7.8.1-pre2
  701. Daniel (25 June 2001)
  702. - Björn Stenberg correctly identified a problem that occurred when downloading
  703. several files with curl, and using resume. The first file's resume index was
  704. then used for all files, resulting in weird results...
  705. - Anton Kalmykov provided a fix that makes curl work with form field names
  706. with spaces like when -F is used.
  707. Version 7.8.1-pre1
  708. Daniel (20 June 2001)
  709. - Mike Bytnar provided a fine report that proved that the --with-ssl option
  710. for configure needed tweaking. It no longer searches the default directories
  711. for OpenSSL libs or directories when a specified path is given.
  712. Daniel (19 June 2001)
  713. - When an FTP transfer is cut off during transfer, curl could present a truly
  714. garbaged error message and in worst case dump core. Thanks to detailed
  715. reports from Shawn Poulson we nailed this.
  716. Daniel (12 June 2001)
  717. - Salvador Dávila provided a fix for FTP range downloads.
  718. - Added a few more test cases from the former test suite to the new file
  719. format. We're now at a total of 26 tests.
  720. Daniel (11 June 2001)
  721. - libcurl's version-info was wrong, as noted by both Domenico Andreoli and
  722. David Odin.
  723. Daniel (7 June 2001)
  724. - Jörn fixed the curl_unescape duplicate entry in lib/libcurl.def
  725. - I made SSL certificate failure messages to be more detailed.
  726. Version 7.8
  727. Daniel (7 June 2001)
  728. - SDavila provided a resumed download fix.
  729. Version 7.8-pre4
  730. Daniel (1 June 2001)
  731. - Sterling provided some new PHP examples.
  732. - Changed the CVS hierarchy and the older checkout instruction does no longer
  733. work. We moved the entire source code into a CVS module named 'curl'.
  734. Daniel (31 May 2001)
  735. - CURLOPT_MUTE does not exist anymore. It is still present in the include file
  736. to not cause compiler errors for applications using it, but it isn't used
  737. anywhere in the library.
  738. Version 7.8-pre3
  739. Daniel (31 May 2001)
  740. - Once and for all fixed the _REENTRANT mess for Solaris compiles to present
  741. less warnings.
  742. - Sterling Hughes tirelessly points out and corrects my mistakes...! So,
  743. curl_global_init() now lets the argument flags *SET* what parts to
  744. init. CURL_GLOBAL_DEFAULT makes a nice default, CURL_GLOBAL_ALL inits all
  745. known subsystems and CURL_GLOBAL_NONE inits nothing more than absolutely
  746. necessary. Man page updated accordingly.
  747. - Fixed the strtok.h include file as it wouldn't compile on all platforms!
  748. Daniel (30 May 2001)
  749. - Made libcurl by default act as if CURLOPT_MUTE and CURLOPT_NOPROGRESS were
  750. set TRUE. Set them to FALSE to make libcurl more talkative. The *_MUTE
  751. option is subject for complete removal...
  752. Version 7.8-pre2
  753. Daniel (30 May 2001)
  754. - Cris Bailiff wrote a makefile for building Solaris packages.
  755. - Sterling Hughes brought fixes for 'buildconf' (the build-from-CVS tool) and
  756. we discussed and added a few CURL_GLOBAL_* flags in include/curl.h
  757. - Kjetil Jacobsen privately announced his python interface to libcurl,
  758. available at http://pycurl.sourceforge.net/
  759. Daniel (29 May 2001)
  760. - Sterling Hughes fixed a strtok() problem in libcurl. It is not a thread-
  761. safe function. Now configure checks for a thread-safe version, and
  762. lib/strtok.c offers one for the systems that don't come with one included!
  763. - Mettgut Jamalla correctly pointed out that the -# progress bar was written
  764. to stderr even though --stderr redirection was used. This is now corrected.
  765. - I moved out the list of contributors from the curl.1 man page and made a
  766. separate docs/THANKS file. It makes the list easier to find, and made it
  767. easier for me to make a separate web page with that same information.
  768. I really do want all you guys mentioned in there to feel you get the credit
  769. you deserve.
  770. - lib/easy.c didn't compile properly in the 7.8-pre1 due to a silly mistake
  771. Version 7.8-pre1
  772. Daniel (28 May 2001)
  773. - curl-config now supports '--vernum' that outputs a plain hexadecimal version
  774. of the libcurl version number (using 8 bits for each 3 numbers). Version
  775. 7.7.4 appears as 070704
  776. - Wrote man pages for curl_global_init and curl_global_cleanup...
  777. - T. Bharath brought news about the usage of the OpenSSL interface that was
  778. not previously taken into consideration and thus caused libcurl to leak
  779. memory. The only somewhat sane approach to fix this dilemma, is adding two
  780. two new functions curl_global_init() and curl_global_cleanup() that should
  781. be called *ONCE* by the application using libcurl. The init should be done
  782. only at startup, no matter how many threads the application is gonna use,
  783. and the cleanup should be called when the application has finished using
  784. libcurl completely.
  785. *** UPGRADE NOTICE ***
  786. If you write applications using libcurl, you really want to use the two
  787. functions mentioned above !!!
  788. I can't say I think this is a very beautiful solution, but as OpenSSL
  789. insists on making lots of stuff on a "global" scope, we're forced to walk
  790. the path they point us to.
  791. - Moving more test cases into the new file format.
  792. Version 7.7.4-pre3
  793. Daniel (23 May 2001)
  794. - Introduced a new file format for storing test cases, and thus I had to
  795. modify all the perl test scripts and more (I added a new one). I have not
  796. "ported" all the old test cases to the new format yet, but it'll come.
  797. The main advantage of this new format is that all test data for each test
  798. case is stored in a single file. It gives a better overview for each test
  799. case and a lot less files.
  800. - Andrés García brought a fix for the netscape/mozilla cookie file parsing
  801. function, as it turns out it doesn't always store the path!
  802. Daniel (22 May 2001)
  803. - As was reported anonymously, when FAILONERROR was used, the httpcode was
  804. not stored properly and thus wasn't possibly to read after a transfer with
  805. the curl_easy_getinfo() function. This is now corrected.
  806. - Installed and made use of the following tool versions:
  807. autoconf 2.50
  808. libtool 1.4
  809. automake 1.4-p1
  810. I wouldn't recommend any developer to try to generate things with older
  811. versions than these. Building from CVS will probably more or less require
  812. at least these versions.
  813. As a result of this, the configure script grew to more than double its
  814. previous size!
  815. Arkadiusz Miskiewicz helped me by pointing out I had to remove my
  816. acinclude.m4 file before I could get it working!
  817. Daniel (21 May 2001)
  818. - I made ftps:// work. Added test case 400 to the release archive, as the
  819. first ftps:// test case. Requires stunnel.
  820. - Also made the test cases that runs ssl tests not run if libcurl isn't built
  821. with ssl support.
  822. Daniel (19 May 2001)
  823. - Made the configure not add any extra -L LDFLAGS or -I CPPFLAGS unless they
  824. are actually needed. Albert Chin's and Domenico Andreoli's suggestions
  825. helped out.
  826. Version 7.7.4-pre2
  827. Daniel (18 May 2001)
  828. - Nicer configure-check for the OpenSSL headers, which then sets the proper
  829. variable to have curl-config be good. (Albert Chin provided the fix)
  830. - For systems that don't have theiw own 'strlcat()' libcurl provides its own.
  831. It was now renamed to prevent collides with other libs. (After discussions
  832. with Sterling Hughes and the implications this had on PHP builds.)
  833. Daniel (17 May 2001)
  834. - Colm Buckley posted a detailed bug report on (the debianized) 7.7.3, that
  835. turned out to be a problem with the debian-built 7.7.3-package that
  836. contained files from the 7.7.2 release!
  837. - I added the CURLE_ALREADY_COMPLETE again, but with a fake value, just to
  838. make programs that use it, not fail when compiling against this version of
  839. libcurl.
  840. Daniel (14 May 2001)
  841. - Pawel A. Gajda fixed a problem with resumed transfers on re-used persistent
  842. connections.
  843. Version 7.7.4-pre1
  844. Daniel (14 May 2001)
  845. - Jun-ichiro itojun Hagino fixed FTP PORT for IPv6-enabled libcurl.
  846. - Added the first HTTPS test to the test suite in the release archive.
  847. Daniel (12 May 2001)
  848. - Jukka Pihl suggested that if (lib)curl is told to verify the peer's
  849. certificate and the peer can't be verified, it should fail and return a
  850. proper error code. I added a brand new error code named
  851. CURLE_SSL_PEER_CERTIFICATE for this purpose.
  852. Daniel (11 May 2001)
  853. - As was discussed with Frederic Lepied a while ago, I now made libcurl not
  854. return error even though no data was transfered on upload/download resume
  855. when the no transfer is needed. The CURLE_ALREADY_COMPLETE error was removed
  856. from the header file to make any implemenator that uses that to be aware of
  857. the fact that it can't be returned anymore!
  858. - Improved general header-parsing to better allow white spaces and more.
  859. - Rodney Simmons proved the fix I did yesterday was bad and I had to post
  860. another one.
  861. - Ingo Wilken patched away two redirect problems more!
  862. Daniel (10 May 2001)
  863. - Cris Bailiff correctly noted that the space-after-header problem with
  864. Location: is present on several other places in the libcurl sources.
  865. - Ingo Wilken patched away a problem libcurl had when following Location:
  866. headers with an extra space after the colon.
  867. - Rodney Simmons found out that multiple FTP transfers did not treat relative
  868. directories correctly.
  869. Daniel (9 May 2001)
  870. - Getting an FTP file with CURLOPT_NOBODY set (or -I from the command line),
  871. makes curl use the non-standard ftp command "SIZE". If it failed, libcurl
  872. returned error. Starting now, it just don't output the file size instead.
  873. Anonymous bug report.
  874. - stunnel.pm was accidentally left out from the release archive, it is now
  875. added (stunnel is needed to run the https-tests in the test suite)
  876. Daniel (7 May 2001)
  877. - Corrected two minor compiler warnings due to the FILE * to void * conversion
  878. that I missed at two places. Jörn Hartroth brought me patches. Sander Gates
  879. filed a bug report on this.
  880. Version 7.7.3
  881. Daniel (4 May 2001)
  882. - All callback functions now take 'void *' instead of 'FILE *'. This is made
  883. this way to make it more obvious to people that anything can be passed to
  884. them (by using the apropriate option). After discussions with Sterling
  885. Hughes.
  886. Daniel (3 May 2001)
  887. - Cris Bailiff fixed a chunked transfer encoding problem with persistent
  888. connection that made libcurl fail if the persistent connection used mixed
  889. chunked and non-chunked transfers.
  890. - Cris Bailiff fixed a bad treatment of 304-replies, as they would not be
  891. treated as content-length 0 replies but would cause a "hang" until the
  892. server timed-out and closed the connection.
  893. - Brad Burdick found a minor problem in the docs/examples/Makefile.am
  894. Daniel (27 April 2001)
  895. - Updated the INTERALS document again. It was lagging a bit. I think I made it
  896. more easy to follow now as well.
  897. - Brad Burdick found a problem with persistent connections when curl received
  898. a "Content-Length: 0" header.
  899. - Giuseppe D'Ambrosio was first out to report that TELNET doesn't work in curl
  900. compiled/built on win32. It seems to work for unixes though!
  901. - Dave Hamilton reported weird problems with CURL/PHP that I really can't
  902. explain at the moment. I'm hoping on some help from the PHP crew.
  903. Daniel (26 April 2001)
  904. - I rewrote the FTP command response function. I had to do it to make ftps
  905. work, as the OpenSSL read()-function didn't work the same way the normal
  906. unix read() does, but it was also a huge performance boost. Previously the
  907. function read one byte at a time, now it reads very large chunks, and it
  908. makes a notable speed difference.
  909. Daniel (25 April 2001)
  910. - Connection re-use when not using a proxy didn't work properly for
  911. non-default port numbers.
  912. Daniel (24 April 2001)
  913. - I've noticed that FTPS doesn't work. We attempt to use ssl even for the
  914. data transfer, which causes the transfer to 'hang'... We need to fix this.
  915. - Improved the test suite to use 'stunnel' to do HTTPS and FTPS testing on
  916. the alredy written perl servers easily.
  917. Daniel (23 April 2001)
  918. - The OpenSSL version string recently modified didn't zero terminate one
  919. of the generated strings properly, which could lead to a crash or simply
  920. weird version string output!
  921. Version 7.7.2
  922. Daniel (22 April 2001)
  923. - Rosimildo da Silva updated the Makefiles for Borland/Windows.
  924. - Eric Rautman pointed out a problem with persistent connections that would
  925. lead to broken Host: headers in the second HTTP request.
  926. Daniel (20 April 2001)
  927. - Added man pages for the curl_strequal() and curl_mprintf() families. Wrote
  928. a 'libcurl overview' man page.
  929. - Spell-fixed some documents.
  930. - S. Moonesamy corrected mistakes in the man page.
  931. - Cris Bailiff fixed the curl_slists options in the perl interface, present
  932. separately in the Curl::easy 1.1.4 package.
  933. Daniel (19 April 2001)
  934. - Linus Nielsen Feltzing removed the decimals from the size variables in the
  935. --write-out output. We hardly ever get fraction of bytes! :-)
  936. Version 7.7.2-pre1
  937. Daniel (19 April 2001)
  938. - Albert Chin provided a configure patch for the AC_SYS_LARGEFILE macro.
  939. Daniel (18 April 2001)
  940. - Input from Michael Mealling made me add --feature to curl-config. It
  941. displays a list of features that have been built-in in the current
  942. libcurl. The currently available features that can be listed are: SSL, KRB4
  943. and IPv6.
  944. - I committed Cris and Georg's perl interface work. They've got callbacks
  945. working and options that receives those slist pointers.
  946. - Puneet Pawaia detected a problem with resumed downloads that use persistent
  947. connections and I made a rather large writeup to correct this. It is
  948. important that all session-data is stored in the connectdata struct and not
  949. in the main struct as this previously did.
  950. Daniel (17 April 2001)
  951. - Frederic Lepied fixed a ftp resumed download problem and introduced a new
  952. error code that lets applications be able to detect when a resumed download
  953. actually didn't download anything since the whole file is already present.
  954. Should this return OK instead?
  955. - I added 'curl-config.in' to the root dir and configure script. Now, a
  956. curl-config script is made when curl is built. The script can be used to
  957. figure out compile time options used when libcurl was built, which in turn
  958. should be options YOU should use to build applications that use libcurl.
  959. This *-config style is not a new idea, but something that has been used
  960. successfully in other (library based) projects.
  961. - Phil Karn pointed out that libcurl wrongly did not always use GMT time zone
  962. for the If-Modified-Since style headers.
  963. - Georg Schwarz pointed out an extra needed #include file needed in src/main.c
  964. for curl to build on Ultrix.
  965. Daniel (11 April 2001)
  966. - Cris Bailiff pointed out two problems that I corrected. First, libcurl's use
  967. of the environment variable HTTP_PROXY in uppercase may become a security
  968. hazard when people use libcurl in a server/cgi situation where the server
  969. sets the HTTP_*-variables according to incoming headers in the HTTP
  970. request. Thus, a "Proxy:"-header would set that environment variable!
  971. Then, invoking curl_easy_perform() without having an URL set caused a crash.
  972. - S. Moonesamy brought a patch that make curl use non-blocking connects on
  973. windows when connection timeout is set, as it allows windows users to set
  974. that timeout!
  975. - Hirotaka Matsuyuki wrote a Ruby interface to libcurl!
  976. - Cris Bailiff, Forrest Cahoon and Georg Horn work on the Perl interface.
  977. - I've written a first shot at a Java interface to libcurl. Many thanks to
  978. Daniel Marell for tirelessly answering to all my basic Java questions. It
  979. works, but it is still very basic.
  980. Daniel (10 April 2001)
  981. - The progress display could get silly when doing multiple file transfers, as
  982. it wasn't properly reset between transfers!
  983. - Discussions with Cris Bailiff who writes a Perl interface to libcurl, made
  984. me add CURLOPT_HEADERFUNCTION. It can be used to set a separate callback
  985. function for writing headers. Previously you could only set a different FILE
  986. * when headers are written from within libcurl.
  987. Daniel (7 April 2001)
  988. - Andrés García fixed a problem in curl_escape() and pointed out a flaw in
  989. the curl_easy_setopt man page.
  990. Daniel (6 April 2001)
  991. - Adjusted the version code to properly display OpenSSL 0.9.6a. They sure
  992. change their version define format often...
  993. - curl_formfree() now accepts a NULL pointer without crashing!
  994. Version 7.7.1
  995. Daniel (3 April 2001)
  996. - Puneet Pawaia pointed out two serious problems. Libcurl would attempt to
  997. read bad memory during situations when an (ftp) connection attempt failed.
  998. Also, the lib/Makefile.vc6 was corrected.
  999. - More investigations in the Location: following code made me realize that
  1000. it was not clean enough to work transparantly with persistent and non-
  1001. persistent connections. I think I've fixed it now.
  1002. Daniel (29 March 2001)
  1003. - Georg Horn mailed me some corrections for the Curl::easy perl interface.
  1004. - Experimental ftps:// support added. It is basically FTP over SSL for the
  1005. control connection. It still makes all data transfers going over unencrypted
  1006. connections. Rainer Weikusat's ftpd-ssl server hack supports this and I used
  1007. that to verify the functionality.
  1008. Daniel (27 March 2001)
  1009. - Guenole Bescon discovered that if you set a CURLOPT_TIMEOUT and then tried
  1010. to get a file from a site and it fails, the SIGALRM would still be sent
  1011. after the timeout-time, quite inexpectedly!
  1012. - I added an ftp transfer example to docs/examples/ and I also wrote a tiny
  1013. example makefile that can be used as a start when building one of the
  1014. examples.
  1015. Version 7.7.1-beta1
  1016. Daniel (26 March 2001)
  1017. - Mohamed Lrhazi reported problems with 7.6.1 and persistent HTTP/1.0
  1018. connections (when the server replied a Connection: Keep-Alive) and this
  1019. problem was not properly dealt with in 7.7 either. A patch was posted to the
  1020. curl-and-php mailing list.
  1021. Daniel (24 March 2001)
  1022. - Colin Watson reported about a problem and brought a patch that corrected it,
  1023. which was about the man page and lines starting with a single quote (') in a
  1024. way that gnroff doesn't like.
  1025. Daniel (23 March 2001)
  1026. - Peter Bray reported correctly that the root makefile used make instead of
  1027. $(MAKE) for the test target.
  1028. - Corrected the Curl::easy perl interface to use curl_easy_setopt() and not
  1029. curl_setopt() which was removed in 7.7!
  1030. - S. Moonesamy provided updates on three documents (MANUAL, INSTALL and FAQ).
  1031. - When following a Location:, libcurl would sometimes write to the URL string
  1032. in a way it shouldn't. As the pointer is passed-in to libcurl from an
  1033. application, we can't be allowed to write to it. The particular bug report
  1034. from 'nk' that brought this up was because he had a read-only URL that then
  1035. caused a libcurl crash!
  1036. - No longer reads HEAD responses longer than to the last header. Previously,
  1037. curl would read the full reply if the connection was a "close" one.
  1038. - libcurl did re-use connections way too much. Doing "curl
  1039. http://www.{microsoft,ibm}.com" would make it re-use the connection which
  1040. made the second request return very odd results.
  1041. Daniel (22 March 2001)
  1042. - Edin Kadribasic made me aware that curl should not re-send POST requests
  1043. when following 302-redirects. I made 302 work like 303 which means curl uses
  1044. GET in the following request(s).
  1045. - libcurl now reset the "followed-location" counter on each invoke of
  1046. curl_easy_perform() as it otherwise would sum up all redirects on the same
  1047. connection and thus could reach the maxredirs counter wrongly.
  1048. - Jim Drash suggested curl_escape() should not re-encode what already looks
  1049. like an encoded sequence and I think that's a fair suggestion.
  1050. Version 7.7
  1051. Daniel (22 March 2001)
  1052. - The configure script now fails with an error message if gethostbyname_r() is
  1053. detected but it couldn't figure out how to invoke it (what amount of
  1054. arguments it is supposed to get). Reports from Andrés García made me aware
  1055. of this need.
  1056. - Talking with Jim Drash made me finally put the curl_escape and curl_unescape
  1057. functions in the curl.h include file and write man pages for them. The
  1058. escape function was modified to use the same interface as the unescape one
  1059. had.
  1060. - No bug reports at all on the latest betas. Release time coming up.
  1061. Version 7.7-beta5
  1062. Daniel (19 March 2001)
  1063. - Georg Ottinger reported problems with using -C together with -L in the sense
  1064. that the -C info got lost when it was redirected. I could not repeat this
  1065. problem on the 7.7 branch why I leave this for the moment. Test case 39 was
  1066. added to do exactly this, and it seems to do right.
  1067. - Christian Robottom Reis reported how his 7.7 beta didn't successfully do
  1068. form posts as elegantly as 7.6.1 did. Indeed, this was a flaw in the header
  1069. engine, as HTTP 1.1 has introduced a new 100 "transient" return code for PUT
  1070. and POST operations that I need to add support for. Section 8.2.3 in RFC2616
  1071. has all the details. Seems to work now!
  1072. Daniel (16 March 2001)
  1073. - After having experienced another machine break-down, we're back.
  1074. - Georg Horn's perl interface Curl::easy is now included in the curl release
  1075. archive. The perl/ directory is now present. Please help me with docs,
  1076. examples and updates you think fit.
  1077. - Made a new php/ directory in the release archive and moved the PHP examples
  1078. into a subdirectory in there. Not much PHP info yet, but I plan to. Please
  1079. help me here as well!
  1080. - Made libcurl return error if a transfer is aborted in the middle of a
  1081. "chunk". It actually enables libcurl to discover premature transfer aborts
  1082. even if the Content-Length: size is unknown.
  1083. Daniel (15 March 2001)
  1084. - Added --connect-timeout to curl, which sets the new CURLOPT_CONNECTTIMEOUT
  1085. option in libcurl. It limits the time curl is allowed to spend in the
  1086. connection phase. This differs from -m/--max-time that limits the entire
  1087. file transfer operation. Requested by Larry Fahnoe and others.
  1088. I also updated the curl.1 and curl_easy_setopt.3 man pages and removed the
  1089. item from the TODO.
  1090. Version 7.7-beta4
  1091. Daniel (14 March 2001)
  1092. - Made curl grok IPv6 with HTTP proxies and got everything to compile nicely
  1093. again when ENABLE_IPV6 is set.
  1094. I need to remake things in the test suite. I can't test the FTP parts with
  1095. curl built for IPv6 as it uses a different set of FTP commands then!
  1096. - I fell onto a bug report on php.net (posted by Lars Torben Wilson) that was
  1097. a report meant for our project. Anyway, it said the .netrc parsing didn't
  1098. work as supposed, and as I agreed with Lars, I made the netrc parser use
  1099. getpwuid() to figure out the home directory of the effective user and try
  1100. that netrc. It still uses the environment variable HOME for those that don't
  1101. have that function or if the user doesn't return valid pwd info.
  1102. - Edin Kadribaic posted a bug report where he got a crash when a fetch with
  1103. user+password in the URL followed a Location: to a second URL (absolute,
  1104. without name+password). This bug has been around for a long while and
  1105. crashes due to a read at address zero. Fixed now. Wrote test case 38, that
  1106. tests this.
  1107. - Modified the test suite's httpserver slightly to append all client request
  1108. data to its log file so that the test script now better can verify a range
  1109. of requests and not only the last one, as it did previously.
  1110. - Updated the curl man page with --random-file and --egd-file details.
  1111. Version 7.7-beta3
  1112. Daniel (14 March 2001)
  1113. - Björn Stenberg provided similar fixes as Jörn did and some additional patches
  1114. for non-SSL compiles.
  1115. - I increased the interface number for libcurl as I've removed the low level
  1116. functions from the interface. I also took this opportunity to rename the
  1117. Curl_strequal function to curl_strequal and Curl_strnequal to
  1118. curl_strnequal, as they're public libcurl functions (even if they're still
  1119. undocumented).
  1120. This will make older programs not capable of using the new libcurl with
  1121. just a drop-in replacement.
  1122. - Jörn Hartroth updated stuff for win32 compiles:
  1123. o config-win32.h was fixed for socklen_t
  1124. o lib/ssluse.c had a bad #endif placement
  1125. o lib/file.c was made to compile on win32 again
  1126. o lib/Makefile.m32 was updated with the new files
  1127. o lib/libcurl.def matches the current interface state
  1128. Daniel (13 March 2001)
  1129. - It only took an hour or so before Jörn Hartroth found a problem in the
  1130. chunked transfer-encoding. Given his fine example-site, I could easily spot
  1131. the problem and when I re-read the spec (the part I have pasted in the top
  1132. of the http_chunks.h file), I realized I had made my state-machine slightly
  1133. wrong and didn't expect/handle the trailing CRLF that comes after the data
  1134. in each chunk (and those extra two bytes sure feel wasted).
  1135. Had to modify test case 34 to match this as well.
  1136. Version 7.7-beta2
  1137. Daniel (13 March 2001)
  1138. - Added the policy stuff to the curl_easy_setopt man page for the two supported
  1139. policies.
  1140. - Implemented some support for the CURLOPT_CLOSEPOLICY option. The policies
  1141. CURLCLOSEPOLICY_LEAST_RECENTLY_USED and CURLCLOSEPOLICY_OLDEST are now
  1142. supported, and the "least recently used" is used as default if no policy
  1143. is chosen.
  1144. Daniel (12 March 2001)
  1145. - Added CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET to libcurl for seeding the
  1146. SSL random engine. The random seeding support was also brought to the curl
  1147. client with the new options --random-file <file> and --egd-file <file>. I
  1148. need some people to really test this to know they work as supposed. Remember
  1149. that libcurl now informs (if verbose is on) if the random seed is considered
  1150. weak (HTTPS connections).
  1151. - Made the chunked transfer-encoding engine detected bad formatted data length
  1152. and return error if so (we can't possibly extract sensible data if this is
  1153. the case). Added a test case that detects this. Number 36. Now there are 60
  1154. test cases.
  1155. - Added 5 new libcurl options to curl/curl.h that can be used to control the
  1156. persistent connection support in libcurl. They're also documented (fairly
  1157. thoroughly) in the curl_easy_setopt.3 man page. Three of them are now
  1158. implemented, although not really tested at this point... Anyway, the new
  1159. implemented options are named CURLOPT_MAXCONNECTS, CURLOPT_FRESH_CONNECT,
  1160. CURLOPT_FORBID_REUSE. The ones still left to write code for are:
  1161. CURLOPT_CLOSEPOLICY and its related option CURLOPT_CLOSEFUNCTION.
  1162. - Made curl (the actual command line tool) use the new libcurl 7.7 persistent
  1163. connection support by re-using the same curl handle for every specified file
  1164. transfer and after some more test case tweaking we have 100% test case OK.
  1165. I made some test cases return HTTP/1.0 now to make sure that works as well.
  1166. - Had to add 'Connection: close' to the headers of a bunch of test cases so
  1167. that curl behaves "old-style" since the test http server doesn't do multiple
  1168. connections... Now I get 100% test case OK.
  1169. - The curl.haxx.se site, the main curl mailing list and my personal email are
  1170. all dead today due to power blackout in the area where the main servers are
  1171. located. Horrible.
  1172. - I've made persistance work over a squid HTTP proxy. I find it disturbing
  1173. that it uses headers that aren't present in any HTTP standard though
  1174. (Proxy-Connection:) and that makes me feel that I'm now on the edge of what
  1175. the standard actually defines. I need to get this code excercised on a lot
  1176. of different HTTP proxies before I feel safe.
  1177. Now I'm facing the problem with my test suite servers (both FTP and HTTP)
  1178. not supporting persistent connections and libcurl is doing them now. I have
  1179. to fix the test servers to get all the test cases do OK.
  1180. Daniel (8 March 2001)
  1181. - Guenole Bescon reported that libcurl did output errors to stderr even if
  1182. MUTE and NOPROGRESS was set. It turned out to be a bug and happens if
  1183. there's an error and no ERRORBUFFER is set. This is now corrected.
  1184. Version 7.7-beta1
  1185. Daniel (8 March 2001)
  1186. - "Transfer-Encoding: chunked" is no longer any trouble for libcurl. I've
  1187. added two source files and I've run some test downloads that look fine.
  1188. - HTTP HEAD works too, even on 1.1 servers.
  1189. Daniel (5 March 2001)
  1190. - The current 57 test cases now pass OK. It would suggest that libcurl works
  1191. using the old-style with one connection per handle. The test suite doesn't
  1192. handle multiple connections yet so there are no test cases for this.
  1193. - I patched the telnet.c heavily to not use any global variables anymore. It
  1194. should make it a lot nicer library-wise.
  1195. - The file:// support was modified slightly to use the internal connect-first-
  1196. then-do approach.
  1197. Daniel (4 March 2001)
  1198. - More bugs erased.
  1199. Version 7.7-alpha2
  1200. Daniel (4 March 2001)
  1201. - Now, there's even a basic check that a re-used connection is still alive
  1202. before it is assumed so. A few first tests have proven that libcurl will
  1203. then re-connect instead of re-use the dead connection!
  1204. Daniel (2 March 2001)
  1205. - Now they work intermixed as well. Major coolness!
  1206. - More fiddling around, my 'tiny' client I have for testing purposes now has
  1207. proved to download both FTP and HTTP with persistent connections. They do
  1208. not work intermixed yet though.
  1209. Daniel (1 March 2001)
  1210. - Wilfredo Sanchez pointed out a minor spelling mistake in a man page and that
  1211. curl_slist_append() should take a const char * as second argument. It does
  1212. now.
  1213. Daniel (22 February 2001)
  1214. - The persistent connections start to look good for HTTP. On a subsequent
  1215. request, it seems that libcurl now can pick an already existing connection
  1216. if a suitable one exists, or it opens a new one.
  1217. - Douglas R. Horner mailed me corrections to the curl_formparse() man page
  1218. that I applied.
  1219. Daniel (20 February 2001)
  1220. - Added the docs/examples/win32sockets.c file for our windows friends.
  1221. - Linus Nielsen Feltzing provided brand new TELNET functionality and
  1222. improvements:
  1223. * Negotiation is now passive. Curl does not negotiate until the peer does.
  1224. * Possibility to set negotiation options on the command line, currently only
  1225. XDISPLOC, TTYPE and NEW_ENVIRON (called NEW_ENV).
  1226. * Now sends the USER environment variable if the -u switch is used.
  1227. * Use -t to set telnet options (Linus even updated the man page, awesome!)
  1228. - Haven't done this big changes to curl for a while. Moved around a lot of
  1229. struct fields and stuff to make multiple connections get connection specific
  1230. data in separate structs so that they can co-exist in a nice way. See the
  1231. mailing lists for discussions around how this is gonna be implemented. Docs
  1232. and more will follow.
  1233. Studied the HTTP RFC to find out better how persistent connections should
  1234. work. Seems cool enough.
  1235. Daniel (19 February 2001)
  1236. - Bob Schader brought me two files that help set up a MS VC++ libcurl project
  1237. easier. He also provided me with an up-to-date libcurl.def file.
  1238. - I moved a bunch of prototypes from the public <curl/curl.h> file to the
  1239. library private urldata.h. This is because of the upcoming changes. The
  1240. low level interface is no longer being planned to become reality.
  1241. Daniel (15 February 2001)
  1242. - CURLOPT_POST is not required anymore. Just setting the POST string with
  1243. CURLOPT_POSTFIELDS will switch on the HTTP POST. Most other things in
  1244. libcurl already works this way, i.e they require only the parameter to
  1245. switch on a feature so I think this works well with the rest. Setting a NULL
  1246. string switches off the POST again.
  1247. - Excellent suggestions from Rich Gray, Rick Jones, Johan Nilsson and Bjorn
  1248. Reese helped me define a way how to incorporate persistent connections into
  1249. libcurl in a very smooth way. If done right, no change may have to be made
  1250. to older programs and they will just start using persistent connections when
  1251. applicable!
  1252. Daniel (13 February 2001)
  1253. - Changed the word 'timeouted' to 'timed out' in two different error messages.
  1254. Suggested by Larry Fahnoe.
  1255. Version 7.6.1
  1256. Daniel (9 February 2001)
  1257. - Frank Reid and Cain Hopwood provided information and research around a HTTPS
  1258. PUT/upload problem we seem to have. No solution found yet.
  1259. Daniel (8 February 2001)
  1260. - An interesting discussion is how to specify an empty password without having
  1261. curl ask for it interactively? The current implmentation takes an empty
  1262. password as a request for a password prompt. However, I still want to
  1263. support a blank user field. Thus, today if you enter "-u :" (without user
  1264. and password) curl will prompt for the password. Tricky. How would you
  1265. specify you want the prompt otherwise?
  1266. - Made the netrc parse result possible to use for other protocols than FTP and
  1267. HTTP (such as the upcoming TELNET fixes).
  1268. - The previously mentioned "MSVC++ problems" turned out to be a non-issue.
  1269. - Added a HTTP file upload code example in the docs/examples/ section on
  1270. request.
  1271. - Adjusted the FTP response fix slightly.
  1272. Version 7.6.1-pre3
  1273. Daniel (7 February 2001)
  1274. - S. Moonesamy found a flaw in the response reading function for FTP that
  1275. could make libcurl not get out of the loop properly when it should, if
  1276. libcurl got -1 returned when reading the socket.
  1277. - I found a similar mistake in http.c when using a proxy and reading the
  1278. results from the proxy connection.
  1279. Daniel (6 February 2001)
  1280. - S. Moonesamy pointed out that the VC makefile in src/ needed the libpath set
  1281. for the debug build to work.
  1282. - Daniel Gehriger stepped in to assist with the VC++ stuff Robert Weaver
  1283. brought up yesterday.
  1284. Daniel (5 February 2001)
  1285. - Jun-ichiro itojun Hagino brought a big patch that brings IPv6-awareness to
  1286. a bunch of different areas within libcurl.
  1287. - Robert Weaver told me about the problems the MS VC++ 6.0 compiler has with
  1288. the 'static' keyword on a number of libcurl functions. I might need to add a
  1289. patch that redefines static when libcurl is compiled with that compiler.
  1290. How do I know when VC++ compiles, anyone?
  1291. Daniel (4 February 2001)
  1292. - curl_getinfo() was extended with two new options:
  1293. CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD. They
  1294. return the full assumed content length of the transfer in the given
  1295. direction. The CURLINFO_CONTENT_LENGTH_DOWNLOAD will be the Content-Length:
  1296. size of a HTTP download. Added descriptions to the man page as well. This
  1297. was done after discussions with Bob Schader.
  1298. Daniel (3 February 2001)
  1299. - Ingo Ralf Blum provided another fix that makes curl build under the more
  1300. recent cygwin installations. It seems they've changed the preset defines to
  1301. not include WIN32 anymore.
  1302. Version 7.6.1-pre2
  1303. Daniel (31 January 2001)
  1304. - Curl_read() and curl_read() now return a ssize_t for the size, as it had to
  1305. be able to return -1. The telnet support crashed due to this and there was a
  1306. possibility to weird behavior all over. Linus Nielsen Feltzing helped me
  1307. find this.
  1308. - Added a configure.in check for a working getaddrinfo() if IPv6 is requested.
  1309. I also made the configure script feature --enable-debug which sets a couple
  1310. of compiler options when used. It assumes gcc.
  1311. Daniel (30 January 2001)
  1312. - I finally took a stab at the long-term FIXME item I've had on myself, and
  1313. now libcurl will properly work when doing a HTTP range-request that follows
  1314. a Location:. Previously that would make libcurl fail saying that the server
  1315. doesn't seem to support range requests.
  1316. Daniel (29 January 2001)
  1317. - I added a test case for the HTTP PUT resume thing (test case 33).
  1318. Version 7.6.1-pre1
  1319. Daniel (29 January 2001)
  1320. - Yet another Content-Range change. Ok now? Bob Schader checks from his end
  1321. and it works for him.
  1322. Daniel (27 January 2001)
  1323. - So the HTTP PUT resume fix wasn't good. There should appearantly be a
  1324. Content-Range header when resuming a PUT.
  1325. - I noticed I broke the download-check that verifies that a resumed HTTP
  1326. download is actually resumed. It got broke because my new 'httpreq' field
  1327. in the main curl struct. I should get slapped. I added a test case for
  1328. this now, so I won't be able to ruin this again without noticing.
  1329. - Added a test case for content-length verifying when downloading HTTP.
  1330. - Made the progress meter title say if the transfer is being transfered. It
  1331. makes the output slightly better for resumes.
  1332. - When dealing with Location: and HTTP return codes, libcurl will not attempt
  1333. to follow the spirit of RFC2616 better. It means that when POSTing to a
  1334. URL that is being following to a second place, the standard will judge on
  1335. what to do. All HTTP codes except 303 and 305 will cause curl to make a
  1336. second POST operation. 303 will make a GET and 305 is not yet supported.
  1337. I also wrote two test cases for this POST/GET/Location stuff.
  1338. Version 7.6
  1339. Daniel (26 January 2001)
  1340. - Lots of mails back and forth with Bob Schader finally made me add a small
  1341. piece of code in the HTTP engine so that HTTP upload resume works. You can
  1342. now do an operation like 'curl -T file -C <offset> <URL>' and curl will PUT
  1343. the ending part of the file starting at given offet to the specified URL.
  1344. Version 7.6-pre4
  1345. Daniel (25 January 2001)
  1346. - I took hold of Rick Jones' question why we don't use recv() and send() for
  1347. reading/writing to the sockets and I've now modified the sread() and
  1348. swrite() macros to use them instead. If nothing else, they could be tested
  1349. in the next beta-round coming right up.
  1350. - Jeff Morrow found a problem with libcurl's usage of SSL_read() and supplied
  1351. his research results in how to fix this. It turns out we have to invoke the
  1352. function several times in some cases. The same goes for the SSL_write().
  1353. I made some rather drastic changes all over libcurl to make all writes and
  1354. reads get done on one single place so that this repeated-attempts thing
  1355. would only have to be implemented at one point.
  1356. - Rick Jones spotted that the 'total time' counter really didn't measure the
  1357. total time very accurate on subsecond levels.
  1358. - Johan Nilsson pointed out the need to more clearly specify that the timeout
  1359. value you set for a download is for the *entire* download. There's currently
  1360. no option available that sets a timeout for the connection phase only.
  1361. Daniel (24 January 2001)
  1362. - Ingo Ralf Blum submitted a series of patches required to get curl to compile
  1363. properly with cygwin.
  1364. - Robert Weaver posted a fix for the win32 section of the curl_getenv() code
  1365. that corrected a potential memory leak.
  1366. - Added comments in a few files in a sudden attempt to make the sources more
  1367. easy to read and understand!
  1368. Daniel (23 January 2001)
  1369. - Added simple IPv6 detection in the configure script and made the version
  1370. string add 'ipv6' to the enable section in that case. ENABLE_IPV6 will be
  1371. set if curl is compiled with IPv6 support enabled.
  1372. - Added a parser for IPv6-style specified IP-addresses in a URL. Thus, when
  1373. IPv6 gets enabled soon, we can use URLs like '[0::1]:80'...
  1374. - Made the URL globbing in the client possible to fail silently if there's an
  1375. error in the globbing. It makes it almost intuitive, so when you don't
  1376. follow the syntax rules, globbing is simply switched off and the raw string
  1377. is used instead.
  1378. I still think we'll get problems with IPv6-style IP-addresses when we *want*
  1379. globbing on parts of the URL as the initial part of the URL will for sure
  1380. seriously confuse the globber.
  1381. Daniel (22 January 2001)
  1382. - Björn Stenberg supplied a progress meter patch that makes it look better even
  1383. during slow starts. Previously it made some silly assumptions...
  1384. - Added two FTP tests for -Q and -Q - stuff since it was being discussed on
  1385. the mailing list. Had to correct the ftpserver.pl too as it bugged slightly.
  1386. Daniel (19 January 2001)
  1387. - Made the Location: parsers deal with any-length URLs. Thus I removed the last
  1388. code that restricts the length of URLs that curl supports.
  1389. - Added a --globoff test case (#28) and it quickly identified a memory problem
  1390. in src/main.c that I took care of.
  1391. Version 7.6-pre3
  1392. Daniel (17 January 2001)
  1393. - Made the two former files lib/download.c and lib/highlevel.c become the new
  1394. lib/transfer.c which makes more sense. I also did the rename from Transfer()
  1395. to Curl_Transfer() in the other source files that use the transfer function
  1396. in the spirit of using Curl_ prefix for library-scoped global symbols.
  1397. Daniel (11 January 2001)
  1398. - Added -g/--globoff that switches OFF the URL globbing and thus enables {}[]
  1399. letters to be part of the URL. Do note that RFC2396 section 2.4.3 explicitly
  1400. mention these letters to be escaped. This was posted as a feature request by
  1401. Jorge Gutierrez and as a bug by Terry.
  1402. - Short options to curl that requires parameters can now be specified without
  1403. having the option and its parameter space separated. -ofile works as good as
  1404. -o file. -m20 is equal to -m 20. Do note that this goes for single-letter
  1405. options only, verbose --long-style options still must be separated with
  1406. space from their parameters.
  1407. Daniel (8 January 2001)
  1408. - Francis Dagenais reported that the SCO compiler still fails when compiling
  1409. curl due to that getpass_r() prototype. I've now put it around #ifndef
  1410. HAVE_GETPASS_R in an attempt to please the SCO systems.
  1411. - Made some minor corrections to get the client to cleanup properly and I made
  1412. the separator work again when getting multiple globbed URLs to stdout.
  1413. - Worked with Loic Dachary to get the make dist and make distcheck work
  1414. correctly. The 'maketgz' script is now using the automake generated 'make
  1415. dist' when creating release archives. Loic successfully made 'make rpms'
  1416. automatically build RPMs!
  1417. Loic Dachary (6 January 2001)
  1418. - Automated generation of rpm packages, no need to be root.
  1419. - make distcheck generates a proper distribution (EXTRA_DIST
  1420. in all Makefile.am modified to match FILES).
  1421. Daniel (5 January 2001)
  1422. - Huge client-side hack: now multiple URLs are supported. Any number of URLs
  1423. can be specified on the command line, and they'll all be downloaded. There
  1424. must be a corresponding -o or -O for each URL or the data will be written to
  1425. stdout. This needs more testing, time to release a 7.6-pre package.
  1426. - The krb4 support was broken in the release. Fixed now.
  1427. - Huge internal symbol rename operation. All non-static but still lib-internal
  1428. symbols should now be prefixed with 'Curl_' to prevent collisions with other
  1429. libs. All public symbols should be prefixed with 'curl_' and the rest should
  1430. be static and thus invisible to the outside world. I updated the INTERNALS
  1431. document to say this as well.
  1432. Version 7.5.2
  1433. Daniel (4 January 2001)
  1434. - As Kevin P Roth suggested, I've added text to the man page for every command
  1435. line option and what happens when you specify that option more than
  1436. once. That hasn't been exactly crystal clear before.
  1437. - Made the configure script possible to run from outside the source-tree. For
  1438. odd reasons I can't build curl properly outside though. It has to do with
  1439. curl's dependencies on libcurl...
  1440. - Cut off all older (dated 1999 and earlier) CHANGES entries from this file.
  1441. The older piece is named CHANGES.0 and is added to the CVS repository in
  1442. case anyone would need it.
  1443. - I added another file 'CVS-INFO' to the CVS. It contains information about
  1444. files in the CVS that aren't included in release archives and how to build
  1445. curl when you get the sources off CVS.
  1446. - Updated CONTRIBUTE and FAQ due to the new license.
  1447. Daniel (3 January 2001)
  1448. - Renamed README.libcurl to LIBCURL
  1449. - Changed headers in all sources files to the new dual license concept of
  1450. curl: use the MIT/X derivate license *or* MPL. The LEGAL file was updated
  1451. accordingly and the MPL 1.1 and MIT/X derivate licenses are now part of the
  1452. release archive.