1 Daniel (28 December 1999):
2 - Tim Verhoeven correctly identified that curl
3 doesn't support URL formatted file names when getting ftp. Now, there's a
4 problem with getting very weird file names off FTP servers. RFC 959 defines
5 that the file name syntax to use should be the same as in the native OS of
6 the server. Since we don't know the peer server system we currently just
7 translate the URL syntax into plain letters. It is still better and with
8 the solaris 2.6-supplied ftp server it works with spaces in the file names.
10 Daniel (27 December 1999):
11 - When curl parsed cookies straight off a remote site, it corrupted the input
12 data, which, if the downloaded headers were stored made very odd characters
13 in the saved data. Correctly identified and reported by Paul Harrington.
15 Daniel (13 December 1999):
16 - General cleanups in the library interface. There had been some bad kludges
17 added during times of stress and I did my best to clean them off. It was
18 both regarding the lib API as well as include file confusions.
20 Daniel (3 December 1999):
21 - A small --stderr bug was reported by Eetu Ojanen...
23 - who also brought the suggestion of extending the -X flag to ftp list as
24 well. So, now it is and the long option is now --request instead. It is
25 only for ftp list for now (and the former http stuff too of course).
27 Lars J. Aas (24 November 1999):
28 - Patched curl to compile and build under BeOS. Doesn't work yet though!
30 - Corrected the Makefile.am files to allow putting object files in
31 different directories than the sources.
35 Daniel (23 November 1999):
36 - I've had this major disk crash. My good old trust-worthy source disk died
37 along with the machine that hosted it. Thank goodness most of all the
38 things I've done are either backed up elsewhere or stored in this CVS
41 - Michael S. Steuer pointed out a bug in the -F handling
42 that made curl hang if you posted an empty variable such as '-F name='. It
43 was one of those old bugs that never have worked properly...
45 - Jason Baietto pointed out a general flaw in the HTTP
46 download. Curl didn't complain if it was prematurely aborted before the
47 entire download was completed. It does now.
49 Daniel (19 November 1999):
50 - Chris Maltby very accurately criticized the lack of
51 return code checks on the fwrite() calls. I did a thorough check for all
52 occurrences and corrected this.
54 Daniel (17 November 1999):
55 - Paul Harrington pointed out that the -m/--max-time option
56 doesn't work for the slow system calls like gethostbyname()... I don't have
57 any good fix yet, just a slightly less bad one that makes curl exit hard
58 when the timeout is reached.
60 - Bjorn Reese helped me point out a possible problem that might be the reason
61 why Thomas Hurst experience problems in his Amiga version.
63 Daniel (12 November 1999):
64 - I found a crash in the new cookie file parser. It crashed when you gave
65 a plain http header file as input...
69 Daniel (10 November 1999):
70 - I kind of found out that the HTTP time-conditional GETs (-z) aren't always
71 respected by the web server and the document is therefore sent in whole
72 again, even though it doesn't match the requested condition. After reading
73 section 13.3.4 of RFC 2616, I think I'm doing the right thing now when I do
74 my own check as well. If curl thinks the condition isn't met, the transfer
75 is aborted prematurely (after all the headers have been received).
77 - After comments from Robert Linden I also rewrote some parts of the man page
78 to better describe how the -F works.
80 - Michael Anti put up a new curl download mirror in
81 China: http://www.pshowing.com/curl/
83 - I added the list of download mirrors to the README file
85 - I did add more explanations to the man page
87 Daniel (8 November 1999):
88 - I made the -b/--cookie option capable of reading netscape formatted cookie
89 files as well as normal http-header files. It should be able to
90 transparently figure out what kind of file it got as input.
92 Daniel (29 October 1999):
93 - Another one of Sebastiaan van Erk's ideas (that has been requested before
94 but I seem to have forgotten who it was), is to add support for ranges in
95 FTP downloads. As usual, one request is just a request, when they're two
96 it is a demand. I've added simple support for X-Y style fetches. X has to
97 be the lower number, though you may omit one of the numbers. Use the -r/
98 --range switch (previously HTTP-only).
100 - Sebastiaan van Erk suggested that curl should be
101 able to show the file size of a specified file. I think this is a splendid
102 idea and the -I flag is now working for FTP. It displays the file size in
105 As it resembles normal headers, and leaves us the opportunity to add more
106 info in that display if we can come up with more in the future! It also
107 makes sense since if you access ftp through a HTTP proxy, you'd get the
108 file size the same way.
110 I changed the order of the QUOTE command executions. They're now executed
111 just after the login and before any other command. I made this to enable
112 quote commands to run before the -I stuff is done too.
114 - I found out that -D/--dump-header and -V/--version weren't documented in
117 - Many HTTP/1.1 servers do not support ranges. Don't ask me why. I did add
118 some text about this in the man page for the range option. The thread in
119 the mailing list that started this was initiated by Michael Anti.
121 - I get reports about nroff crashes on solaris 2.6+ when displaying the curl
122 man page. Switch to gnroff instead, it is reported to work(!). Adam Barclay
123 reported and brought the suggestion.
125 - In a dialogue with Johannes G. Kristinsson we came
126 up with the idea to let -H/--header specified headers replace the
127 internally generated headers, if you happened to select to add a header
128 that curl normally uses by itself. The advantage with this is not entirely
129 obvious, but in Johannes' case it means that he can use another Host: than
130 the one curl would set.
132 Daniel (27 October 1999):
133 - Jongki Suwandi brought a nice patch for (yet another) crash when following
134 a location:. This time you had to follow a https:// server's redirect to
139 Daniel (21 October 1999):
140 - I think I managed to remove the suspicious (nil) that has been seen just
141 before the "Host:" in HTTP requests when -v was used.
142 - I found out that if you followed a location: when using a proxy, without
143 having specified http:// in the URL, the protocol part was added once again
144 when moving to the next URL! (The protocol part has to be added to the
145 URL when going through a proxy since it has no protocol-guessing system
147 - Benjamin Ritcey reported a core dump under solaris 2.6
148 with OpenSSL 0.9.4. It turned out this was due to a bad free() in main.c
149 that occurred after the download was done and completed.
150 - Benjamin found ftp downloads to show the first line of the download meter
151 to get written twice, and I removed that problem. It was introduced with
152 the multiple URL support.
153 - Dan Zitter correctly pointed out that curl 6.1 and earlier versions didn't
154 honor RFC 2616 chapter 4 section 2, "Message Headers": "...Field names are
155 case-insensitive..." HTTP header parsing assumed a certain casing. Dan
156 also provided me with a patch that corrected this, which I took the liberty
158 - Dan Zitter also provided a nice patch for config.guess to better recognize
160 - Dan also corrected a minor problem in the lib/Makefile that caused linking
163 Daniel (19 October 1999):
164 - Len Marinaccio came up with some problems with curl. Since Windows has a
165 crippled shell, it can't redirect stderr and that causes trouble. I added
166 --stderr today which allows the user to redirect the stderr stream to a
169 Daniel (18 October 1999):
170 - The configure script now understands the '--without-ssl' flag, which now
171 totally disable SSL/https support. Previously it wasn't possible to force
172 the configure script to leave SSL alone. The previous functionality has
173 been retained. Troy Engel helped test this new one.
177 Daniel (17 October 1999):
178 - I ifdef'ed or commented all the zlib stuff in the sources and configure
179 script. It turned out we needed to mock more with zlib than I initially
180 thought, to make it capable of downloading compressed HTTP documents and
181 uncompress them on the fly. I didn't mean the zlib parts of curl to become
182 more than minor so this means I halt the zlib expedition for now and wait
183 until someone either writes the code or zlib gets updated and better
184 adjusted for this kind of usage. I won't get into details here, but a
185 short a summary is suitable:
186 - zlib can't automatically detect whether to use zlib or gzip
187 decompression methods.
188 - zlib is very neat for reading gzipped files from a file descriptor,
189 although not as nice for reading buffer-based data such as we would
191 - there are still some problems with the win32 version when reading from
192 a file descriptor if that is a socket
194 Daniel (14 October 1999):
195 - Moved the (external) include files for libcurl into a subdirectory named
196 curl and adjusted all #include lines to use <curl/XXXX> to maintain a
197 better name space and control of the headers. This has been requested.
199 Daniel (12 October 1999):
200 - I modified the 'maketgz' script to perform a 'make' too before a release
201 archive is put together in an attempt to make the time stamps better and
202 hopefully avoid the double configure-running that use to occur.
204 Daniel (11 October 1999):
205 - Applied Jörn's patches that fixes zlib for mingw32 compiles as well as
206 some other missing zlib #ifdef and more text on the multiple URL docs in
211 Daniel (6 October 1999):
212 - Douglas E. Wegscheid sent me a patch that made the exact same thing as I
213 just made: the -d switch is now capable of reading post data from a named
214 file or stdin. Use it similarly to the -F. To read the post data from a
217 curl -d @path/to/filename www.postsite.com
219 or let curl read it out from stdin:
221 curl -d @- www.postit.com
223 Jörn Hartroth (3 October 1999):
224 - Brought some more patches for multiple URL functionality. The MIME
225 separation ideas are almost scrapped now, and a custom separator is being
226 used instead. This is still compile-time "flagged".
229 - Updated curl.1 with multiple URL info.
231 Daniel (30 September 1999):
232 - Felix von Leitner brought openssl-check fixes for configure.in to work
233 out-of-the-box when the openssl files are installed in the system default
236 Daniel (28 September 1999)
237 - Added libz functionality. This should enable decompressing gzip, compress
238 or deflate encoding HTTP documents. It also makes curl send an accept that
239 it accepts that kind of encoding. Compressed contents usually shortens
240 download time. I *need* someone to tell me a site that uses compressed HTTP
241 documents so that I can test this out properly.
243 - As a result of the adding of zlib awareness, I changed the version string
244 a little. I plan to add openldap version reporting in there too.
246 Daniel (17 September 1999)
247 - Made the -F option allow stdin when specifying files. By using '-' instead
248 of file name, the data will be read from stdin.
252 Daniel (13 September 1999)
253 - Added -X/--http-request <request> to enable any HTTP command to be sent.
254 Do not that your server has to support the exact string you enter. This
255 should possibly a string like DELETE or TRACE.
257 - Applied Douglas' mingw32-fixes for the makefiles.
259 Daniel (10 September 1999)
260 - Douglas E. Wegscheid pointed out a problem. Curl didn't check the FTP
261 servers return code properly after the --quote commands were issued. It
262 took anything non 200 as an error, when all 2XX codes should be accepted as
265 - Sending cookies to the same site in multiple lines like curl used to do
266 turned out to be bad and breaking the cookie specs. Curl now sends all
267 cookies on a single Cookie: line. Curl is not yet RFC 2109 compliant, but I
268 doubt that many servers do use that syntax (yet).
270 Daniel (8 September 1999)
271 - Jörn helped me make sure it still compiles nicely with mingw32 under win32.
273 Daniel (7 September 1999)
274 - FTP upload through proxy is now turned into a HTTP PUT. Requested by
277 - Added the ldap files to the .m32 makefile.
279 Daniel (3 September 1999)
280 - Made cookie matching work while using HTTP proxy.
282 Bjorn Reese (31 August 1999)
283 - Passed his ldap:// patch. Note that this requires the openldap shared
284 library to be installed and that LD_LIBRARY_PATH points to the
285 directory where the lib will be found when curl is run with a
288 Jörn Hartroth (31 August 1999)
289 - Made the Mingw32 makefiles into single files.
290 - Made file:// work for Win32. The same code is now used for unix as well for
293 Douglas E. Wegscheid (30 August 1999)
294 - Patched the Mingw32 makefiles for SSL builds.
296 Matthew Clarke (30 August 1999)
297 - Made a cool patch for configure.in to allow --with-ssl to specify the
298 root dir of the openssl installation, as in
300 ./configure --with-ssl=/usr/ssl_here
302 - Corrected the 'reconf' script to work better with some shells.
304 Jörn Hartroth (26 August 1999)
305 - Fixed the Mingw32 makefiles in lib/ and corrected the file.c for win32
310 Daniel (25 August 1999)
311 - John Weismiller pointed out a bug in the header-line
312 realloc() system in download.c.
314 - I added lib/file.[ch] to offer a first, simple, file:// support. It
315 probably won't do much good on win32 system at this point, but I see it
318 - Made the release archives get a Makefile in the root dir, which can be
319 used to start the compiling/building process easier. I haven't really
320 changed any INSTALL text yet, I wanted to get some feed-back on this
323 Daniel (17 August 1999)
324 - Another Location: bug. Curl didn't do proper relative locations if the
325 original URL had cgi-parameters that contained a slash. Nusu's page
328 - Corrected the NO_PROXY usage. It is a list of substrings that if one of
329 them matches the tail of the host name it should connect to, curl should
330 not use a proxy to connect there. Pointed out to me by Douglas
331 E. Wegscheid. I also changed the README text a little regarding this.
333 Daniel (16 August 1999)
334 - Fixed a memory bug with http-servers that sent Location: to a Location:
335 page. Nusu's page showed this too.
337 - Made cookies work a lot better. Setting the same cookie name several times
338 used to add more cookies instead of replacing the former one which it
339 should've. Nusu <nus at intergorj.ro> brought me an URL that made this
342 Troy (15 August 1999)
343 - Brought new .spec files as well as a patch for configure.in that lets the
344 configure script find the openssl files better, even when the include
345 files are in /usr/include/openssl
349 Daniel (13 August 1999)
350 - SSL_CTX_set_default_passwd_cb() has been modified in the 0.9.4 version of
351 OpenSSL. Now why couldn't they simply add a *new* function instead of
352 modifying the parameters of an already existing function? This way, we get
353 a compiler warning if compiling with 0.9.4 but not with earlier. So, I had
354 to come up with a #if construction that deals with this...
356 - Made curl output the SSL version number get displayed properly with 0.9.4.
358 Troy (12 August 1999)
359 - Added MingW32 (GCC-2.95) support under Win32. The INSTALL file was also
362 Daniel (12 August 1999)
363 - I had to copy a good <arpa/telnet.h> include file into the curl source
364 tree to enable the silly win32 systems to compile. The distribution rights
365 allows us to do that as long as the file remains unmodified.
367 - I corrected a few minor things that made the compiler complain when
368 -Wall -pedantic was used.
370 - I'm moving the official curl web page to http://curl.haxx.nu. I think it
371 will make it easier to remember as it is a lot shorter and less cryptic.
372 The old one still works and shows the same info.
374 Daniel (11 August 1999)
375 - Albert Chin-A-Young mailed me another correction for NROFF in the
376 configure.in that is supposed to be better for IRIX users.
378 Daniel (10 August 1999)
379 - Albert Chin-A-Young helped me with some stupid Makefile things, as well as
380 some fiddling with the getdate.c stuff that he had problems with under
381 HP-UX v10. getdate.y will now be compiled into getdate.c if the appropriate
382 yacc or bison is found by the configure script. Since this is slightly new,
383 we need to test the output getdate.c with win32 systems to make sure it
384 still compiles there.
386 Daniel (5 August 1999)
387 - I've just setup a new mailing list with the intention to keep discussions
388 around libcurl development in it. I mainly expect it to be for thoughts and
389 brainstorming around a "next generation" library, rather than nitpicking
390 about the current implementation or details in the current libcurl.
392 To join our happy bunch of future-looking geeks, enter 'subscribe
393 <address>' in the body of a mail and send it to
394 libcurl-request@listserv.fts.frontec.se. Curl bug reports, the usual curl
395 talk and everything else should still be kept in this mailing list. I've
396 started to archive this mailing list and have put the libcurl web page at
397 www.fts.frontec.se/~dast/libcurl/.
399 - Stefan Kanthak contacted me regarding a few problems in the configure
400 script which he discovered when trying to make curl compile and build under
401 Siemens SINIX-Z V5.42B2004!
403 - Marcus Klein very accurately informed me that src/version.h was not present
404 in the CVS repository. Oh, how silly...
406 - Linus Nielsen rewrote the telnet:// part and now curl offers limited telnet
407 support. If you run curl like 'curl telnet://host' you'll get all output on
408 the screen and curl will read input from stdin. You'll be able to login and
409 run commands etc, but since the output is buffered, expect to get a little
412 This is still in its infancy and it might get changed. We need your
413 feed-back and input in how this is best done.
415 WIN32 NOTE: I bet we'll get problems when trying to compile the current
416 lib/telnet.c on win32, but I think we can sort them out in time.
418 - David Sanderson reported that FORCE_ALLOCA_H or HAVE_ALLOCA_H must be
419 defined for getdate.c to compile properly on HP-UX 11.0. I updated the
420 configure script to check for alloca.h which should make it.
422 Daniel (4 August 1999)
423 - I finally got to understand Marcus Klein's ftp download resume problem,
424 which turns out to be due to different outputs from different ftp
425 servers. It makes ftp download resuming a little trickier, but I've made
426 some modifications I really believe will work for most ftp servers and I do
427 hope you report if you have problems with this!
429 - Added text about file transfer resuming to README.curl.
431 Daniel (2 August 1999)
432 - Applied a progress-bar patch from Lars J. Aas. It offers
433 a new styled progress bar enabled with -#/--progress-bar.
435 T. Yamada <tai at imasy.or.jp> (30 July 1999)
436 - It breaks with segfault when 1) curl is using .netrc to obtain
437 username/password (option '-n'), and 2) is automatically redirected to
438 another location (option '-L').
440 There is a small bug in lib/url.c (block starting from line 641), which
441 tries to take out username/password from user- supplied command-line
442 argument ('-u' option). This block is never executed on first attempt since
443 CONF_USERPWD bit isn't set at first, but curl later turns it on when it
444 checks for CONF_NETRC bit. So when curl tries to redo everything due to
445 redirection, it segfaults trying to access *data->userpwd.
449 Daniel (30 July 1999)
450 - Steve Walch pointed out that there is a memory leak in the formdata
451 functions. I added a FormFree() function that is now used and supposed to
454 - Mark Wotton reported:
455 'curl -L https://www.cwa.com.au/' core dumps. I managed to cure this by
456 correcting the cleanup procedure. The bug seems to be gone with my OpenSSL
457 0.9.2b, although still occurs when I run the ~100 years old SSLeay 0.8.0. I
458 don't know whether it is curl or SSLeay that is to blame for that.
461 Reported an FTP upload resume bug that I really can't repeat nor understand.
462 I leave it here so that it won't be forgotten.
464 Daniel (29 July 1999)
465 - Costya Shulyupin suggested support for longer URLs when following Location:
466 and I could only agree and fix it!
468 - Leigh Purdie found a problem in the upload/POST department. It turned out
469 that http.c accidentaly cleared the pointer instead of the byte counter
472 - Costya Shulyupin pointed out a problem with port numbers and Location:. If
473 you had a server at a non-standard port that redirected to an URL using a
474 standard port number, curl still used that first port number.
476 - Ralph Beckmann pointed out a problem when using both CONF_FOLLOWLOCATION
477 and CONF_FAILONERROR simultaneously. Since the CONF_FAILONERROR exits on
478 the 302-code that the follow location header outputs it will never show any
479 html on location: pages. I have now made it look for >=400 codes if
480 CONF_FOLLOWLOCATION is set.
482 - 'struct slist' is now renamed to 'struct curl_slist' (as suggested by Ralph
485 - Joshua Swink and Rick Welykochy were the first to point out to me that the
486 latest OpenSSL package now have moved the standard include path. It is now
487 in /usr/local/ssl/include/openssl and I have now modified the --enable-ssl
488 option for the configure script to use that as the primary path, and I
489 leave the former path too to work with older packages of OpenSSL too.
492 - I finally understood the IRIX problem and now it seem to compile on it!
493 I am gonna remove those #define strcasecmp() things once and for all now.
496 - I adjusted the FTP reply 227 parser to make the PASV command work better
497 with more ftp servers. Appearantly the Roxen Challanger server replied
498 something curl 5.9 could deal with! :-( Reported by Ashley Reid-Montanaro
499 and Mark Butler brought a solution for it.
502 - Rearranged. README is new, the old one is now README.curl and I added a
503 README.libcurl with text I got from Ralph Beckmann.
505 - I also updated the INSTALL text.
508 - David Jonathan Lowsky correctly pointed out that curl didn't properly deal
509 with form posting where the variable shouldn't have any content, as in curl
510 -F "form=" www.site.com. It was now fixed.
515 - I've got a bug report from Aaron Scarisbrick in which he states he has some
516 problems with -L under FreeBSD 3.0. I have previously got another bug
517 report from Stefan Grether which points at an error with similar sympthoms
518 when using win32. I made the allocation of the new url string a bit faster
519 and different, don't know if it actually improves anything though...
522 - Made the cookie parser deal with CRLF newlines too.
525 - Download() didn't properly deal with failing return codes from the sread()
526 function. Adam Coyne found the problem in the win32 version, and Troy Engel
527 helped me out isolating it.
530 - Richard Adams pointed out a bug I introduced in 5.8. --dump-header doesn't
531 work anymore! :-/ I fixed it now.
533 - After a suggestion by Joshua Swink I added -S / --show-error to force curl
534 to display the error message in case of an error, even if -s/--silent was
538 - I moved the stuff concerning HTTP, DICT and TELNET it their own source
539 files now. It is a beginning on my clean-up of the sources to make them
540 layer all those protocols better to enable more to be added easier in the
543 - Leon Breedt sent me some files I've not put into the main curl
544 archive. They're for creating the Debian package thingie. He also sent me a
545 debian package that I've made available for download at the web page
548 - Made it compile on cygwin too.
550 Troy Engel (7 May 1999)
551 - Brought a series of patches to allow curl to compile smoothly on MSVC++ 6
555 - I changed the #ifdef HAVE_STRFTIME placement for the -z code so that it
556 will be easier to discover systems that don't have that function and thus
557 can't use -z successfully. Made the strftime() get used if WIN32 is defined
563 - I've had it with this autoconf/automake mess. It seems to work allright
564 for most people who don't have automake installed, but for those who have
565 there are problems all over.
567 I've got like five different bug reports on this only the last
568 week... Claudio Neves and Federico Bianchi and root <duggerj001 at
569 hawaii.rr.com> are some of them reporting this.
571 Currently, I have no really good fix since I want to use automake myself to
572 generate the Makefile.in files. I've found out that the @SHELL@-problems
573 can often be fixed by manually invoking 'automake' in the archive root
574 before you run ./configure... I've hacked my maketgz script now to fiddle
575 a bit with this and my tests seem to work better than before at least!
578 - mkhelp.pl has been doing badly lately. I corrected a case problem in
581 - I've now remade the -o option to not touch the file unless it needs to.
582 I had to do this to make -z option really fine, since now you can make a
583 curl fetch and use a local copy's time when downloading to that file, as
586 curl -z dump -o dump remote.site.com/file.html
588 This will only get the file if the remote one is newer than the local.
589 I'm aware that this alters previous behaviour a little. Some scripts out
590 there may depend on that the file is always touched...
592 - Corrected a bug in the SSLv2/v3 selection.
594 - Felix von Leitner requested that curl should be able to send
595 "If-Modified-Since" headers, which indeed is a fair idea. I implemented it
596 right away! Try -z <expression> where expression is a full GNU date
597 expression or a file name to get the date from!
599 Stephan Lagerholm (30 Apr 1999)
600 - Pointed out a problem with the src/Makefile for FreeBSD. The RM variable
601 isn't set and causes the make to fail.
603 Daniel (26 April 1999)
604 - Am I silly or what? Irving Wolfe pointed out to me that the curl version
605 number was not set properly. Hasn't been since 5.6. This was due to a bug
606 in my maketgz script!
608 David Eriksson (25 Apr 1999)
609 - Found a bug in cookies.c that made it crash at times.
613 Doug Kaufman (23 Apr 1999)
614 - Brought two sunos 4 fixes. One of them being the hostip.c fix mentioned
615 below and the other one a correction in include/stdcheaders.h
617 - Added a paragraph about compiling with the US-version of openssl to the
621 - New mailing list address. Info updated on the web page as well as in the
624 Greg Onufer (20 Apr 1999)
625 - hostip.c didn't compile properly on SunOS 5.5.1.
626 It needs an #include <sys/types.h>
631 - Decided to upload a non-beta version right now!
633 - Made curl support any-length HTTP headers. The destination buffer is now
634 simply enlarged every time it turns out to be too small!
636 - Added the FAQ file to the archive. Still a bit smallish, but it is a
639 Eric Thelin (15 Apr 1999)
640 - Made -D accept '-' instead of filename to write to stdout.
646 - Changed two #ifdef WIN32 to better #ifdef <errorcode> when connect()ing
647 in url.c and ftp.c. Makes cygwin32 deal with them better too. We should
648 try to get some decent win32-replacement there. Anyone?
650 - The old -3/--crlf option is now ONLY --crlf!
652 - I changed the "SSL fix" to a more lame one, but that doesn't remove as
653 much functionality. Now I've enabled the lib to select what SSL version it
654 should try first. Appearantly some older SSL-servers don't like when you
655 talk v3 with them so you need to be able to force curl to talk v2 from the
656 start. The fix dated April 6 and posted on the mailing list forced curl to
657 use v2 at all times using a modern OpenSSL version, but we don't really
658 want such a crippled solution.
660 - Marc Boucher sent me a patch that corrected a math error for the
661 "Curr.Speed" progress meter.
663 - Eric Thelin sent me a patch that enables '-K -' to read a config file from
666 - I found out we didn't close the file properly before so I added it!
669 - Yu Xin pointed out a problem with ftp download resume. It didn't work at
673 - Corrected the version string part generated for the SSL version.
675 - I found a way to make some other SSL page work with openssl 0.9.1+ that
676 previously didn't (ssleay 0.8.0 works with it though!). Trying to get
677 some real info from the OpenSSL guys to see how I should do to behave the
678 best way. SSLeay 0.8.0 shouldn't be that much in use anyway these days!
683 - Finally have curl more cookie "aware". Now read carefully. This is how
685 To make curl read cookies from an already existing file, in plain header-
686 format (like from the headers of a previous fetch) invoke curl with the
689 curl -b file http://site/foo.html
691 Curl will then use all cookies it finds matching. The old style that sets
692 a single cookie with -b is still supported and is used if the string
693 following -b includes a '=' letter, as in "-b name=daniel".
695 To make curl read the cookies sent in combination with a location: (which
696 sites often do) point curl to read a non-existing file at first (i.e
697 to start with no existing cookies), like:
699 curl -b nowhere http://site/setcookieandrelocate.html
701 - Added a paragraph in the TODO file about the SSL problems recently
702 reported. Evidently, some kind of SSL-problem curl may need to address.
704 - Better "Location:" following.
706 Douglas E. Wegscheid (Tue, 30 Mar 1999)
707 - A subsecond display patch.
710 - I've separated the version number of libcurl and curl now. To make
711 things a little easier, I decided to start the curl numbering from
712 5.6 and the former version number known as "curl" is now the one
715 - Removed the 'enable-no-pass' from configure, I doubt anyone wanted
718 - Made lots of tiny adjustments to compile smoothly with cygwin under
719 win32. It's a killer for porting this to win32, bye bye VC++! ;-)
720 Compiles and builds out-of-the-box now. See the new wordings in
723 - Beginning experiments with downloading multiple document from a http
724 server while remaining connected.
729 - Since I've changed so much, I thought I'd just go ahead and implement the
730 suggestion from Douglas E. Wegscheid. -D or --dump-header is now storing
731 HTTP headers separately in the specified file.
733 - Added new text to INSTALL on what to do to build this on win32 now.
735 - Aaargh. I had to take a step back and prefix the shared #include files
736 in the sources with "../include/" to please VC++...
739 - Split the url.c source into many tiny sources for better readability
743 - Started to change stuff for a move to make libcurl and a more separate
744 curl application that uses the libcurl. Made the libcurl sources into
745 the new lib directory while the curl application will remain in src as
746 before. New makefiles, adjusted configure script and so.
748 libcurl.a built quickly and easily. I better make a better interface to
749 the lib functions though.
751 The new root dir include/ is supposed to contain the public information
752 about the new libcurl. It is a little ugly so far :-)
756 - Todd Kaufmann sent me a good link to Netscape's cookie spec as well as the
757 info that RFC 2109 specifies how to use them. The link is now in the
758 README and the RFC in the RESOURCES.
761 - Finally made configure accept --with-ssl to look for SSL libs and includes
762 in the "standard" place /usr/local/ssl...
765 - Verified that curl linked fine with OpenSSL 0.9.1c which seems to be
768 Henri Gomez (Fri Feb 5 1999)
769 - Sent in an updated curl-ssl.spec. I still miss the script that builds an
774 Mark Butler (27 Jan 1999)
775 - Corrected problems in Download().
777 Danitel Stenberg (25 Jan 1999)
778 - Jeremie Petit pointed out a few flaws in the source that prevented it from
779 compile warning free with the native compiler under Digital Unix v4.0d.
783 Daniel Stenberg (15 Jan 1999)
784 - Added Bjorns small text to the README about the DICT protocol.
786 Daniel Stenberg (11 Jan 1999)
787 - <jswink at softcom.net> reported about the win32-versioin: "Doesn't use
788 ALL_PROXY environment variable". Turned out to be because of the static-
789 buffer nature of the win32 environment variable calls!
791 Bjorn Reese (10 Jan 1999)
792 - I have attached a simple addition for the DICT protocol (RFC 2229).
793 It performs dictionary lookups. The output still needs to be better
796 To test it try (the exact format, and more examples are described in
799 dict://dict.org/m:hello
800 dict://dict.org/m:hello::soundex
803 Vicente Garcia (10 Jan 1999)
804 - Corrected the progress meter for files larger than 20MB.
806 Daniel Stenberg (7 Jan 1999)
807 - Corrected the -t and -T help texts. They claimed to be FTP only.
813 - Irving Wolfe reported that curl -s didn't always supress the progress
814 reporting. It was the form post that autoamtically always switched it on
815 again. This is now corrected!
818 - Andreas Kostyrka suggested I'd add PUT and he helped me out to test it. If
819 you use -t or -T now on a http or https server, PUT will be used for file
822 I removed the former use of -T with HTTP. I doubt anyone ever really used
826 - Erik Jacobsen found a width bug in the mprintf() function. I corrected it
830 - As John V. Chow pointed out to me, curl accepted very limited URL sizes. It
831 should now accept path parts that are up to at least 4096 bytes.
833 - Somehow I screwed up when applying the AIX fix from Gilbert Ramirez, so
836 Version 5.3a (win32 only)
839 - Corrected a win32 bug in the environment variable part.
843 Gilbert Ramirez Jr. (21 Dec 1998)
844 - I have implemented the "quote" function of FTP clients. It allows you to
845 send arbitrary commands to the remote FTP server. I chose the -Q/--quote
846 command-line arguments.
848 You can have more than one quoted string, and curl will apply them in
849 order. This is what I use for my MVS upload:
851 curl -B --crlf -Q "site lrecl=80" -Q "site blk=8000" -T file ftp://os390/test
853 Curl will send the two quoted "site" commands in the proper order.
855 - Made it compile smoothly on AIX.
857 Gilbert Ramirez Jr. (18 Dec 1998)
858 - Brought an MVS patch: -3/--mvs, for ftp upload to the MVS ftp server.
860 Troy Engel (17 Dec 1998)
861 - Brought a correction that fixes the win32 curl bug.
864 - A bug, pointed out to me by Dr H. T. Leung, caused curl to crash on the -A
865 flag on certain systems. Actually, all systems should've!
867 - Added a few defines to make directories/file names get build nicer (with _
868 instead of . and \ instead of / in win32).
870 - steve <fisk at polar.bowdoin.edu> reported a weird bug that occured if the
871 ftp server response line had a parenthesis on the line before the (size)
872 info. I hope it works better now!
876 Steven G. Johnson (Dec 14, 1998)
877 - Brought a fix that corrected a crash in 5.2 due to bad treatment of the
878 environment variables.
882 Daniel Stenberg (Dec 14, 1998)
883 - Rewrote the mkhelp script and now, the mkhelp.pl script generates the
884 hugehelp.c file from the README *and* the man page file curl.1. By using
885 both files, I no longer need to have double information in both the man
886 page and the README as well. So, win32-users will only have the hugehelp.c
887 file for all info, but then, they download the plain binary most times
890 - gcc2.8.1 with the -Wall flag complaints a lot on subscript has type `char'
891 if I don't explicitly typecast the argument to isdigit() or isspace() to
892 int. So I did to compile warning free with that too.
894 - Added checks for 'long double' and 'long long' in the configure script. I
895 need those for the mprintf.c source to compile well on non long long
898 Version 5.1 (not publicly released)
900 Daniel Stenberg (Dec 10, 1998)
901 - I got a request for a pre-compiled NT Alpha version. Anyone?
903 - Added Lynx/CERN www lib proxy environment variable support. That means curl
904 now reads and understands the following environment variables:
906 HTTP_PROXY, HTTPS_PROXY, FTP_PROXY, GOPHER_PROXY
908 They should be set for protocol-specific proxies. General proxy should be
913 And a comma-separated list of host names that shouldn't go through any
914 proxy is set in (only an asterisk, '*' matches all hosts).
918 The usage of the -x/--proxy flag overrides the environment variables.
920 - Proxy can now be specified with a procotol:// prefix.
922 - Wrote the curl.1 man page.
924 - Introduced a whole new dynamic buffer system for all sprintf()s. It is
925 based on the *printf() package by yours truly and Bjorn Reese. Hopefully,
926 there aren't that many buffer overflow risks left now.
928 - Ah, I should mention I've compiled and built curl successfully under
929 solaris 2.6 with gcc now, gcc 2.7.2 won't work but 2.8.1 did ok.
931 Oren Tirosh (Dec 3, 1998)
932 - Brought two .spec files, to use when creating (Linux) Redhat style RPM
933 packages. They're named curl.spec and curl-ssl.spec.
936 - Supplied the src/Makefile.vc6 for easy compiling with VC++ under Win32.
940 Daniel Stenberg (Dec 1, 1998)
941 - Not a single bug report in ages.
942 - Corrected getpass.c and main.c to compile warning and error free with the
947 Daniel Stenberg (Nov 20, 1998)
949 HOW TO BUILD A RELEASE ARCHIVE:
951 * Pre-requisite software:
952 What To build what Reads data from
953 ==== ============= ===============
954 GNU automake Makefile.in, aclocal.m4 configure.in
957 GNU autoconf configure configure.in
958 GNU autoheader(2) config.h.in configure.in, acconfig.h
960 * Make sure all files that should be part of the archive are put in FILES.
962 * Run './maketgz' and enter version number of the new to become archive.
966 - Enters the newly created version number in url.h.
967 - (If you don't have automake, this script will warn about that, but unless
968 you have changed the Makefile.am files, that is nothing to care about.)
969 If you have it, it'll run it.
970 - If you have autoconf, the configure.in will be edited to get the newly
971 created version number and autoconf will be run.
972 - Creates a new directory named curl-<version>. (Actually, it uses the base
973 name of the current directory up to the first '-'.)
974 - Copies all files mentioned in FILES to the new directory. Saving
975 permissions and directory structure.
976 - Uses tar to create an archive of it all, named curl-<version>.tar.gz
978 - Removes the new directory and all its contents.
980 * When done, you have an archive stored in your directory named
981 curl-<version>.tar.gz.
985 (1) They're required to make automake run properly.
986 (2) It is distributed as a part of the GNU autoconf archive.
988 Daniel Stenberg (Nov 18, 1998)
989 - I changed the TAG-system. If you ever used urlget() from this package in
990 another product, you need to recompile with the new headers. I did this
991 new stuff to better deal with different compilers and system with different
992 variable sizes. I think it makes it a little more portable. This proves
993 to compile warning free with the problematic IRIX compiler!
994 - Win32 compiled with a silly error. Corrected now.
995 - Brian Chaplin reported yet another problem in
996 multiline FTP responses. I've tried to correct it. I mailed him a new
997 version and I hope he gets back soon with positive feedback!
998 - Improved the 'maketgz' to create a temporary directory tree which it makes
999 an archive from instead of the previous renaming of the current one.
1000 - Mailing list opened (see README).
1001 - Made -v more verbose on the PASV section of ftp transfers. Now it tells
1002 host name and IP of the new host (and port number). I also added a section
1003 about PORT vs PASV in the README.
1007 Angus Mackay (Nov 15, 1998)
1008 - Introduced automake stuff.
1010 Daniel Stenberg (Nov 13, 1998)
1011 - Just made a successful GET of a document from an SSL-server using my own
1012 private certificate for authentication! The certificate has to be in PEM
1013 format. You do that the easiest way (although not *that* easy) by
1014 downloading the SSLyeay PKCS#12-patch by Dr Stephen N. Henson from his site
1015 at: http://www.drh-consultancy.demon.co.uk/. Using his tool, you can
1016 convert any modern Netscape or (even) MSIE certificate to PEM-format. Use
1017 it with 'curl -E <certificate:password> https://site.com'. If this isn't a
1018 cool feature, then I don't know what cool features look like! ;-)
1019 - Working slowly on telnet connections. #define TRY_TELNET to try it out.
1020 (curl -u user:passwd "telnet://host.com/cat .login" is one example) I do
1021 have problem to define how it should work. The prime purpose for this must
1022 be to get (8bit clean) files via telnet, and it really isn't that easy to
1023 get files this way. Still having problems with \n being converted to \r\n.
1025 Angus Mackay (Nov 12, 1998)
1026 - Corrected another bug in the long parameter name parser.
1027 - Modified getpass.c (NOTE: see the special licensing in the top of that
1030 Daniel Stenberg (Nov 12, 1998)
1031 - We may have removed the silly warnings from url.c when compiled under IRIX.
1032 Thanks again to Bjorn Reese and Martin Staael.
1033 - Wrote formfind.pl which is a new perl script intended to help you find out
1034 how a FORM submission should be done. This needs a little more work to get
1037 Daniel Stenberg (Nov 11, 1998)
1038 - Made the HTTP header-checker accept white spaces before the HTTP/1.? line.
1039 Appearantly some proxies/sites add such at times (my test proxy did when I
1040 downloaded a gopher page with it)!
1041 - Moved the former -h to -M and made -h show the short help text instead. I
1042 had to enable a forced help text option. Now an even shorter help text will
1043 be presented when an unknown option and similar, is used.
1044 - stdcheaders.h didn't work with IRIX 6.4 native cc compiler. I hope my
1045 changes don't make other versions go nuts instead.
1047 Daniel Stenberg (Nov 10, 1998)
1048 - Added a weird check in the configure script to check for the silly AIX
1049 warnings about my #define strcasecmp() stuff. I do that define to prevent
1050 me and other contributors to accidentaly use that function name instead
1052 - I bugfixed Angus's getpass.c very little.
1053 - Fixed the verbose flag names to getopt-style, i.e 'curl --loc' will be
1054 sufficient instead of --location as "loc" is a unique prefix. Also, anything
1055 after a '--' is treated as an URL. So if you do have a host with a weeeird
1056 name you can do 'curl -- -host.com'.
1057 - Another getopt-adjust; curl now accepts flags after the URL on the command
1058 line. 'curl www.foo.com -O' is perfectly valid.
1059 - Corrected the .curlrc parser so that strtok() is no longer used and I
1060 believe it works better. Even URLs can be specified in it now.
1062 Angus Mackay (Nov 9, 1998)
1063 - Replaced getpass.c with a newly written one, not under GPL license
1064 - Changed OS to a #define in config.h instead of compiler flag
1065 - Makefile now uses -DHAVE_CONFIG_H
1067 Daniel Stenberg (Nov 9, 1998)
1068 - Ok, I expanded the tgz-target to update the version string on each occation
1069 I build a release archive!
1070 - I reacted on Angus Mackay's initiative and remade the parameter parser to
1071 be more getopt compliant. Curl now supports "merged" flags as in
1072 curl -lsv ftp.site.com
1073 Do note that I had to move three short-names of the options. Parameters
1074 that needs an additional string such as -x must be stand-alone or the
1075 last in a merged sequence:
1076 curl -lsx my-proxy ftp.site.com
1077 is ok, but using the flags in a different order like '-lxs' would cause
1078 unexpected results (as the 's' option would be skipped).
1079 - I've changed the headers in all files that are subject to the MozPL
1080 license, as they are supposed to look like when conforming.
1081 - Made the configure script make the config.h. The former config.h is now
1083 - The RESOURCES and TODO files have been added to the archive.
1085 Angus Mackay (Nov 5, 1998)
1086 - Fixed getpass.c and various configure stuff
1088 Daniel Stenberg (Nov 3, 1998)
1089 - Use -H/--header for custom HTTP-headers. Lets you pass on your own
1090 specified headers to the remote server. I wouldn't recommend trying to use
1091 a header with a defined usage according to standards. Use this flag once
1092 for every custom header you want to add.
1093 - Use -B/--ftp-ascii to force ftp to use ASCII mode when transfering files.
1094 - Corrected the 'getlinks.pl' script, I accidentally left my silly proxy
1095 usage in there! Since the introduction of the .curlrc file, it is easier to
1096 write scripts that use curl since proxies and stuff should be in the
1097 .curlrc file anyway.
1098 - Introducing the new -F flag for HTTP POST. It supports multipart/form-data
1099 which means it is gonna be possible to upload files etc through HTTP POST.
1100 Shiraz Kanga asked for the feature and my brother,
1101 Björn Stenberg helped me design the user
1102 interface for this beast. This feature requires quite some docs,
1103 since it has turned out not only quite capable, but also complicated! :-)
1104 - A note here, since I've received mail about it. SSLeay versions prior to
1105 0.8 will *not* work with curl!
1106 - Wil Langford reported a bug that occurred since curl
1107 did not properly use CRLF when issuing ftp commands. I fixed it.
1108 - Rearranged the order config files are read. .curlrc is now *always* read
1109 first and before the command line flags. -K config files then act as
1110 additional config items.
1111 - Use -q AS THE FIRST OPTION specified to prevent .curlrc from being read.
1112 - You can now disable a proxy by using -x "". Useful if the .curlrc file
1113 specifies a proxy and you wanna fetch something without going through
1115 - I'm thinking of dropping the -p support. Its really not useful since ports
1116 could (and should?) be specified as :<port> appended on the host name
1117 instead, both in URLs and to proxy host names.
1118 - Martin Staael reports curl -L bugs under Windows NT
1119 (test with URL http://come.to/scsde). This bug is not present in this
1121 - Added support for the weird FTP URL type= thing. You can download a file
1122 using ASCII transfer by appending ";type=A" to the right of it. Other
1123 available types are type=D for dir-list (NLST) and type=I for binary
1124 transfer. I can't say I've ever seen anyone use this kind of URL though!
1126 - Troy Engel pointed out a bug in my getenv("HOME")
1127 usage for win32 systems. I introduce getenv.c to better cope with
1128 this. Mr Engel helps me with the details around that...
1129 - A little note to myself and others, I should make the win32-binary built
1131 - Ryan Nelson sent me comments about building curl
1132 with SSL under FreeBSD. See the Makefile for details. Using the configure
1133 script, it should work better and automatically now...
1134 - Cleaned up in the port number mess in the source. No longer stores and uses
1135 proxy port number separate from normal port number.
1136 - 'configure' script working. Confirmed compiles on:
1140 SunOS 5.6 no cc (with gcc, it has the "gcc include files" problem)
1141 SunOS 4.1.3 no gcc (without ANSI C headers)
1142 SunOS 4.1.2 no gcc (native compiler failed)
1144 Linux 2.0.32 yes gcc
1145 Linux 2.0.35 no gcc (with glibc)
1146 IRIX 6.2 no gcc (cc compiles generate a few warnings)
1147 IRIX 6.4 no cc (generated warnings though)
1151 - Ooops. The 5beta (and 4.10) under win32 failed if the HOME variable wasn't
1153 - When using a proxy, curl now guesses and uses the protocol part in cases
1155 curl -x proxy:80 www.site.com
1156 Proxies normally go nuts unless http:// is prepended to the host name, so
1157 if curl is used like this, it guesses protocol and appends the protocol
1158 string before passing it to the proxy. It already did this when used
1160 - Better port usage with SSL through proxy now. If you specified a different
1161 https-port when accessing through a proxy, it didn't use that number
1162 correctly. I also rewrote the code that parses the stuff read from the
1163 proxy when you wanna connect through it with SSL.
1164 - Bjorn Reese helped me work around one of the compiler
1165 warnings on IRIX native cc compiles.
1167 Version 4.10 (Oct 26, 1998)
1169 - John A. Bristor suggested a config file switch,
1170 and since I've been having that idea kind of in the background for a long
1171 time I rewrote the parameter parsing function a little and now I introduce
1172 the -K/--config flag. I also made curl *always* (unless -K is used) try to
1173 load the .curlrc file for command line parameters. The syntax for the
1174 config file is the standard command line argument style. Details in 'curl
1176 - I removed the -k option. Keep-alive isn't really anything anyone would
1177 want to enable with curl anyway.
1178 - Martin Staael helped me add the 'irix' target. Now
1179 "make irix" should build curl successfully on non-gcc SGI machines.
1180 - Single switches now toggle behaviours. I.e if you use -v -v the second
1181 will switch off the verbose mode the first one enabled. This is so that
1182 you can disable a default setting a .curlrc file enables etc.
1184 Version 4.9 (Oct 7, 1998)
1186 - Martin Staael suggested curl would support cookies.
1187 I added -b/--cookie to enable free-text cookie data to be passed. There's
1188 also a little blurb about general cookie stuff in the README/help text.
1189 - dmh <dmh at jet.es> suggested HTTP resume capabilities. Although you could
1190 manually get curl to resume HTTP documents, I made the -c resume flag work
1191 for HTTP too (unless -r is used too, which would be very odd anyway).
1192 - Added checklinks.pl to the archive. It is a still experimental perl script
1193 that checks all links of a web page by using curl.
1194 - Rearranged the archive hierarchy a little. Build the executable in the
1195 src/ dir from now on!
1196 - Version 4.9 and hereafter, is no longer released under the GPL license.
1197 I have now updated the LEGAL file etc and now this is released using the
1198 Mozilla Public License to avoid the plague known as "the GPL virus". You
1199 must make the source available if you decide to change and/or redistribute
1200 curl, but if you decide to use curl within something else you do not need
1201 to offer the world the source to that too.
1202 - Curl did not like HTTP servers that sent no headers at all on a GET
1203 request. It is a violation of RFC2068 but appearantly some servers do
1204 that anyway. Thanks to Gordon Beaton for the report!
1205 - -L/--location was added after a suggestion from Martin Staael. This makes
1206 curl ATTEMPT to follow the Location: redirect if one is present in the HTTP
1207 headers. If -i or -I is used with this flag, you will see headers from all
1208 sites the Location: points to. Do note that the first server can point to a
1209 second that points to a third etc. It seems the Location: parameter (said
1210 to be an AbsoluteURI in RFC2068) isn't always absolute.. :-/ Anyway, I've
1211 made curl ATTEMPT to do the best it can to deal with the reality.
1212 - Added getlinks.pl to the archive. getlinks.pl selectively downloads
1213 files that a web page links to.
1217 - As Julian Romero Nieto reported, curl reported wrong version number.
1218 - As Teemu Yli-Elsila pointed out, the win32 version of 4.8 (and probably all
1219 other versions for win32) didn't work with binary files since I'm too used
1220 to the UNIX style fopen() where binary and text don't differ...
1221 - Ralph Beckmann brought me some changes that lets curl compile error and
1222 warning free with -Wall -pedantic with g++. I also took the opportunity to
1223 clean off some unused variables and similar.
1224 - Ralph Beckmann made me aware of a really odd bug now corrected. When curl
1225 read a set of headers from a HTTP server, divided into more than one read
1226 and the first read showed a full line *exactly* (i.e ending with a
1227 newline), curl did not behave well.
1231 - I was too quick to release 4.8.2 with too little testing. One of the
1232 changes is now reverted slightly to the 4.8.1 way since 4.8.2 couldn't
1233 upload files. I still think both problems corrected in 4.8.2 remain
1234 corrected. Reported by Julian Romero Nieto.
1238 - Bernhard Iselborn reported two FTP protocol errors curl did. They're now
1239 corrected. Both appeared when getting files from a MS FTP server! :-)
1243 - Added a last update of the progress meter when the transfer is done. The
1244 final output on the screen didn't have to be the final size transfered
1245 which made it sometimes look odd.
1246 - Thanks to David Long I got rid of a silly bug that happened if a HTTP-page
1247 had nothing but header. Appearantly Solaris deals with negative sizes in
1248 fwrite() calls a lot better than Linux does... =B-]
1252 - Continue FTP file transfer. -c is the switch. Note that you need to
1253 specify a file name if you wanna resume a download (you can't resume a
1254 download sent to stdout). Resuming upload may be limited by the server
1255 since curl is then using the non-RFC959 command SIZE to get the size of
1256 the target file before upload begins (to figure out which offset to
1257 use). Use -C to specify the offset yourself! -C is handy if you're doing
1258 the output to something else but a plain file or when you just want to get
1260 - recursiveftpget.pl now features a maximum recursive level argument.
1264 - Added support to abort a download if the speed is below a certain amount
1265 (speed-limit) bytes per second for a certain (speed-time) time.
1266 - Wrote a perl script 'recursiveftpget.pl' to recursively use curl to get a
1267 whole ftp directory tree. It is meant as an example of how curl can be
1268 used. I agree it isn't the wisest thing to do to make a separate new
1269 connection for each file and directory for this.
1273 - Added a first attempt to optionally parse the .netrc file for login user
1274 and password. If used with http, it enables user authentication. -n is
1276 - Removed the extra newlines on the default user-agent string.
1277 - Corrected the missing ftp upload error messages when it failed without the
1278 verbose flag set. Gary W. Swearingen found it.
1279 - Now using alarm() to enable second-precision timeout even on the name
1280 resolving/connecting phase. The timeout is although reset after that first
1281 sequence. (This should be corrected.) Gary W. Swearingen reported.
1282 - Now spells "Unknown" properly, as in "Unknown option 'z'"... :-)
1283 - Added bug report email address in the README.
1284 - Added a "current speed" field to the progress meter. It shows the average
1285 speed the last 5 seconds. The other speed field shows the average speed of
1286 the entire transfer so far.
1290 - SSL through proxy fix
1291 - Added -A to allow User-Agent: changes
1294 - Made the -A work when SSL-through-proxy.
1298 - More SSL corrections
1299 - I've added a port to AIX.
1300 - running SSL through a proxy causes a chunk of code to be executred twice.
1301 one of those blocks needs to be deleted.
1304 - Made -i and -I work again
1308 - -x can now also specify proxyport when used as in 'proxyhost:proxyport'
1313 - Adjusted to compile under win32 (VisualC++ 5). The -P switch does not
1314 support network interface names in win32. I couldn't figure out how!
1317 Linas Vepstas / Sampo Kellomaki
1318 - Added SSL / SSLeay support (https://)
1319 - Added the -T usage for HTTP POST.
1322 - Bugfixed the SSL implementation.
1323 - Made -P a lot better to use other IP addresses. It now accepts a following
1324 parameter that can be either
1325 interface - i.e "eth0" to specify which interface's IP address you
1327 IP address - i.e "192.168.10.1" to specify exact IP number
1328 host name - i.e "my.host.domain" to specify machine
1329 "-" - (any single-letter string) to make it pick the machine's
1331 - The Makefile is now ready to compile for solaris, sunos4 and linux right
1333 - Better generated version string seen with 'curl -V'
1337 - The IP number returned by the ftp server as a reply to PASV does no longer
1338 have to DNS resolve. In fact, no IP-number-only addresses have to anymore.
1339 - Binds better to available port when -P is used.
1340 - Now LISTs ./ instead of / when used as in ftp://ftp.funet.fi/. The reason
1341 for this is that exactly that site, ftp.funet.fi, does not allow LIST /
1342 while LIST ./ is fine. Any objections?
1344 Version 4 (1998-03-20)
1346 - I took another huge step and changed both version number and project name!
1347 The reason for the new name is that there are just one too many programs
1348 named urlget already and this program already can a lot more than merely
1349 getting URLs, and the reason for the version number is that I did add the
1350 pretty big change in -P and since I changed name I wanted to start with
1352 - The --style flags are working better now.
1353 - Listing directories with FTP often reported that the file transfer was
1354 incomplete. Wrong assumptions were too common for directories, why no
1355 size will be attempted to get compared on them from now on.
1356 - Implemented the -P flag that let's the ftp control issue a PORT command
1357 instead of the standard PASV.
1358 - -a for appending FTP uploads works.
1360 ***************************************************************************
1362 Version 3.12 (14 March 1998)
1364 - End-of-header tracking still lacked support for \r\n or just \n at the
1365 end of the last header line.
1367 - Added PROXY authentication.
1369 - Fixed some little bugs.
1373 - The header parsing was still not correct since the 3.2 modification...
1377 - 3.7 and 3.9 were simultaneously developed and merged into this version.
1378 - FTP upload did not work correctly since 3.2.
1382 - Added the "-e <url> / --referer <url>" option where we can specify
1383 the referer page. Obviously, this is necessary only to fool the
1388 - Now checks the last error code sent from the ftp server after a file has
1389 been received or uploaded. Wasn't done previously.
1390 - When 'urlget <host>' is used without a 'protocol://' first in the host part,
1391 it now checks for host names starting with ftp or gopher and if it does,
1392 it uses that protocol by default instead of http.
1396 - Silly mistake made the POST bug. This has now also been tested to work with
1401 - Highly inspired by Rafael Sagula's changes to the 3.1 that added an almost
1402 functional POST, I applied his changes into this version and made them work.
1403 (It seems POST requires the Content-Type and Content-Length headers.) It is
1404 now usable with the -d switch.
1407 Passed to avoid confusions
1411 - Major rewrite of two crucial parts of this code: upload and download.
1412 They are both now using a select() switch, that allows much better
1413 progress meter and time control.
1414 - alarm() usage removed completely
1415 - FTP get can now list directory contents if the path ends with a slash '/'.
1416 Urlget on a ftp-path that doesn't end with a slash means urlget will
1417 attempt getting it as a file name.
1418 - FTP directory view supports -l for "list-only" which lists the file names
1420 - All operations support -m for max time usage in seconds allowed.
1421 - FTP upload now allows the size of the uploaded file to be provided, and
1422 thus it can better check it actually uploaded the whole file. It also
1423 makes the progress meter for uploads much better!
1424 - Made the parameter parsing fail in cases like 'urlget -r 900' which
1425 previously tried to connect to the host named '900'.
1429 - Pointed out how to correct the 3 warnings in win32-compiles.
1432 - Removed all calls to exit().
1433 - Made the short help text get written to stdout instead of stderr.
1434 - Made this file instead of keeping these comments in the source.
1435 - Made two callback hooks, that enable external programs to use urlget()
1436 easier and to grab the output/offer the input easier.
1437 - It is evident that Win32-compiles are painful. I watched the output from
1438 the Borland C++ v5 and it was awful. Just ignore all those warnings.
1442 - Added FTP upload capabilities. The name urlget gets a bit silly now
1443 when we can put too... =)
1444 - Restructured the source quite a lot.
1445 Changed the urlget() interface. This way, we will survive changes much
1446 better. New features can come and old can be removed without us needing
1447 to change the interface. I've written a small explanation in urlget.h
1449 - New flags include -t, -T, -O and -h. The -h text is generated by the new
1454 - Added a fix to make it compile smoothly on Amiga using the SAS/C
1458 - Believe it or not, but the STUPID Novell web server seems to require
1459 that the Host: keyword is used, so well I use it and I (re-introduce) the
1460 urlget User-Agent:. I still have to check that this Host: usage works with
1461 proxies... 'Host:' is required for HTTP/1.1 GET according to RFC2068.
1465 - some little modifications
1469 - Removed the -l option and introduced the -f option instead. Now I'll
1470 rewrite the former -l kludge in an external script that'll use urlget to
1471 fetch multipart files like that.
1472 - '-f' is introduced, it means Fail without output in case of HTTP server
1473 errors (return code >=300).
1474 - Added support for -r, ranges. Specify which part of a document you
1475 want, and only that part is returned. Only with HTTP/1.1-servers.
1476 - Split up the source in 3 parts. Now all pure URL functions are in
1477 urlget.c and stuff that deals with the stand-alone program is in main.c.
1478 - I took a few minutes and wrote an embryo of a README file to explain
1483 - Made the -l (loop) thing use the new CONF_FAILONERROR which makes
1484 urlget() return error code if non-successful. It also won't output anything
1485 then. Now finally removed the HTTP 1.0 and error 404 dependencies.
1486 - Added -I which uses the HEAD request to get the header only from a
1491 - Made the progress meter use HHH:MM:SS instead of only seconds.
1495 - Added progress meter. It appears when downloading > BUFFER SIZE and
1496 mute is not selected. I found out that when downloading large files from
1497 really really slow sites, it is desirable to know the status of the
1498 download. Do note that some downloads are done unawaring of the size, which
1499 makes the progress meter less thrilling ;) If the output is sent to a tty,
1500 the progress meter is shut off.
1501 - Increased buffer size used for reading.
1502 - Added length checks in the user+passwd parsing.
1503 - Made it grok user+passwd for HTTP fetches. The trick is to base64
1504 encode the user+passwd and send an extra header line. Read chapter 11.1 in
1505 RFC2068 for details. I added it to be used just like the ftp one. To get a
1506 http document from a place that requires user and password, use an URL
1509 http://user:passwd@www.site.to.leach/doc.html
1511 I also added the -u flag, since WHEN USING A PROXY YOU CAN'T SPECIFY THE
1512 USER AND PASSWORD WITH HTTP LIKE THAT. The -u flag works for ftp too, but
1513 not if used with proxy. To do the same as the above one, you can invoke:
1515 urlget -u user:passwd http://www.site.to.leach/doc.html
1519 - Added "-o" option (output file)
1520 - Added URG_HTTP_NOT_FOUND return code.
1522 Perhaps we should detect all kinds of errors and instead of writing that
1523 custom string for the particular 404-error, use the error text we actually
1524 get from the server. See further details in RFC2068 (HTTP 1.1
1525 definition). The current way also relies on a HTTP/1.0 reply, which newer
1526 servers might not do.
1527 - Looping mode ("-l" option). It's easier to get various split files.
1529 Use it like 'urlget -l 1 http://from.this.site/file%d.html', which will
1530 make urlget to attempt to fetch all files named file1.html, file2.html etc
1531 until no more files are found. This is only a modification of the
1532 STAND_ALONE part, nothing in the urlget() function was modfified for this.
1534 - Changed the -h to be -i instead. -h should be preserved to help use.
1535 - Bjorn Reese indicated that Borland _might_ use '_WIN32' instead of the
1536 VC++ WIN32 define and therefore I added a little fix for that.
1540 - The urlget function didn't set the path to url when using proxy.
1541 - Fixed bug with IMC proxy. Now using (almost) complete GET command.
1544 - Made it compile on Solaris. Had to reorganize the includes a bit.
1545 (so Win32, Linux, SunOS 4 and Solaris 2 compile fine.)
1546 - Made Johan's keepalive keyword optional with the -k flag (since it
1547 makes a lot of urlgets take a lot longer time).
1548 - Made a '-h' switch in case you want the HTTP-header in the output.
1551 Daniel Stenberg and Kjell Ericson
1553 - No more global variables
1554 - Mute option (no output at all to stderr)
1555 - Full range of return codes from urlget(), which is now written to be a
1556 function for easy-to-use in [other] programs.
1557 - Define STAND_ALONE to compile the stand alone urlget program
1558 - Now compiles with gcc options -ansi -Wall -pedantic ;)
1561 - Introducing ftp GET support. The FTP URL type is recognized and used.
1562 - Renamed the project to 'urlget'.
1563 - Supports the user+passwd in the FTP URL (otherwise it tries anonymous
1564 login with a weird email address as password).
1568 - The skip_header() crap messed it up big-time. By simply removing that
1569 one we can all of a sudden download anything ;)
1570 - No longer requires a trailing slash on the URLs.
1571 - If the given URL isn't prefixed with 'http://', HTTP is assumed and
1573 - 'void main()' is history.
1577 - The gopher source used the ppath variable instead of path which could
1582 - Well, I added a lame text about the time it took to get the data. I also
1583 fought against Johan to prevent his -f option (to specify a file name
1584 that should be written instead of stdout)! =)
1585 - Made it write 'connection refused' for that particular connect()
1587 - Renumbered the version. Let's not make silly 1.0.X versions, this is
1588 a plain 1.3 instead.
1592 - Discovered and fixed the problem with getting binary files. puts() is
1593 now replaced with fwrite(). (Daniel's note: this also fixed the buffer
1594 overwrite problem I found in the previous version.)
1597 - Let "-p" before "-x".
1600 - Bugfixed the proxy usage. It should *NOT* use nor strip the port number
1601 from the URL but simply pass that information to the proxy. This also
1602 made the user/password fields possible to use in proxy [ftp-] URLs.
1603 (like in ftp://user:password@ftp.my.site:8021/README)
1606 - Implemented HTTP proxy support.
1607 - Receive byte counter added.
1610 - Implemented URLs (and skipped the old syntax).
1611 - Output is written to stdout, so to achieve the above example, do:
1612 httpget http://143.54.10.6/info_logo.gif > test.gif
1616 - Adjusted it slightly to accept named hosts on the command line. We
1617 wouldn't wanna use IP numbers for the rest of our lifes, would we?
1621 - Wrote the initial httpget, which started all this!