5 \___|\___/|_| \_\_____|
12 Daniel (28 December 1999):
13 - Tim Verhoeven <dj@walhalla.sin.khk.be> correctly identified that curl
14 doesn't support URL formatted file names when getting ftp. Now, there's a
15 problem with getting very weird file names off FTP servers. RFC 959 defines
16 that the file name syntax to use should be the same as in the native OS of
17 the server. Since we don't know the peer server system we currently just
18 translate the URL syntax into plain letters. It is still better and with
19 the solaris 2.6-supplied ftp server it works with spaces in the file names.
21 Daniel (27 December 1999):
22 - When curl parsed cookies straight off a remote site, it corrupted the input
23 data, which, if the downloaded headers were stored made very odd characters
24 in the saved data. Correctfully identified and reported by Paul Harrington
27 Daniel (13 December 1999):
28 - General cleanups in the library interface. There had been some bad kludges
29 added during times of stress and I did my best to clean them off. It was
30 both regarding the lib API as well as include file confusions.
32 Daniel (3 December 1999):
33 - A small --stderr bug was reported by Eetu Ojanen <esojanen@jyu.fi>...
35 - who also brought the suggestion of extending the -X flag to ftp list as
36 well. So, now it is and the long option is now --request instead. It is
37 only for ftp list for now (and the former http stuff too of course).
39 Lars J. Aas <larsa@sim.no> (24 November 1999):
40 - Patched curl to compile and build under BeOS. Doesn't work yet though!
42 - Corrected the Makefile.am files to allow putting object files in
43 different directories than the sources.
47 Daniel (23 November 1999):
48 - I've had this major disk crash. My good old trust-worthy source disk died
49 along with the machine that hosted it. Thank goodness most of all the
50 things I've done are either backed up elsewhere or stored in this CVS
53 - Michael S. Steuer <michael@steuer.com> pointed out a bug in the -F handling
54 that made curl hang if you posted an empty variable such as '-F name='. It
55 was one of those old bugs that never have worked properly...
57 - Jason Baietto <jason@durians.com> pointed out a general flaw in the HTTP
58 download. Curl didn't complain if it was prematurely aborted before the
59 entire download was completed. It does now.
61 Daniel (19 November 1999):
62 - Chris Maltby <chris@aurema.com> very accurately criticized the lack of
63 return code checks on the fwrite() calls. I did a thorough check for all
64 occurrences and corrected this.
66 Daniel (17 November 1999):
67 - Paul Harrington <paul@pizza.org> pointed out that the -m/--max-time option
68 doesn't work for the slow system calls like gethostbyname()... I don't have
69 any good fix yet, just a slightly less bad one that makes curl exit hard
70 when the timeout is reached.
72 - Bjorn Reese helped me point out a possible problem that might be the reason
73 why Thomas Hurst experience problems in his Amiga version.
75 Daniel (12 November 1999):
76 - I found a crash in the new cookie file parser. It crashed when you gave
77 a plain http header file as input...
81 Daniel (10 November 1999):
82 - I kind of found out that the HTTP time-conditional GETs (-z) aren't always
83 respected by the web server and the document is therefore sent in whole
84 again, even though it doesn't match the requested condition. After reading
85 section 13.3.4 of RFC 2616, I think I'm doing the right thing now when I do
86 my own check as well. If curl thinks the condition isn't met, the transfer
87 is aborted prematurely (after all the headers have been received).
89 - After comments from Robert Linden <robert.linden@postcom.deutschepost.de> I
90 also rewrote some parts of the man page to better describe how the -F
93 - Michael Anti <anti@pshowing.com> put up a new curl download mirror in
94 China: http://www.pshowing.com/curl/
96 - I added the list of download mirrors to the README file
98 - I did add more explanations to the man page
100 Daniel (8 November 1999):
101 - I made the -b/--cookie option capable of reading netscape formatted cookie
102 files as well as normal http-header files. It should be able to
103 transparantly figure out what kind of file it got as input.
105 Daniel (29 October 1999):
106 - Another one of Sebastiaan van Erk's ideas (that has been requested before
107 but I seem to have forgotten who it was), is to add support for ranges in
108 FTP downloads. As usual, one request is just a request, when they're two
109 it is a demand. I've added simple support for X-Y style fetches. X has to
110 be the lower number, though you may omit one of the numbers. Use the -r/
111 --range switch (previously HTTP-only).
113 - Sebastiaan van Erk <sebster@sebster.com> suggested that curl should be
114 able to show the file size of a specified file. I think this is a splendid
115 idea and the -I flag is now working for FTP. It displays the file size in
118 As it resembles normal headers, and leaves us the opportunity to add more
119 info in that display if we can come up with more in the future! It also
120 makes sense since if you access ftp through a HTTP proxy, you'd get the
121 file size the same way.
123 I changed the order of the QUOTE command execusions. They're now executed
124 just after the login and before any other command. I made this to enable
125 quote commands to run before the -I stuff is done too.
127 - I found out that -D/--dump-header and -V/--version weren't documented in
130 - Many HTTP/1.1 servers do not support ranges. Don't ask me why. I did add
131 some text about this in the man page for the range option. The thread in
132 the mailing list that started this was initiated by Michael Anti
135 - I get reports about nroff crashes on solaris 2.6+ when displaying the curl
136 man page. Switch to gnroff instead, it is reported to work(!). Adam Barclay
137 <adam@oz.org> reported and brought the suggestion.
139 - In a dialogue with Johannes G. Kristinsson <d98is@dtek.chalmers.se> we came
140 up with the idea to let -H/--header specified headers replace the
141 internally generated headers, if you happened to select to add a header
142 that curl normally uses by itself. The advantage with this is not entirely
143 obvious, but in Johannes' case it means that he can use another Host: than
144 the one curl would set.
146 Daniel (27 October 1999):
147 - Jongki Suwandi <Jongki.Suwandi@eng.sun.com> brought a nice patch for
148 (yet another) crash when following a location:. This time you had to
149 follow a https:// server's redirect to get the core.
153 Daniel (21 October 1999):
154 - I think I managed to remove the suspicious (nil) that has been seen just
155 before the "Host:" in HTTP requests when -v was used.
156 - I found out that if you followed a location: when using a proxy, without
157 having specified http:// in the URL, the protocol part was added once again
158 when moving to the next URL! (The protocol part has to be added to the
159 URL when going through a proxy since it has no protocol-guessing system
161 - Benjamin Ritcey <ritcey@tfn.com> reported a core dump under solaris 2.6
162 with OpenSSL 0.9.4. It turned out this was due to a bad free() in main.c
163 that occurred after the download was done and completed.
164 - Benjamin found ftp downloads to show the first line of the download meter
165 to get written twice, and I removed that problem. It was introduced with
166 the multiple URL support.
167 - Dan Zitter <dzitter@zitter.net> correctly pointed out that curl 6.1 and
168 earlier versions didn't honor RFC 2616 chapter 4 section 2, "Message
169 Headers": "...Field names are case-insensitive..."
170 HTTP header parsing assumed a certain casing. Dan also provided me with
171 a patch that corrected this, which I took the liberty of editing slightly.
172 - Dan Zitter also provided a nice patch for config.guess to better recognize
174 - Dan also corrected a minor problem in the lib/Makefile that caused linking
177 Daniel (19 October 1999):
178 - Len Marinaccio <len@goodnet.com> came up with some problems with curl.
179 Since Windows has a crippled shell, it can't redirect stderr and that
180 causes trouble. I added --stderr today which allows the user to redirect
181 the stderr stream to a file or stdout.
183 Daniel (18 October 1999):
184 - The configure script now understands the '--without-ssl' flag, which now
185 totally disable SSL/https support. Previously it wasn't possible to force
186 the configure script to leave SSL alone. The previous functionality has
187 been retained. Troy Engel helped test this new one.
191 Daniel (17 October 1999):
192 - I ifdef'ed or commented all the zlib stuff in the sources and configure
193 script. It turned out we needed to mock more with zlib than I initially
194 thought, to make it capable of downloading compressed HTTP documents and
195 uncompress them on the fly. I didn't mean the zlib parts of curl to become
196 more than minor so this means I halt the zlib expedition for now and wait
197 until someone either writes the code or zlib gets updated and better
198 adjusted for this kind of usage. I won't get into details here, but a
199 short a summary is suitable:
200 - zlib can't automatically detect whether to use zlib or gzip
201 decompression methods.
202 - zlib is very neat for reading gzipped files from a file descriptor,
203 although not as nice for reading buffer-based data such as we would
205 - there are still some problems with the win32 version when reading from
206 a file descriptor if that is a socket
208 Daniel (14 October 1999):
209 - Moved the (external) include files for libcurl into a subdirectory named
210 curl and adjusted all #include lines to use <curl/XXXX> to maintain a
211 better name space and control of the headers. This has been requested.
213 Daniel (12 October 1999):
214 - I modified the 'maketgz' script to perform a 'make' too before a release
215 archive is put together in an attempt to make the time stamps better and
216 hopefully avoid the double configure-running that use to occur.
218 Daniel (11 October 1999):
219 - Applied Jörn's patches that fixes zlib for mingw32 compiles as well as
220 some other missing zlib #ifdef and more text on the multiple URL docs in
225 Daniel (6 October 1999):
226 - Douglas E. Wegscheid <wegscd@whirlpool.com> sent me a patch that made the
227 exact same thing as I just made: the -d switch is now capable of reading
228 post data from a named file or stdin. Use it similarly to the -F. To read
229 the post data from a given file:
231 curl -d @path/to/filename www.postsite.com
233 or let curl read it out from stdin:
235 curl -d @- www.postit.com
237 Jörn Hartroth (3 October 1999):
238 - Brought some more patches for multiple URL functionality. The MIME
239 separation ideas are almost scrapped now, and a custom separator is being
240 used instead. This is still compile-time "flagged".
243 - Updated curl.1 with multiple URL info.
245 Daniel (30 September 1999):
246 - Felix von Leitner <felix@convergence.de> brought openssl-check fixes
247 for configure.in to work out-of-the-box when the openssl files are
248 installed in the system default dirs.
250 Daniel (28 September 1999)
251 - Added libz functionality. This should enable decompressing gzip, compress
252 or deflate encoding HTTP documents. It also makes curl send an accept that
253 it accepts that kind of encoding. Compressed contents usually shortens
254 download time. I *need* someone to tell me a site that uses compressed HTTP
255 documents so that I can test this out properly.
257 - As a result of the adding of zlib awareness, I changed the version string
258 a little. I plan to add openldap version reporting in there too.
260 Daniel (17 September 1999)
261 - Made the -F option allow stdin when specifying files. By using '-' instead
262 of file name, the data will be read from stdin.
266 Daniel (13 September 1999)
267 - Added -X/--http-request <request> to enable any HTTP command to be sent.
268 Do not that your server has to support the exact string you enter. This
269 should possibly a string like DELETE or TRACE.
271 - Applied Douglas' mingw32-fixes for the makefiles.
273 Daniel (10 September 1999)
274 - Douglas E. Wegscheid <wegscd@whirlpool.com> pointed out a problem. Curl
275 didn't check the FTP servers return code properly after the --quote
276 commands were issued. It took anything non 200 as an error, when all 2XX
277 codes should be accepted as OK.
279 - Sending cookies to the same site in multiple lines like curl used to do
280 turned out to be bad and breaking the cookie specs. Curl now sends all
281 cookies on a single Cookie: line. Curl is not yet RFC 2109 compliant, but I
282 doubt that many servers do use that syntax (yet).
284 Daniel (8 September 1999)
285 - Jörn helped me make sure it still compiles nicely with mingw32 under win32.
287 Daniel (7 September 1999)
288 - FTP upload through proxy is now turned into a HTTP PUT. Requested by
289 Stefan Kanthak <Stefan.Kanthak@mchp.siemens.de>.
291 - Added the ldap files to the .m32 makefile.
293 Daniel (3 September 1999)
294 - Made cookie matching work while using HTTP proxy.
296 Bjorn Reese <breese@mail1.stofanet.dk> (31 August 1999)
297 - Passed his ldap:// patch. Note that this requires the openldap shared
298 library to be installed and that LD_LIBRARY_PATH points to the
299 directory where the lib will be found when curl is run with a
302 Jörn Hartroth <Joern.Hartroth@telekom.de> (31 August 1999)
303 - Made the Mingw32 makefiles into single files.
304 - Made file:// work for Win32. The same code is now used for unix as well for
307 Douglas E. Wegscheid <wegscd@whirlpool.com> (30 August 1999)
308 - Patched the Mingw32 makefiles for SSL builds.
310 Matthew Clarke <clamat@van.maves.ca> (30 August 1999)
311 - Made a cool patch for configure.in to allow --with-ssl to specify the
312 root dir of the openssl installation, as in
314 ./configure --with-ssl=/usr/ssl_here
316 - Corrected the 'reconf' script to work better with some shells.
318 Jörn Hartroth <Joern.Hartroth@telekom.de> (26 August 1999)
319 - Fixed the Mingw32 makefiles in lib/ and corrected the file.c for win32
324 Daniel (25 August 1999)
325 - John Weismiller <johnweis@home.com> pointed out a bug in the header-line
326 realloc() system in download.c.
328 - I added lib/file.[ch] to offer a first, simple, file:// support. It
329 probably won't do much good on win32 system at this point, but I see it
332 - Made the release archives get a Makefile in the root dir, which can be
333 used to start the compiling/building process easier. I haven't really
334 changed any INSTALL text yet, I wanted to get some feed-back on this
337 Daniel (17 August 1999)
338 - Another Location: bug. Curl didn't do proper relative locations if the
339 original URL had cgi-parameters that contained a slash. Nusu's page
342 - Corrected the NO_PROXY usage. It is a list of substrings that if one of
343 them matches the tail of the host name it should connect to, curl should
344 not use a proxy to connect there. Pointed out to me by Douglas E. Wegscheid
345 <wegscd@whirlpool.com>. I also changed the README text a little regarding
348 Daniel (16 August 1999)
349 - Fixed a memory bug with http-servers that sent Location: to a Location:
350 page. Nusu's page showed this too.
352 - Made cookies work a lot better. Setting the same cookie name several times
353 used to add more cookies instead of replacing the former one which it
354 should've. Nusu <nus@intergorj.ro> brought me an URL that made this
357 Troy (15 August 1999)
358 - Brought new .spec files as well as a patch for configure.in that lets the
359 configure script find the openssl files better, even when the include
360 files are in /usr/include/openssl
364 Daniel (13 August 1999)
365 - SSL_CTX_set_default_passwd_cb() has been modified in the 0.9.4 version of
366 OpenSSL. Now why couldn't they simply add a *new* function instead of
367 modifying the parameters of an already existing function? This way, we get
368 a compiler warning if compiling with 0.9.4 but not with earlier. So, I had
369 to come up with a #if contruction that deals with this...
371 - Made curl output the SSL version number get displayed properly with 0.9.4.
373 Troy (12 August 1999)
374 - Added MingW32 (GCC-2.95) support under Win32. The INSTALL file was also
377 Daniel (12 August 1999)
378 - I had to copy a good <arpa/telnet.h> include file into the curl source
379 tree to enable the silly win32 systems to compile. The distribution rights
380 allows us to do that as long as the file remains unmodified.
382 - I corrected a few minor things that made the compiler complain when
383 -Wall -pedantic was used.
385 - I'm moving the official curl web page to http://curl.haxx.nu. I think it
386 will make it easier to remember as it is a lot shorter and less cryptic.
387 The old one still works and shows the same info.
389 Daniel (11 August 1999)
390 - Albert Chin-A-Young mailed me another correction for NROFF in the
391 configure.in that is supposed to be better for IRIX users.
393 Daniel (10 August 1999)
394 - Albert Chin-A-Young <china@thewrittenword.com> helped me with some stupid
395 Makefile things, as well as some fiddling with the getdate.c
396 stuff that he had problems with under HP-UX v10. getdate.y will now be
397 compiled into getdate.c if the appropriate yacc or bison is found by the
398 configure script. Since this is slightly new, we need to test the output
399 getdate.c with win32 systems to make sure it still compiles there.
401 Daniel (5 August 1999)
402 - I've just setup a new mailing list with the intention to keep discussions
403 around libcurl development in it. I mainly expect it to be for thoughts and
404 brainstorming around a "next generation" library, rather than nitpicking
405 about the current implementation or details in the current libcurl.
407 To join our happy bunch of future-looking geeks, enter 'subscribe
408 <address>' in the body of a mail and send it to
409 libcurl-request@listserv.fts.frontec.se. Curl bug reports, the usual curl
410 talk and everything else should still be kept in this mailing list. I've
411 started to archive this mailing list and have put the libcurl web page at
412 www.fts.frontec.se/~dast/libcurl/.
414 - Stefan Kanthak <Stefan.Kanthak@mchp.siemens.de> contacted me regarding a
415 few problems in the configure script which he discovered when trying to
416 make curl compile and build under Siemens SINIX-Z V5.42B2004!
418 - Marcus Klein <m.klein@in-olpe.de> very accurately informed me that
419 src/version.h was not present in the CVS repository. Oh, how silly...
421 - Linus Nielsen <Linus.Nielsen@sth.frontec.se> rewrote the telnet:// part and
422 now curl offers limited telnet support. If you run curl like 'curl
423 telnet://host' you'll get all output on the screen and curl will read input
424 from stdin. You'll be able to login and run commands etc, but since the
425 output is buffered, expect to get a little weird output.
427 This is still in its infancy and it might get changed. We need your
428 feed-back and input in how this is best done.
430 WIN32 NOTE: I bet we'll get problems when trying to compile the current
431 lib/telnet.c on win32, but I think we can sort them out in time.
433 - David Sanderson <david@transarc.com> reported that FORCE_ALLOCA_H or
434 HAVE_ALLOCA_H must be defined for getdate.c to compile properly on HP-UX
435 11.0. I updated the configure script to check for alloca.h which should
438 Daniel (4 August 1999)
439 - I finally got to understand Marcus Klein's ftp download resume problem,
440 which turns out to be due to different outputs from different ftp
441 servers. It makes ftp download resuming a little trickier, but I've made
442 some modifications I really believe will work for most ftp servers and I do
443 hope you report if you have problems with this!
445 - Added text about file transfer resuming to README.curl.
447 Daniel (2 August 1999)
448 - Applied a progress-bar patch from Lars J. Aas <larsa@sim.no>. It offers
449 a new styled progress bar enabled with -#/--progress-bar.
451 T. Yamada <tai@imasy.or.jp> (30 July 1999)
452 - It breaks with segfault when 1) curl is using .netrc to obtain
453 username/password (option '-n'), and 2) is auto-matically redirected to
454 another location (option '-L').
456 There is a small bug in lib/url.c (block starting from line 641), which
457 tries to take out username/password from user- supplied command-line
458 argument ('-u' option). This block is never executed on first attempt since
459 CONF_USERPWD bit isn't set at first, but curl later turns it on when it
460 checks for CONF_NETRC bit. So when curl tries to redo everything due to
461 redirection, it segfaults trying to access *data->userpwd.
465 Daniel (30 July 1999)
466 - Steve Walch <swalch@cisoft.com> pointed out that there is a memory leak in
467 the formdata functions. I added a FormFree() function that is now used and
468 supposed to correct this flaw.
470 - Mark Wotton <mwotton@black.ug.cs.usyd.edu.au> reported:
471 'curl -L https://www.cwa.com.au/' core dumps. I managed to cure this by
472 correcting the cleanup procedure. The bug seems to be gone with my OpenSSL
473 0.9.2b, although still occurs when I run the ~100 years old SSLeay 0.8.0. I
474 don't know whether it is curl or SSLeay that is to blame for that.
476 - Marcus Klein <m.klein@in-olpe.de>:
477 Reported an FTP upload resume bug that I really can't repeat nor understand.
478 I leave it here so that it won't be forgotten.
480 Daniel (29 July 1999)
481 - Costya Shulyupin <costya@trivnet.com> suggested support for longer URLs
482 when following Location: and I could only agree and fix it!
484 - Leigh Purdie <leighp@defcen.gov.au> found a problem in the upload/POST
485 department. It turned out that http.c accidentaly cleared the pointer
486 instead of the byte counter when supposed to.
488 - Costya Shulyupin <costya@trivnet.com> pointed out a problem with port
489 numbers and Location:. If you had a server at a non-standard port that
490 redirected to an URL using a standard port number, curl still used that
493 - Ralph Beckmann <rabe@uni-paderborn.de> pointed out a problem when using both
494 CONF_FOLLOWLOCATION and CONF_FAILONERROR simultaneously. Since the
495 CONF_FAILONERROR exits on the 302-code that the follow location header
496 outputs it will never show any html on location: pages. I have now made it
497 look for >=400 codes if CONF_FOLLOWLOCATION is set.
499 - 'struct slist' is now renamed to 'struct curl_slist' (as suggested by Ralph
502 - Joshua Swink <jpswink@hotmail.com> and Rick Welykochy <rick@praxis.com.au>
503 were the first to point out to me that the latest OpenSSL package now have
504 moved the standard include path. It is now in
505 /usr/local/ssl/include/openssl and I have now modified the --enable-ssl
506 option for the configure script to use that as the primary path, and I
507 leave the former path too to work with older packages of OpenSSL too.
510 - I finally understood the IRIX problem and now it seem to compile on it!
511 I am gonna remove those #define strcasecmp() things once and for all now.
514 - I adjusted the FTP reply 227 parser to make the PASV command work better
515 with more ftp servers. Appearantly the Roxen Challanger server replied
516 something curl 5.9 could deal with! :-( Reported by Ashley Reid-Montanaro
517 <ashley@compsoc.man.ac.uk> and Mark Butler <butlerm@xmission.com> brought a
521 - Rearranged. README is new, the old one is now README.curl and I added a
522 README.libcurl with text I got from Ralph Beckmann <rabe@uni-paderborn.de>.
524 - I also updated the INSTALL text.
527 - David Jonathan Lowsky <dlowsky@leland.stanford.edu> correctly pointed out
528 that curl didn't properly deal with form posting where the variable
529 shouldn't have any content, as in curl -F "form=" www.site.com. It was
535 - I've got a bug report from Aaron Scarisbrick <aaronsca@hotmail.com> in
536 which he states he has some problems with -L under FreeBSD 3.0. I have
537 previously got another bug report from Stefan Grether
538 <stefan.grether@ubs.com> which points at an error with similar sympthoms
539 when using win32. I made the allocation of the new url string a bit faster
540 and different, don't know if it actually improves anything though...
543 - Made the cookie parser deal with CRLF newlines too.
546 - Download() didn't properly deal with failing return codes from the
547 sread() function. Adam Coyne <adam@gamespy.com> found the problem in the
548 win32 version, and Troy Engel helped me out isolating it.
551 - Richard Adams <Richard@Slayford.com> pointed out a bug I introduced in
552 5.8. --dump-header doesn't work anymore! :-/ I fixed it now.
554 - After a suggestion by Joshua Swink <jpswink@hotmail.com> I added -S /
555 --show-error to force curl to display the error message in case of an
556 error, even if -s/--silent was used.
559 - I moved the stuff concerning HTTP, DICT and TELNET it their own source
560 files now. It is a beginning on my clean-up of the sources to make them
561 layer all those protocols better to enable more to be added easier in the
564 - Leon Breedt <ljb@debian.org> sent me some files I've not put into the main
565 curl archive. They're for creating the Debian package thingie. He also sent
566 me a debian package that I've made available for download at the web page
569 - Made it compile on cygwin too.
571 Troy Engel (7 May 1999)
572 - Brought a series of patches to allow curl to compile smoothly on MSVC++ 6
576 - I changed the #ifdef HAVE_STRFTIME placement for the -z code so that it
577 will be easier to discover systems that don't have that function and thus
578 can't use -z successfully. Made the strftime() get used if WIN32 is defined
584 - I've had it with this autoconf/automake mess. It seems to work allright
585 for most people who don't have automake installed, but for those who have
586 there are problems all over.
588 I've got like five different bug reports on this only the last
589 week... Claudio Neves <claudio@nextis.com> and Federico Bianchi
590 <bianchi@pc-arte2.arte.unipi.it> and root <duggerj001@hawaii.rr.com> are
591 some of them reporting this.
593 Currently, I have no really good fix since I want to use automake myself to
594 generate the Makefile.in files. I've found out that the @SHELL@-problems
595 can often be fixed by manually invoking 'automake' in the archive root
596 before you run ./configure... I've hacked my maketgz script now to fiddle
597 a bit with this and my tests seem to work better than before at least!
600 - mkhelp.pl has been doing badly lately. I corrected a case problem in
603 - I've now remade the -o option to not touch the file unless it needs to.
604 I had to do this to make -z option really fine, since now you can make a
605 curl fetch and use a local copy's time when downloading to that file, as
608 curl -z dump -o dump remote.site.com/file.html
610 This will only get the file if the remote one is newer than the local.
611 I'm aware that this alters previous behaviour a little. Some scripts out
612 there may depend on that the file is always touched...
614 - Corrected a bug in the SSLv2/v3 selection.
616 - Felix von Leitner <leitner@math.fu-berlin.de> requested that curl should
617 be able to send "If-Modified-Since" headers, which indeed is a fair idea.
618 I implemented it right away! Try -z <expression> where expression is a full
619 GNU date expression or a file name to get the date from!
621 Stephan Lagerholm <stephan@unilog.se> (30 Apr 1999)
622 - Pointed out a problem with the src/Makefile for FreeBSD. The RM variable
623 isn't set and causes the make to fail.
625 Daniel (26 April 1999)
626 - Am I silly or what? <Irving_Wolfe@wolfe.net> pointed out to me that the
627 curl version number was not set properly. Hasn't been since 5.6. This was
628 due to a bug in my maketgz script!
630 David Eriksson <david@2good.com> (25 Apr 1999)
631 - Found a bug in cookies.c that made it crash at times.
635 Doug Kaufman <dkaufman@rahul.net> (23 Apr 1999)
636 - Brought two sunos 4 fixes. One of them being the hostip.c fix mentioned
637 below and the other one a correction in include/stdcheaders.h
639 - Added a paragraph about compiling with the US-version of openssl to the
643 - New mailing list address. Info updated on the web page as well as in the
646 Greg Onufer <Greg.Onufer@Eng.Sun.COM> (20 Apr 1999)
647 - hostip.c didn't compile properly on SunOS 5.5.1.
648 It needs an #include <sys/types.h>
653 - Decided to upload a non-beta version right now!
655 - Made curl support any-length HTTP headers. The destination buffer is now
656 simply enlarged every time it turns out to be too small!
658 - Added the FAQ file to the archive. Still a bit smallish, but it is a
661 Eric Thelin <eric@generation-i.com> (15 Apr 1999)
662 - Made -D accept '-' instead of filename to write to stdout.
668 - Changed two #ifdef WIN32 to better #ifdef <errorcode> when connect()ing
669 in url.c and ftp.c. Makes cygwin32 deal with them better too. We should
670 try to get some decent win32-replacement there. Anyone?
672 - The old -3/--crlf option is now ONLY --crlf!
674 - I changed the "SSL fix" to a more lame one, but that doesn't remove as
675 much functionality. Now I've enabled the lib to select what SSL version it
676 should try first. Appearantly some older SSL-servers don't like when you
677 talk v3 with them so you need to be able to force curl to talk v2 from the
678 start. The fix dated April 6 and posted on the mailing list forced curl to
679 use v2 at all times using a modern OpenSSL version, but we don't really
680 want such a crippled solution.
682 - Marc Boucher <marc@mbsi.ca> sent me a patch that corrected a math error
683 for the "Curr.Speed" progress meter.
685 - Eric Thelin <eric@generation-i.com> sent me a patch that enables '-K -'
686 to read a config file from stdin.
688 - I found out we didn't close the file properly before so I added it!
691 - Yu Xin <is@isee.za.net> pointed out a problem with ftp download resume.
692 It didn't work at all! ;-O
695 - Corrected the version string part generated for the SSL version.
697 - I found a way to make some other SSL page work with openssl 0.9.1+ that
698 previously didn't (ssleay 0.8.0 works with it though!). Trying to get
699 some real info from the OpenSSL guys to see how I should do to behave the
700 best way. SSLeay 0.8.0 shouldn't be that much in use anyway these days!
705 - Finally have curl more cookie "aware". Now read carefully. This is how
707 To make curl read cookies from an already existing file, in plain header-
708 format (like from the headers of a previous fetch) invoke curl with the
711 curl -b file http://site/foo.html
713 Curl will then use all cookies it finds matching. The old style that sets
714 a single cookie with -b is still supported and is used if the string
715 following -b includes a '=' letter, as in "-b name=daniel".
717 To make curl read the cookies sent in combination with a location: (which
718 sites often do) point curl to read a non-existing file at first (i.e
719 to start with no existing cookies), like:
721 curl -b nowhere http://site/setcookieandrelocate.html
723 - Added a paragraph in the TODO file about the SSL problems recently
724 reported. Evidently, some kind of SSL-problem curl may need to address.
726 - Better "Location:" following.
728 Douglas E. Wegscheid <wegscd@whirlpool.com> (Tue, 30 Mar 1999)
729 - A subsecond display patch.
732 - I've separated the version number of libcurl and curl now. To make
733 things a little easier, I decided to start the curl numbering from
734 5.6 and the former version number known as "curl" is now the one
737 - Removed the 'enable-no-pass' from configure, I doubt anyone wanted
740 - Made lots of tiny adjustments to compile smoothly with cygwin under
741 win32. It's a killer for porting this to win32, bye bye VC++! ;-)
742 Compiles and builds out-of-the-box now. See the new wordings in
745 - Beginning experiments with downloading multiple document from a http
746 server while remaining connected.
751 - Since I've changed so much, I thought I'd just go ahead and implement
752 the suggestion from Douglas E. Wegscheid <wegscd@whirlpool.com>. -D or
753 --dump-header is now storing HTTP headers separately in the specified
756 - Added new text to INSTALL on what to do to build this on win32 now.
758 - Aaargh. I had to take a step back and prefix the shared #include files
759 in the sources with "../include/" to please VC++...
762 - Split the url.c source into many tiny sources for better readability
766 - Started to change stuff for a move to make libcurl and a more separate
767 curl application that uses the libcurl. Made the libcurl sources into
768 the new lib directory while the curl application will remain in src as
769 before. New makefiles, adjusted configure script and so.
771 libcurl.a built quickly and easily. I better make a better interface to
772 the lib functions though.
774 The new root dir include/ is supposed to contain the public information
775 about the new libcurl. It is a little ugly so far :-)
779 - Todd Kaufmann <tkaufmann@adforce.com> sent me a good link to Netscape's
780 cookie spec as well as the info that RFC 2109 specifies how to use them.
781 The link is now in the README and the RFC in the RESOURCES.
784 - Finally made configure accept --with-ssl to look for SSL libs and includes
785 in the "standard" place /usr/local/ssl...
788 - Verified that curl linked fine with OpenSSL 0.9.1c which seems to be
791 Henri Gomez <gomez@slib.fr> (Fri Feb 5 1999)
792 - Sent in an updated curl-ssl.spec. I still miss the script that builds an
797 Mark Butler <butlerm@xmission.com> (27 Jan 1999)
798 - Corrected problems in Download().
800 Danitel Stenberg (25 Jan 1999)
801 - Jeremie Petit <Jeremie.Petit@Digital.com> pointed out a few flaws in the
802 source that prevented it from compile warning free with the native
803 compiler under Digital Unix v4.0d.
807 Daniel Stenberg (15 Jan 1999)
808 - Added Bjorns small text to the README about the DICT protocol.
810 Daniel Stenberg (11 Jan 1999)
811 - <jswink@softcom.net> reported about the win32-versioin: "Doesn't use
812 ALL_PROXY environment variable". Turned out to be because of the static-
813 buffer nature of the win32 environment variable calls!
815 Bjorn Reese <breese@imada.ou.dk> (10 Jan 1999)
816 - I have attached a simple addition for the DICT protocol (RFC 2229).
817 It performs dictionary lookups. The output still needs to be better
820 To test it try (the exact format, and more examples are described in
823 dict://dict.org/m:hello
824 dict://dict.org/m:hello::soundex
827 Vicente Garcia <verot@redestb.es> (10 Jan 1999)
828 - Corrected the progress meter for files larger than 20MB.
830 Daniel Stenberg (7 Jan 1999)
831 - Corrected the -t and -T help texts. They claimed to be FTP only.
837 - <Irving_Wolfe@Wolfe.Net> reported that curl -s didn't always supress the
838 progress reporting. It was the form post that autoamtically always switched
839 it on again. This is now corrected!
842 - Andreas Kostyrka <andreas@mtg.co.at> suggested I'd add PUT and he helped me
843 out to test it. If you use -t or -T now on a http or https server, PUT will
844 be used for file upload.
846 I removed the former use of -T with HTTP. I doubt anyone ever really used
850 - Erik Jacobsen <erik@mint.com> found a width bug in the mprintf() function.
854 - As John V. Chow <johnchow@brooklinetech.com> pointed out to me, curl
855 accepted very limited URL sizes. It should now accept path parts that are
856 up to at least 4096 bytes.
858 - Somehow I screwed up when applying the AIX fix from Gilbert Ramirez, so
861 Version 5.3a (win32 only)
864 - Corrected a win32 bug in the environment variable part.
868 Gilbert Ramirez Jr. (21 Dec 1998)
869 - I have implemented the "quote" function of FTP clients. It allows you to
870 send arbitrary commands to the remote FTP server. I chose the -Q/--quote
871 command-line arguments.
873 You can have more than one quoted string, and curl will apply them in
874 order. This is what I use for my MVS upload:
876 curl -B --crlf -Q "site lrecl=80" -Q "site blk=8000" -T file ftp://os390/test
878 Curl will send the two quoted "site" commands in the proper order.
880 - Made it compile smoothly on AIX.
882 Gilbert Ramirez Jr. <gram@verdict.uthscsa.edu> (18 Dec 1998)
883 - Brought an MVS patch: -3/--mvs, for ftp upload to the MVS ftp server.
885 Troy Engel <tengel@sonic.net> (17 Dec 1998)
886 - Brought a correction that fixes the win32 curl bug.
889 - A bug, pointed out to me by Dr H. T. Leung <htl10@cus.cam.ac.uk>, caused
890 curl to crash on the -A flag on certain systems. Actually, all systems
893 - Added a few defines to make directories/file names get build nicer (with _
894 instead of . and \ instead of / in win32).
896 - steve <fisk@polar.bowdoin.edu> reported a weird bug that occured if the
897 ftp server response line had a parenthesis on the line before the (size)
898 info. I hope it works better now!
902 Steven G. Johnson <stevenj@alum.mit.edu> (Dec 14, 1998)
903 - Brought a fix that corrected a crash in 5.2 due to bad treatment of the
904 environment variables.
908 Daniel Stenberg (Dec 14, 1998)
909 - Rewrote the mkhelp script and now, the mkhelp.pl script generates the
910 hugehelp.c file from the README *and* the man page file curl.1. By using
911 both files, I no longer need to have double information in both the man
912 page and the README as well. So, win32-users will only have the hugehelp.c
913 file for all info, but then, they download the plain binary most times
916 - gcc2.8.1 with the -Wall flag complaints a lot on subscript has type `char'
917 if I don't explicitly typecast the argument to isdigit() or isspace() to
918 int. So I did to compile warning free with that too.
920 - Added checks for 'long double' and 'long long' in the configure script. I
921 need those for the mprintf.c source to compile well on non long long
924 Version 5.1 (not publicly released)
926 Daniel Stenberg (Dec 10, 1998)
927 - I got a request for a pre-compiled NT Alpha version. Anyone?
929 - Added Lynx/CERN www lib proxy environment variable support. That means curl
930 now reads and understands the following environment variables:
932 HTTP_PROXY, HTTPS_PROXY, FTP_PROXY, GOPHER_PROXY
934 They should be set for protocol-specific proxies. General proxy should be
939 And a comma-separated list of host names that shouldn't go through any
940 proxy is set in (only an asterisk, '*' matches all hosts).
944 The usage of the -x/--proxy flag overrides the environment variables.
946 - Proxy can now be specified with a procotol:// prefix.
948 - Wrote the curl.1 man page.
950 - Introduced a whole new dynamic buffer system for all sprintf()s. It is
951 based on the *printf() package by yours truly and Bjorn Reese. Hopefully,
952 there aren't that many buffer overflow risks left now.
954 - Ah, I should mention I've compiled and built curl successfully under
955 solaris 2.6 with gcc now, gcc 2.7.2 won't work but 2.8.1 did ok.
957 Oren Tirosh <oren@hishome.net> (Dec 3, 1998)
958 - Brought two .spec files, to use when creating (Linux) Redhat style RPM
959 packages. They're named curl.spec and curl-ssl.spec.
961 Troy Engel <tengel@sonic.net>
962 - Supplied the src/Makefile.vc6 for easy compiling with VC++ under Win32.
966 Daniel Stenberg (Dec 1, 1998)
967 - Not a single bug report in ages.
968 - Corrected getpass.c and main.c to compile warning and error free with the
973 Daniel Stenberg (Nov 20, 1998)
975 HOW TO BUILD A RELEASE ARCHIVE:
977 * Pre-requisite software:
978 What To build what Reads data from
979 ==== ============= ===============
980 GNU automake Makefile.in, aclocal.m4 configure.in
983 GNU autoconf configure configure.in
984 GNU autoheader(2) config.h.in configure.in, acconfig.h
986 * Make sure all files that should be part of the archive are put in FILES.
988 * Run './maketgz' and enter version number of the new to become archive.
992 - Enters the newly created version number in url.h.
993 - (If you don't have automake, this script will warn about that, but unless
994 you have changed the Makefile.am files, that is nothing to care about.)
995 If you have it, it'll run it.
996 - If you have autoconf, the configure.in will be edited to get the newly
997 created version number and autoconf will be run.
998 - Creates a new directory named curl-<version>. (Actually, it uses the base
999 name of the current directory up to the first '-'.)
1000 - Copies all files mentioned in FILES to the new directory. Saving
1001 permissions and directory structure.
1002 - Uses tar to create an archive of it all, named curl-<version>.tar.gz
1004 - Removes the new directory and all its contents.
1006 * When done, you have an archive stored in your directory named
1007 curl-<version>.tar.gz.
1011 (1) They're required to make automake run properly.
1012 (2) It is distributed as a part of the GNU autoconf archive.
1014 Daniel Stenberg (Nov 18, 1998)
1015 - I changed the TAG-system. If you ever used urlget() from this package in
1016 another product, you need to recompile with the new headers. I did this
1017 new stuff to better deal with different compilers and system with different
1018 variable sizes. I think it makes it a little more portable. This proves
1019 to compile warning free with the problematic IRIX compiler!
1020 - Win32 compiled with a silly error. Corrected now.
1021 - Brian Chaplin <bchaplin@capital-mkts.com> reported yet another problem in
1022 multiline FTP responses. I've tried to correct it. I mailed him a new
1023 version and I hope he gets back soon with positive feedback!
1024 - Improved the 'maketgz' to create a temporary directory tree which it makes
1025 an archive from instead of the previous renaming of the current one.
1026 - Mailing list opened (see README).
1027 - Made -v more verbose on the PASV section of ftp transfers. Now it tells
1028 host name and IP of the new host (and port number). I also added a section
1029 about PORT vs PASV in the README.
1033 Angus Mackay (Nov 15, 1998)
1034 - Introduced automake stuff.
1036 Daniel Stenberg (Nov 13, 1998)
1037 - Just made a successful GET of a document from an SSL-server using my own
1038 private certificate for authentication! The certificate has to be in PEM
1039 format. You do that the easiest way (although not *that* easy) by
1040 downloading the SSLyeay PKCS#12-patch by Dr Stephen N. Henson from his site
1041 at: http://www.drh-consultancy.demon.co.uk/. Using his tool, you can
1042 convert any modern Netscape or (even) MSIE certificate to PEM-format. Use
1043 it with 'curl -E <certificate:password> https://site.com'. If this isn't a
1044 cool feature, then I don't know what cool features look like! ;-)
1045 - Working slowly on telnet connections. #define TRY_TELNET to try it out.
1046 (curl -u user:passwd "telnet://host.com/cat .login" is one example) I do
1047 have problem to define how it should work. The prime purpose for this must
1048 be to get (8bit clean) files via telnet, and it really isn't that easy to
1049 get files this way. Still having problems with \n being converted to \r\n.
1051 Angus Mackay (Nov 12, 1998)
1052 - Corrected another bug in the long parameter name parser.
1053 - Modified getpass.c (NOTE: see the special licensing in the top of that
1056 Daniel Stenberg (Nov 12, 1998)
1057 - We may have removed the silly warnings from url.c when compiled under IRIX.
1058 Thanks again to Bjorn Reese <breese@imada.ou.dk> and Martin Staael
1059 <martin@netgroup.dk>.
1060 - Wrote formfind.pl which is a new perl script intended to help you find out
1061 how a FORM submission should be done. This needs a little more work to get
1064 Daniel Stenberg (Nov 11, 1998)
1065 - Made the HTTP header-checker accept white spaces before the HTTP/1.? line.
1066 Appearantly some proxies/sites add such at times (my test proxy did when I
1067 downloaded a gopher page with it)!
1068 - Moved the former -h to -M and made -h show the short help text instead. I
1069 had to enable a forced help text option. Now an even shorter help text will
1070 be presented when an unknown option and similar, is used.
1071 - stdcheaders.h didn't work with IRIX 6.4 native cc compiler. I hope my
1072 changes don't make other versions go nuts instead.
1074 Daniel Stenberg (Nov 10, 1998)
1075 - Added a weird check in the configure script to check for the silly AIX
1076 warnings about my #define strcasecmp() stuff. I do that define to prevent
1077 me and other contributors to accidentaly use that function name instead
1079 - I bugfixed Angus's getpass.c very little.
1080 - Fixed the verbose flag names to getopt-style, i.e 'curl --loc' will be
1081 sufficient instead of --location as "loc" is a unique prefix. Also, anything
1082 after a '--' is treated as an URL. So if you do have a host with a weeeird
1083 name you can do 'curl -- -host.com'.
1084 - Another getopt-adjust; curl now accepts flags after the URL on the command
1085 line. 'curl www.foo.com -O' is perfectly valid.
1086 - Corrected the .curlrc parser so that strtok() is no longer used and I
1087 believe it works better. Even URLs can be specified in it now.
1089 Angus Mackay (Nov 9, 1998)
1090 - Replaced getpass.c with a newly written one, not under GPL license
1091 - Changed OS to a #define in config.h instead of compiler flag
1092 - Makefile now uses -DHAVE_CONFIG_H
1094 Daniel Stenberg (Nov 9, 1998)
1095 - Ok, I expanded the tgz-target to update the version string on each occation
1096 I build a release archive!
1097 - I reacted on Angus Mackay's initiative and remade the parameter parser to
1098 be more getopt compliant. Curl now supports "merged" flags as in
1099 curl -lsv ftp.site.com
1100 Do note that I had to move three short-names of the options. Parameters
1101 that needs an additional string such as -x must be stand-alone or the
1102 last in a merged sequence:
1103 curl -lsx my-proxy ftp.site.com
1104 is ok, but using the flags in a different order like '-lxs' would cause
1105 unexpected results (as the 's' option would be skipped).
1106 - I've changed the headers in all files that are subject to the MozPL
1107 license, as they are supposed to look like when conforming.
1108 - Made the configure script make the config.h. The former config.h is now
1110 - The RESOURCES and TODO files have been added to the archive.
1112 Angus Mackay <amackay@gus.ml.org> (Nov 5, 1998)
1113 - Fixed getpass.c and various configure stuff
1115 Daniel Stenberg (Nov 3, 1998)
1116 - Use -H/--header for custom HTTP-headers. Lets you pass on your own
1117 specified headers to the remote server. I wouldn't recommend trying to use
1118 a header with a defined usage according to standards. Use this flag once
1119 for every custom header you want to add.
1120 - Use -B/--ftp-ascii to force ftp to use ASCII mode when transfering files.
1121 - Corrected the 'getlinks.pl' script, I accidentally left my silly proxy
1122 usage in there! Since the introduction of the .curlrc file, it is easier to
1123 write scripts that use curl since proxies and stuff should be in the
1124 .curlrc file anyway.
1125 - Introducing the new -F flag for HTTP POST. It supports multipart/form-data
1126 which means it is gonna be possible to upload files etc through HTTP POST.
1127 Shiraz Kanga <skanga@bigfoot.com> asked for the feature and my brother,
1128 Björn Stenberg <Bjorn.Stenberg@sth.frontec.se> helped me design the user
1129 interface for this beast. This feature requires quite some docs,
1130 since it has turned out not only quite capable, but also complicated! :-)
1131 - A note here, since I've received mail about it. SSLeay versions prior to
1132 0.8 will *not* work with curl!
1133 - Wil Langford <wil@langford.net> reported a bug that occurred since curl
1134 did not properly use CRLF when issuing ftp commands. I fixed it.
1135 - Rearranged the order config files are read. .curlrc is now *always* read
1136 first and before the command line flags. -K config files then act as
1137 additional config items.
1138 - Use -q AS THE FIRST OPTION specified to prevent .curlrc from being read.
1139 - You can now disable a proxy by using -x "". Useful if the .curlrc file
1140 specifies a proxy and you wanna fetch something without going through
1142 - I'm thinking of dropping the -p support. Its really not useful since ports
1143 could (and should?) be specified as :<port> appended on the host name
1144 instead, both in URLs and to proxy host names.
1145 - Martin Staael <martin@netgroup.dk> reports curl -L bugs under Windows NT
1146 (test with URL http://come.to/scsde). This bug is not present in this
1148 - Added support for the weird FTP URL type= thing. You can download a file
1149 using ASCII transfer by appending ";type=A" to the right of it. Other
1150 available types are type=D for dir-list (NLST) and type=I for binary
1151 transfer. I can't say I've ever seen anyone use this kind of URL though!
1153 - Troy Engel <tengel@palladium.net> pointed out a bug in my getenv("HOME")
1154 usage for win32 systems. I introduce getenv.c to better cope with
1155 this. Mr Engel helps me with the details around that...
1156 - A little note to myself and others, I should make the win32-binary built
1158 - r-y-a-n/n-e-l-s-o-n <ryan@inch.com> sent me comments about building curl
1159 with SSL under FreeBSD. See the Makefile for details. Using the configure
1160 script, it should work better and automatically now...
1161 - Cleaned up in the port number mess in the source. No longer stores and uses
1162 proxy port number separate from normal port number.
1163 - 'configure' script working. Confirmed compiles on:
1167 SunOS 5.6 no cc (with gcc, it has the "gcc include files" problem)
1168 SunOS 4.1.3 no gcc (without ANSI C headers)
1169 SunOS 4.1.2 no gcc (native compiler failed)
1171 Linux 2.0.32 yes gcc
1172 Linux 2.0.35 no gcc (with glibc)
1173 IRIX 6.2 no gcc (cc compiles generate a few warnings)
1174 IRIX 6.4 no cc (generated warnings though)
1178 - Ooops. The 5beta (and 4.10) under win32 failed if the HOME variable wasn't
1180 - When using a proxy, curl now guesses and uses the protocol part in cases
1182 curl -x proxy:80 www.site.com
1183 Proxies normally go nuts unless http:// is prepended to the host name, so
1184 if curl is used like this, it guesses protocol and appends the protocol
1185 string before passing it to the proxy. It already did this when used
1187 - Better port usage with SSL through proxy now. If you specified a different
1188 https-port when accessing through a proxy, it didn't use that number
1189 correctly. I also rewrote the code that parses the stuff read from the
1190 proxy when you wanna connect through it with SSL.
1191 - Bjorn Reese <breese@imada.ou.dk> helped me work around one of the compiler
1192 warnings on IRIX native cc compiles.
1194 Version 4.10 (Oct 26, 1998)
1196 - John A. Bristor <jbristor@bellsouth.net> suggested a config file switch,
1197 and since I've been having that idea kind of in the background for a long
1198 time I rewrote the parameter parsing function a little and now I introduce
1199 the -K/--config flag. I also made curl *always* (unless -K is used) try to
1200 load the .curlrc file for command line parameters. The syntax for the
1201 config file is the standard command line argument style. Details in 'curl
1203 - I removed the -k option. Keep-alive isn't really anything anyone would
1204 want to enable with curl anyway.
1205 - Martin Staael <Martin@Staael.dk> helped me add the 'irix' target. Now
1206 "make irix" should build curl successfully on non-gcc SGI machines.
1207 - Single switches now toggle behaviours. I.e if you use -v -v the second
1208 will switch off the verbose mode the first one enabled. This is so that
1209 you can disable a default setting a .curlrc file enables etc.
1211 Version 4.9 (Oct 7, 1998)
1213 - Martin Staael <Martin@Staael.dk> suggested curl would support cookies.
1214 I added -b/--cookie to enable free-text cookie data to be passed. There's
1215 also a little blurb about general cookie stuff in the README/help text.
1216 - dmh <dmh@jet.es> suggested HTTP resume capabilities. Although you could
1217 manually get curl to resume HTTP documents, I made the -c resume flag work
1218 for HTTP too (unless -r is used too, which would be very odd anyway).
1219 - Added checklinks.pl to the archive. It is a still experimental perl script
1220 that checks all links of a web page by using curl.
1221 - Rearranged the archive hierarchy a little. Build the executable in the
1222 src/ dir from now on!
1223 - Version 4.9 and hereafter, is no longer released under the GPL license.
1224 I have now updated the LEGAL file etc and now this is released using the
1225 Mozilla Public License to avoid the plague known as "the GPL virus". You
1226 must make the source available if you decide to change and/or redistribute
1227 curl, but if you decide to use curl within something else you do not need
1228 to offer the world the source to that too.
1229 - Curl did not like HTTP servers that sent no headers at all on a GET
1230 request. It is a violation of RFC2068 but appearantly some servers do
1231 that anyway. Thanks to Gordon Beaton <gordon@erix.ericsson.se> for the
1233 - -L/--location was added after a suggestion from Martin Staael
1234 <Martin@Staael.dk>. This makes curl ATTEMPT to follow the Location:
1235 redirect if one is present in the HTTP headers. If -i or -I is used with
1236 this flag, you will see headers from all sites the Location: points to. Do
1237 note that the first server can point to a second that points to a third
1238 etc. It seems the Location: parameter (said to be an AbsoluteURI in
1239 RFC2068) isn't always absolute.. :-/ Anyway, I've made curl ATTEMPT to do
1240 the best it can to deal with the reality.
1241 - Added getlinks.pl to the archive. getlinks.pl selectively downloads
1242 files that a web page links to.
1246 - As Julian Romero Nieto <jromero@anaya.es> reported, curl reported wrong
1248 - As Teemu Yli-Elsila <tylielsi@mail.student.oulu.fi> pointed out,
1249 the win32 version of 4.8 (and probably all other versions for win32)
1250 didn't work with binary files since I'm too used to the UNIX style
1251 fopen() where binary and text don't differ...
1252 - Ralph Beckmann <rabe@uni-paderborn.de> brought me some changes that lets
1253 curl compile error and warning free with -Wall -pedantic with
1254 g++. I also took the opportunity to clean off some unused variables
1256 - Ralph Beckmann <rabe@uni-paderborn.de> made me aware of a really odd bug
1257 now corrected. When curl read a set of headers from a HTTP server, divided
1258 into more than one read and the first read showed a full line *exactly*
1259 (i.e ending with a newline), curl did not behave well.
1263 - I was too quick to release 4.8.2 with too little testing. One of the
1264 changes is now reverted slightly to the 4.8.1 way since 4.8.2 couldn't
1265 upload files. I still think both problems corrected in 4.8.2 remain
1266 corrected. Reported by Julian Romero Nieto <jromero@anaya.es>.
1270 - Bernhard Iselborn <biselbor@rhrk.uni-kl.de> reported two FTP protocol
1271 errors curl did. They're now corrected. Both appeared when getting files
1272 from a MS FTP server! :-)
1276 - Added a last update of the progress meter when the transfer is done. The
1277 final output on the screen didn't have to be the final size transfered
1278 which made it sometimes look odd.
1279 - Thanks to David Long <long@research.bell-labs.com> I got rid of a silly
1280 bug that happened if a HTTP-page had nothing but header. Appearantly
1281 Solaris deals with negative sizes in fwrite() calls a lot better than
1286 - Continue FTP file transfer. -c is the switch. Note that you need to
1287 specify a file name if you wanna resume a download (you can't resume a
1288 download sent to stdout). Resuming upload may be limited by the server
1289 since curl is then using the non-RFC959 command SIZE to get the size of
1290 the target file before upload begins (to figure out which offset to
1291 use). Use -C to specify the offset yourself! -C is handy if you're doing
1292 the output to something else but a plain file or when you just want to get
1294 - recursiveftpget.pl now features a maximum recursive level argument.
1298 - Added support to abort a download if the speed is below a certain amount
1299 (speed-limit) bytes per second for a certain (speed-time) time.
1300 - Wrote a perl script 'recursiveftpget.pl' to recursively use curl to get a
1301 whole ftp directory tree. It is meant as an example of how curl can be
1302 used. I agree it isn't the wisest thing to do to make a separate new
1303 connection for each file and directory for this.
1307 - Added a first attempt to optionally parse the .netrc file for login user
1308 and password. If used with http, it enables user authentication. -n is
1310 - Removed the extra newlines on the default user-agent string.
1311 - Corrected the missing ftp upload error messages when it failed without the
1312 verbose flag set. Gary W. Swearingen found it.
1313 - Now using alarm() to enable second-precision timeout even on the name
1314 resolving/connecting phase. The timeout is although reset after that first
1315 sequence. (This should be corrected.) Gary W. Swearingen <swear@aa.net>
1317 - Now spells "Unknown" properly, as in "Unknown option 'z'"... :-)
1318 - Added bug report email address in the README.
1319 - Added a "current speed" field to the progress meter. It shows the average
1320 speed the last 5 seconds. The other speed field shows the average speed of
1321 the entire transfer so far.
1325 - SSL through proxy fix
1326 - Added -A to allow User-Agent: changes
1329 - Made the -A work when SSL-through-proxy.
1332 Linas Vepstas <linas@linas.org>
1333 - More SSL corrections
1334 - I've added a port to AIX.
1335 - running SSL through a proxy causes a chunk of code to be executred twice.
1336 one of those blocks needs to be deleted.
1339 - Made -i and -I work again
1342 Linas Vepstas <linas@us.ibm.com>
1343 - -x can now also specify proxyport when used as in 'proxyhost:proxyport'
1348 - Adjusted to compile under win32 (VisualC++ 5). The -P switch does not
1349 support network interface names in win32. I couldn't figure out how!
1352 Linas Vepstas / Sampo Kellomaki
1353 - Added SSL / SSLeay support (https://)
1354 - Added the -T usage for HTTP POST.
1357 - Bugfixed the SSL implementation.
1358 - Made -P a lot better to use other IP addresses. It now accepts a following
1359 parameter that can be either
1360 interface - i.e "eth0" to specify which interface's IP address you
1362 IP address - i.e "192.168.10.1" to specify exact IP number
1363 host name - i.e "my.host.domain" to specify machine
1364 "-" - (any single-letter string) to make it pick the machine's
1366 - The Makefile is now ready to compile for solaris, sunos4 and linux right
1368 - Better generated version string seen with 'curl -V'
1372 - The IP number returned by the ftp server as a reply to PASV does no longer
1373 have to DNS resolve. In fact, no IP-number-only addresses have to anymore.
1374 - Binds better to available port when -P is used.
1375 - Now LISTs ./ instead of / when used as in ftp://ftp.funet.fi/. The reason
1376 for this is that exactly that site, ftp.funet.fi, does not allow LIST /
1377 while LIST ./ is fine. Any objections?
1379 Version 4 (1998-03-20)
1381 - I took another huge step and changed both version number and project name!
1382 The reason for the new name is that there are just one too many programs
1383 named urlget already and this program already can a lot more than merely
1384 getting URLs, and the reason for the version number is that I did add the
1385 pretty big change in -P and since I changed name I wanted to start with
1387 - The --style flags are working better now.
1388 - Listing directories with FTP often reported that the file transfer was
1389 incomplete. Wrong assumptions were too common for directories, why no
1390 size will be attempted to get compared on them from now on.
1391 - Implemented the -P flag that let's the ftp control issue a PORT command
1392 instead of the standard PASV.
1393 - -a for appending FTP uploads works.
1395 ***************************************************************************
1399 - End-of-header tracking still lacked support for \r\n or just \n at the
1400 end of the last header line.
1401 Sergio Barresi <sbarresi@imispa.it>
1402 - Added PROXY authentication.
1404 - Fixed some little bugs.
1408 - The header parsing was still not correct since the 3.2 modification...
1412 - 3.7 and 3.9 were simultaneously developed and merged into this version.
1413 - FTP upload did not work correctly since 3.2.
1417 - Added the "-e <url> / --referer <url>" option where we can specify
1418 the referer page. Obviously, this is necessary only to fool the
1423 - Now checks the last error code sent from the ftp server after a file has
1424 been received or uploaded. Wasn't done previously.
1425 - When 'urlget <host>' is used without a 'protocol://' first in the host part,
1426 it now checks for host names starting with ftp or gopher and if it does,
1427 it uses that protocol by default instead of http.
1431 - Silly mistake made the POST bug. This has now also been tested to work with
1436 - Highly inspired by Rafael Sagula's changes to the 3.1 that added an almost
1437 functional POST, I applied his changes into this version and made them work.
1438 (It seems POST requires the Content-Type and Content-Length headers.) It is
1439 now usable with the -d switch.
1442 Passed to avoid confusions
1446 - Major rewrite of two crucial parts of this code: upload and download.
1447 They are both now using a select() switch, that allows much better
1448 progress meter and time control.
1449 - alarm() usage removed completely
1450 - FTP get can now list directory contents if the path ends with a slash '/'.
1451 Urlget on a ftp-path that doesn't end with a slash means urlget will
1452 attempt getting it as a file name.
1453 - FTP directory view supports -l for "list-only" which lists the file names
1455 - All operations support -m for max time usage in seconds allowed.
1456 - FTP upload now allows the size of the uploaded file to be provided, and
1457 thus it can better check it actually uploaded the whole file. It also
1458 makes the progress meter for uploads much better!
1459 - Made the parameter parsing fail in cases like 'urlget -r 900' which
1460 previously tried to connect to the host named '900'.
1464 - Pointed out how to correct the 3 warnings in win32-compiles.
1467 - Removed all calls to exit().
1468 - Made the short help text get written to stdout instead of stderr.
1469 - Made this file instead of keeping these comments in the source.
1470 - Made two callback hooks, that enable external programs to use urlget()
1471 easier and to grab the output/offer the input easier.
1472 - It is evident that Win32-compiles are painful. I watched the output from
1473 the Borland C++ v5 and it was awful. Just ignore all those warnings.
1477 - Added FTP upload capabilities. The name urlget gets a bit silly now
1478 when we can put too... =)
1479 - Restructured the source quite a lot.
1480 Changed the urlget() interface. This way, we will survive changes much
1481 better. New features can come and old can be removed without us needing
1482 to change the interface. I've written a small explanation in urlget.h
1484 - New flags include -t, -T, -O and -h. The -h text is generated by the new
1489 - Added a fix to make it compile smoothly on Amiga using the SAS/C
1493 - Believe it or not, but the STUPID Novell web server seems to require
1494 that the Host: keyword is used, so well I use it and I (re-introduce) the
1495 urlget User-Agent:. I still have to check that this Host: usage works with
1496 proxies... 'Host:' is required for HTTP/1.1 GET according to RFC2068.
1500 - some little modifications
1504 - Removed the -l option and introduced the -f option instead. Now I'll
1505 rewrite the former -l kludge in an external script that'll use urlget to
1506 fetch multipart files like that.
1507 - '-f' is introduced, it means Fail without output in case of HTTP server
1508 errors (return code >=300).
1509 - Added support for -r, ranges. Specify which part of a document you
1510 want, and only that part is returned. Only with HTTP/1.1-servers.
1511 - Split up the source in 3 parts. Now all pure URL functions are in
1512 urlget.c and stuff that deals with the stand-alone program is in main.c.
1513 - I took a few minutes and wrote an embryo of a README file to explain
1518 - Made the -l (loop) thing use the new CONF_FAILONERROR which makes
1519 urlget() return error code if non-successful. It also won't output anything
1520 then. Now finally removed the HTTP 1.0 and error 404 dependencies.
1521 - Added -I which uses the HEAD request to get the header only from a
1526 - Made the progress meter use HHH:MM:SS instead of only seconds.
1530 - Added progress meter. It appears when downloading > BUFFER SIZE and
1531 mute is not selected. I found out that when downloading large files from
1532 really really slow sites, it is desirable to know the status of the
1533 download. Do note that some downloads are done unawaring of the size, which
1534 makes the progress meter less thrilling ;) If the output is sent to a tty,
1535 the progress meter is shut off.
1536 - Increased buffer size used for reading.
1537 - Added length checks in the user+passwd parsing.
1538 - Made it grok user+passwd for HTTP fetches. The trick is to base64
1539 encode the user+passwd and send an extra header line. Read chapter 11.1 in
1540 RFC2068 for details. I added it to be used just like the ftp one. To get a
1541 http document from a place that requires user and password, use an URL
1544 http://user:passwd@www.site.to.leach/doc.html
1546 I also added the -u flag, since WHEN USING A PROXY YOU CAN'T SPECIFY THE
1547 USER AND PASSWORD WITH HTTP LIKE THAT. The -u flag works for ftp too, but
1548 not if used with proxy. To do the same as the above one, you can invoke:
1550 urlget -u user:passwd http://www.site.to.leach/doc.html
1554 - Added "-o" option (output file)
1555 - Added URG_HTTP_NOT_FOUND return code.
1557 Perhaps we should detect all kinds of errors and instead of writing that
1558 custom string for the particular 404-error, use the error text we actually
1559 get from the server. See further details in RFC2068 (HTTP 1.1
1560 definition). The current way also relies on a HTTP/1.0 reply, which newer
1561 servers might not do.
1562 - Looping mode ("-l" option). It's easier to get various split files.
1564 Use it like 'urlget -l 1 http://from.this.site/file%d.html', which will
1565 make urlget to attempt to fetch all files named file1.html, file2.html etc
1566 until no more files are found. This is only a modification of the
1567 STAND_ALONE part, nothing in the urlget() function was modfified for this.
1569 - Changed the -h to be -i instead. -h should be preserved to help use.
1570 - Bjorn Reese indicated that Borland _might_ use '_WIN32' instead of the
1571 VC++ WIN32 define and therefore I added a little fix for that.
1575 - The urlget function didn't set the path to url when using proxy.
1576 - Fixed bug with IMC proxy. Now using (almost) complete GET command.
1579 - Made it compile on Solaris. Had to reorganize the includes a bit.
1580 (so Win32, Linux, SunOS 4 and Solaris 2 compile fine.)
1581 - Made Johan's keepalive keyword optional with the -k flag (since it
1582 makes a lot of urlgets take a lot longer time).
1583 - Made a '-h' switch in case you want the HTTP-header in the output.
1586 Daniel Stenberg and Kjell Ericson
1588 - No more global variables
1589 - Mute option (no output at all to stderr)
1590 - Full range of return codes from urlget(), which is now written to be a
1591 function for easy-to-use in [other] programs.
1592 - Define STAND_ALONE to compile the stand alone urlget program
1593 - Now compiles with gcc options -ansi -Wall -pedantic ;)
1596 - Introducing ftp GET support. The FTP URL type is recognized and used.
1597 - Renamed the project to 'urlget'.
1598 - Supports the user+passwd in the FTP URL (otherwise it tries anonymous
1599 login with a weird email address as password).
1603 - The skip_header() crap messed it up big-time. By simply removing that
1604 one we can all of a sudden download anything ;)
1605 - No longer requires a trailing slash on the URLs.
1606 - If the given URL isn't prefixed with 'http://', HTTP is assumed and
1608 - 'void main()' is history.
1612 - The gopher source used the ppath variable instead of path which could
1617 - Well, I added a lame text about the time it took to get the data. I also
1618 fought against Johan to prevent his -f option (to specify a file name
1619 that should be written instead of stdout)! =)
1620 - Made it write 'connection refused' for that particular connect()
1622 - Renumbered the version. Let's not make silly 1.0.X versions, this is
1623 a plain 1.3 instead.
1627 - Discovered and fixed the problem with getting binary files. puts() is
1628 now replaced with fwrite(). (Daniel's note: this also fixed the buffer
1629 overwrite problem I found in the previous version.)
1631 Rafael Sagula <sagula@inf.ufrgs.br>
1632 - Let "-p" before "-x".
1634 Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
1635 - Bugfixed the proxy usage. It should *NOT* use nor strip the port number
1636 from the URL but simply pass that information to the proxy. This also
1637 made the user/password fields possible to use in proxy [ftp-] URLs.
1638 (like in ftp://user:password@ftp.my.site:8021/README)
1640 Johan Andersson <johan@homemail.com>
1641 - Implemented HTTP proxy support.
1642 - Receive byte counter added.
1644 Bjorn Reese <breese@imada.ou.dk>
1645 - Implemented URLs (and skipped the old syntax).
1646 - Output is written to stdout, so to achieve the above example, do:
1647 httpget http://143.54.10.6/info_logo.gif > test.gif
1650 Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
1651 - Adjusted it slightly to accept named hosts on the command line. We
1652 wouldn't wanna use IP numbers for the rest of our lifes, would we?
1655 Rafael Sagula <sagula@inf.ufrgs.br>
1656 - Wrote the initial httpget, which started all this!