5 \___|\___/|_| \_\_____|
10 Daniel (25 February 2002)
11 - Fiddled with the automake files to make all source files in the lib
12 directory not have ../src in the include path, and the src sources shouldn't
15 - All 79 test cases ran OK under Linux and Solaris using the new HTTP server
16 in the test suite. The new HTTP server was first donated by Georg Horn and
17 subsequently modified to work with the test suite. It is currently still not
18 portable enough to run on "all over" but this is a start and I can run all
19 curl tests on my machines. This is an important requirement for the upcoming
22 - Using -d and -I on the same command line now reports an error, as it implies
23 two different HTTP requests that can't be mixed.
25 - Jeffrey Pohlmeyer provided a patch that made the -w/--write-out option
26 support %{content_type} to get the content type of the recent download.
28 - Kevin Roth reported that pre2 and pre3 didn't compile properly on cygwin,
29 and this was because I used #ifdef HAVE_WINSOCK_H in lib/multi.h to figure
30 out if we could include winsock.h which turns out not to be a wise choice to
31 do on cygwin since it has the file but can't include it!
33 Daniel (22 February 2002)
34 - Added src/config-vms.h to the release archive.
36 - Fixed the connection timeout value again, the change from February 18 wasn't
41 Daniel (21 February 2002)
42 - Kevin Roth and Andrés García both found out that lib/config.h.in was missing
43 in the pre-release archive and thus the configure script failed.
47 Daniel (20 February 2002)
48 - Andrés García provided a solution to bug report #515228. the total time
49 counter was not set correctly when -I was used during some conditions (all
50 headers were read in one single read).
52 - Nico Baggus provided a huge patch with minor tweaks all over to make curl
53 compile nicely on VMS.
55 Daniel (19 February 2002)
56 - Rick Richardson found out that by replacing PF_UNSPEC with PF_INET in the
57 getaddrinfo() calls, he could speed up some name resolving calls with an
58 order of magnitudes on his Redhat Linux 7.2.
60 - Philip Gladstone found a second INADDR_NONE problem where we used long
61 intead of in_addr_t which caused 64bit problemos. We really shouldn't define
62 that on two different places.
64 Daniel (18 February 2002)
65 - Philip Gladstone found a problem in how HTTP requests were sent if the
66 request couldn't be sent all at once.
68 - Emil found and corrected a bad connection timeout comparison that made curl
69 use the longest of connect-timeout and timout as a timeout value, instead of
70 the shortest as it was supposed to!
72 - Aron Roberts provided updated information about LDAP URL syntax to go into
73 the manual as a replacement for the old references.
75 Daniel (17 February 2002)
76 - Philip Gladstone pointed out two missing include files that made curl core
77 dump on 64bit architectures. We need to pay more attention on these details.
78 It is *lethal* to for example forget the malloc() prototype, as 'int' is
79 32bit and malloc() must return a 64bit pointer on these platforms.
81 - Giaslas Georgios fixed a problem with Host: headers on repeated requests on
82 the same handle using a proxy.
84 Daniel (8 February 2002)
85 - Hanno L. Kranzhoff accurately found out that disabling the Expect: header
86 when doing multipart formposts didn't work very well. It disabled other
87 parts of the request header too, resulting in a broken header. When I fixed
88 this, I also noticed that the Content-Type wasn't possible to disable. It is
89 now, even though it probably is really stupid to try to do this (because of
90 the boundary string that is included in the internally generated header,
91 used as form part separator.)
93 Daniel (7 February 2002)
94 - I moved the config*.h files from the root directory to the lib/ directory.
96 - I've added the new test suite HTTP server to the CVS repository, It seems to
97 work pretty good now, but we must make it get used by the test scripts
98 properly and then we need to make sure that it compiles, builds and runs on
99 most operating systems.
103 Daniel (6 February 2002)
104 - Miklos Nemeth provided updated windows makefiles and INSTALL docs.
106 - Mr Larry Fahnoe found a problem with formposts and I managed to track down
107 and patch this bug. This was actually two bugs, as the posted size was also
108 said to be two bytes too large.
110 - Brent Beardsley found out and brought a correction for the
111 CURLINFO_CONTENT_TYPE parser that was off one byte. This was my fault, I
112 accidentaly broke Giaslas Georgios' patch.
114 Daniel (5 February 2002)
115 - Kevin Roth found yet another SSL download problem.
119 - no changes since pre-release
123 Daniel (3 February 2002)
124 - Eric Melville provided a few spelling corrections in the curl man page.
126 Daniel (1 February 2002)
127 - Andreas Damm corrected the unconditional use of gmtime() in getdate, it now
128 uses gmtime_r() on all hosts that have it.
130 Daniel (31 January 2002)
131 - An anonymous bug report identified a problem in the DNS caching which made it
132 sometimes allocate one byte too little to store the cache entry in. This
133 happened when the port number started with 1!
135 - Albert Chin provided a patch that improves the gethostbyname_r() configure
136 check on HP-UX 11.00.
140 Daniel (30 January 2002)
141 - Georg Horn found another way the SSL reading failed due to the non-blocking
142 state of the sockets! I fixed.
144 Daniel (29 January 2002)
145 - Multipart formposts now send the full request properly, including the CRLF.
146 They were previously treated as part of the post data.
148 - The upload byte counter bugged.
150 - T. Bharath pointed out that we seed SSL on every connect, which is a time-
151 consuming operation that should only be needed to do once. We patched
152 libcurl to now only seed on the first connect when unseeded. The seeded
153 status is global so it'll now only happen once during a program's life time.
155 If the random_file or egdsocket is set, the seed will be re-made though.
157 - Giaslas Georgios introduced CURLINFO_CONTENT_TYPE that lets
158 curl_easy_getinfo() read the content-type from the previous request.
160 Daniel (28 January 2002)
161 - Kjetil Jacobsen found a way to crash curl and after much debugging, it
162 turned out it was a IPv4-linux only problem introduced in 7.9.3 related to
165 - Andreas Damm posted a huge patch that made the curl_getdate() function fully
168 - Steve Marx pointed out that you couldn't mix CURLOPT_CUSTOMREQUEST with
169 CURLOPT_POSTFIELDS. You can now!
171 Daniel (25 January 2002)
172 - Krishnendu Majumdar pointed out that the header length counter was not reset
173 between multiple requests on the same handle.
175 - Pedro Neves rightfully questioned why curl always append \r\n to the data
176 that is sent in HTTP POST requests. Unfortunately, this broke the test suite
177 as the test HTTP server is lame enough not to deal with this... :-O
179 - Following Location: headers when the connection didn't close didn't work as
180 libcurl didn't properly stop reading. This problem was added in 7.9.3 due to
181 the restructured internals. 'Frank' posted a bug report about this.
183 Daniel (24 January 2002)
184 - Kevin Roth very quickly spotted that we wrongly installed the example
185 programs that were built in the multi directory, when 'make install' was
190 Daniel (23 January 2002)
191 - Andrés García found a persistancy problem when doing HTTP HEAD, that made
192 curl "hang" until the connection was closed by the server. This problem has
193 been introduced in 7.9.3 due to internal rewrites, this was not present in
198 Daniel (19 January 2002)
199 - Antonio filed bug report #505514 and provided a fix! When doing multipart
200 formposts, libcurl would include an error text in the actual post if a
201 specified file wasn't found. This is not libcurl's job. Instead we add an
204 Daniel (18 January 2002)
205 - Played around with stricter compiler warnings for gcc (when ./configure
206 --enable-debug is used) and changed some minor things to stop the warnings.
208 - Commented out the 'long long' and 'long double' checks in configure.in, as
209 we don't currently use them anyway and the code in lib/mprintf.c that use
210 them causes warnings.
212 - Saul Good and jonatan pointed out Mac OS X build problems with pre3 and how
213 to correct them. Two compiler warnings were removed as well.
215 - Andrés García fixed two minor mingw32 building problems.
219 Daniel (17 January 2002)
220 - docs/libcurl-the-guide is a new tutorial for our libcurl programming
223 - Richard Archer brought back the ability to compile and build with OpenSSL
224 versions before 0.9.5.
225 [http://sourceforge.net/tracker/?func=detail&atid=100976&aid=504163&group_id=976]
227 - The DNS cache code didn't take the port number into account, which made it
228 work rather bad on IPv6-enabled hosts (especially when doing passive
229 FTP). Sterling fixed it.
231 Daniel (16 January 2002)
232 - Georg Horn could make a transfer time-out without error text. I found it and
235 - SSL writes didn't work, they return an uninitialized value that caused
236 havoc all over. Georg Horn experienced this.
238 - Kevin Roth patched the curl_version() function to use the proper OpenSSL
239 function for version information. This way, curl will report the version of
240 the SSL library actually running right now, not the one that had its headers
241 installed when libcurl was built. Mainly intersting when running with shared
246 Daniel (16 January 2002)
247 - Mofied the main transfer loop and related stuff to deal with non-blocking
248 sockets in the upload section. While doing this, I've now separated the
249 connection oriented buffers to have one for downloads and one for uploads
250 (as two can happen simultaneously). I also shrunk the buffers to 20K
251 each. As we have a scratch buffer twice the size of the upload buffer, we
252 arrived at 80K for buffers compared with the previous 150K.
254 - Added the --cc option to curl-config command as it enables so very cool
255 one-liners. Have a go a this one, building the simple.c example:
257 $ `curl-config --cc --cflags --libs` -o example simple.c
259 Daniel (14 January 2002)
260 - I made all socket reads (recv) handle EWOULDBLOCK. I hope nicely. Now we
261 only need to address all writes (send) too and then I'm ready for another
264 - Stoned Elipot patched the in_addr_t configure test to make it work better on
267 Daniel (9 January 2002)
268 - Cris Bailiff found out that filling up curl's SSL session cache caused a
271 - Posted the curl questionnaire on the web site. If you haven't posted your
272 opinions there yet, go there and do it now while it is still there:
274 http://curl.haxx.se/q/
276 - Georg Horn quickly found out that the SSL reading no longer worked as
277 supposed since the switch to non-blocking sockets. I've made a quick patch
278 (for reading only) but we should improve it even further.
282 Daniel (7 January 2002)
283 - I made the 'bool' typedef use an "unsigned char". It makes it the same on
284 all platforms, no matter what the platform thinks the default format for
285 char is. This was noticed since we made a silly comparison involving such a
286 bool variable, and only one compiler/platform combination (on Debian Linux)
287 complained about it (that happened to have its char unsigned by default).
289 - Bug report #495290 identified a cookie parsing problem that was corrected.
290 When a Set-Cookie: line is received without a trailing semicolon, libcurl
291 didn't read the last "name=value" pair of the line, leading to confusions...
293 - Sterling committed his updated DNS cache code.
295 - I worked with Georg Horn and comments from Götz Babin-Ebell and switched
296 curl's socket operations completely over to non-blocking for the entire
297 operation (previously we used non-blocking only for the connection phase).
298 We had to do this to make the SSL connection phase timeout properly without
299 the use of signals. A little extra code to deal with this was added.
301 - T. Bharath pointed out a slightly obscure cookie engine flaw.
303 - Pete Su pointed out that libcurl didn't treat HTTP code 204 as it should.
304 204-replies never provides a response-body. This resulted in bad persistant
305 behavior when 204 was received.
307 Daniel (5 January 2002)
308 - SM updated the VC++ library Makefiles for the new source files.
310 Daniel (4 January 2002)
311 - I discovered that we wrongly used inet_ntoa() (instead of inet_ntoa_r() in
312 two places in the source code). One happened with VERBOSE set on connects,
313 and the other when VERBOSE was on and krb4 over nat was used... I honestly
314 don't think anyone has suffered from these mistakes.
316 - I replaced a lot of silly occurances of printf() to instead use the more
317 appropriate Curl_infof() or Curl_failf(). The krb4 and telnet code were
320 - Philip Gladstone found a few more problems with 64-bit archs (the 64-bit
323 - After discussions on the libcurl list with Raoul Cridlig, I just made FTP
324 response lines get passed to the header callback if such a one is
325 registered. It'll make it possible for any application to get all the
326 responses an FTP server sends to libcurl.
328 Daniel (3 January 2002)
329 - Sterling Hughes brought a few buckets of code. Now, libcurl will
330 automatically cache DNS lookups and re-use the previous results first if any
331 such is available. It greatly improves speed when doing many repeated
332 operations to the same host.
334 - As the test case uses --include and then --head, I had to modify src/main.c
335 to deal with this situation slightly better than previously. When done, we
336 have 100% good tests again in the main branch.
338 Daniel (2 January 2002)
339 - Made test case 25 run again in the multi-dev branch. But it seems that the
340 changes done on dec-20 made test case 104 cease to work (in both branches).
342 - Philip Gladstone pointed out a few portability problems in the source code
343 that didn't compile on 64-bit sparcs using Sun's native compiler...
345 Daniel (20 December 2001)
346 - Björn Stenberg caught an unpleasent (but hard-to-find) bug that could cause
347 libcurl to hang on transfers over proxy, when the proxy was specified with
348 an environment variable!
350 - Added code to make ftp operations treat the NO_BODY and HEADERS options
353 NO_BODY set TRUE and HEADERS set TRUE:
354 Return a set of headers with file info
357 Transfer data as usual, HEADERS is ignored
359 NO_BODY set TRUE and HEADERS set FALSE
360 Don't transfer any data, don't return any headers. Just perform the set
363 Daniel (17 December 2001)
364 - Götz Babin-Ebell dove into the dark dungeons of the OpenSSL ENGINE stuff and
365 made libcurl support it! This allows libcurl to do SSL connections with the
366 private key stored in external hardware.
368 To make this good, he had to add a bunch of new library options that'll be
369 useful to others as well:
371 CURLOPT_SSLCERTTYPE set SSL cert type (PEM/DER)
372 CURLOPT_SSLKEY set SSL private key (file)
373 CURLOPT_SSLKEYTYPE: set SSL key type (PEM/DER/ENG)
374 CURLOPT_SSLKEYPASSWD: set the passphrase for your private key
375 (CURLOPT_SSLCERTPASSWD is an alias)
376 CURLOPT_SSLENGINE: set the name of the crypto engine
377 (returns CURLE_SSL_ENGINE_NOTFOUND on error)
378 CURLOPT_SSLENGINE_DEFAULT: set the default engine
380 There are two new failure codes:
382 CURLE_SSL_ENGINE_NOTFOUND
383 CURLE_SSL_ENGINE_SETFAILED
385 Daniel (14 December 2001)
386 - We have "branched" the source-tree at a few places. Checkout the CVS sources
387 with the 'multi-dev' label to get the latest multi interface development
388 tree. The idea is to only branch affected files and to restrict the branch
389 to the v8 multi interface development only.
391 *NOTE* that if we get bug reports and patches etc, we might need to apply
392 them in both branches!
394 The multi-dev branch is what we are gonna use as main branch in the future
395 if it turns out successful. Thus, we must maintain both now in case we need
396 them. The current main branch will be used if we want to release a 7.9.3 or
397 perhaps a 7.10 release before version 8. Which is very likely.
399 - Marcus Webster provided code for the new CURLFORM_CONTENTHEADER option for
400 curl_formadd(), that lets an application add a set of headers for that
401 particular part in a multipart/form-post. He also provided a section to the
402 man page that describes the new option.
404 Daniel (11 December 2001)
405 - Ben Greear made me aware of the fact that the Curl_failf() usage internally
406 was a bit sloppy with adding newlines or not to the error messages. Let's
407 once and for all say that they do not belong there!
409 - When uploading files with -T to give a local file name, and you end the URL
410 with a slash to have the local file name used remote too, we now no longer
411 use the local directory as well. Only the file part of the -T file name
412 will be appended to the right of the slash in the URL.
414 Daniel (7 December 2001)
415 - Michal Bonino pointed out that Digital Unix doesn't have gmtime_r so the
416 link failed. Added a configure check and corrected source code.
420 Daniel (5 December 2001)
421 - Jon Travis found out that if you used libcurl and CURLOPT_UPLOAD and then
422 on the same handle used CURLOPT_HTTPGET it would still attempt to upload.
423 His suggested fix was perfect.
425 Daniel (4 December 2001)
426 - Incorporated more macos fixes and added four specific files in a new
427 subdirectory below src.
429 Daniel (3 December 2001)
430 - Eric Lavigne reported two problems:
432 First one in the curl_strnequal() function. I think this problem is rather
433 macos 9 specific, as most platform provides a function to use instead of the
434 one provided by libcurl.
436 A second, more important, was in the way we take care of FTP responses. The
437 code would read a large chunk of data and search for the end-of-response
438 line within that chunk. When found, it would just skip the rest of the
439 data. However, when the network connections are special, or perhaps the
440 server is, we could actually get more than one response in that chunk of
441 data so that when the next invoke to this function was done, the response
442 had already been read and thrown away. Now, we cache the data not used in
443 one call, as it could be useful in the subsequent call. Test case 126 was
444 added and the test ftp server modified, to exercise this particular case.
448 Daniel (2 December 2001)
449 - Bug report #487825 correctly identified a problem when using a proxy and
450 following a redirection from HTTP to HTTPS. libcurl then re-used the same
451 proxy connection but without doing a proper HTTPS request.
453 - Fixed win32 compiling quirks.
457 Daniel (30 November 2001)
458 - Documented --disable-epsv and CURLOPT_FTP_USE_EPSV.
460 Daniel (29 November 2001)
461 - Added --disable-epsv as an option. When used, curl won't attempt to use the
462 EPSV command when doing passive FTP downloads. Wrote a test case for it.
464 - Eric provided a few more fixes for building on Macs. He also pointed out
465 a flaw in the signal handler restoration code.
467 Daniel (28 November 2001)
468 - Fiddled with some Tru64 problems reported by Dimitris Sarris. They appeared
469 only when using VERBOSE ftp transfers. Do we use a too small buffer for
470 gethostbyaddr_r(), was the lack of using in_addr_t wrong or is it that the
471 hostent struct must be blanked before use? With Dimitris help and these
472 patches, the problems seem to be history.
474 - CURLOPT_FTP_USE_EPSV was added and can be set to FALSE to prevent libcurl
475 from using the EPSV command before trying the normal PASV. Heikki Korpela
476 pointed out that some firewalls and similar don't like the EPSV so we must
477 be able to shut if off to work everywhere.
479 - I added a configure check for 'in_addr_t' and made the ftp code use that to
480 receive the inet_addr() return code in. Works on Solaris and Linux at
481 least. The Linux man page for inet_addr() doesn't even mention in_addr_t...
483 - Adjusted (almost) all FTP tests to the new command sequence.
485 - FTP command sequence changes:
487 EPSV is now always attempted before PASV. It is the final touch to make IPv6
488 passive FTP downloads to work, but EPSV is not restricted to IPv6 but works
489 fine with IPv4 too on the servers that support it.
491 SIZE is now always issued before RETR. It makes curl know the actual
492 download size before the download takes place, as it makes it less important
493 to find the size sent in RETR responses. Many sites don't include the size
496 Both these changes made it necessary to change the test suite's ftp server
497 code, and all FTP test cases need to be checked and adjusted!
499 Daniel (27 November 2001)
500 - Hans Steegers pointed out that the telnet code read from stdout, not stdin
501 as it is supposed to do!
505 Daniel (27 November 2001)
506 - Eric Lavigne's minor changes to build on MacOS before OS X were applied.
508 - greep at mindspring.com provided a main index.html page for our release
509 archive docs directory. It just links to all the existing HTML files, but
510 I think it may come useful to people.
512 - There's now some initial code to support the EPSV FTP command. That should
513 be used to do passive transfers IPv6-style. The code is still #if 0'ed in
514 lib/ftp.c as I have no IPv6 ftp server to test this with.
516 Daniel (26 November 2001)
517 - Robert Schlabbach had problems to understand how to do resumed transfers,
518 and I clarified the man page -C section somewhat.
522 Daniel (22 November 2001)
523 - Andrés García helped me out to track down the roots of bug report #479537,
524 which was concerning curl returning the wrong error code when failing to
525 connect. This didn't happen on all systems, and more specificly I've so far
526 only seen this happen on IPv4-only Linux hosts.
528 - I applied the fixes for the two bugs Eric Lavigne found when doing his MacOS
529 port. A missing comma in arpa_telnet.h and a pretty wild write in the FTP
530 response reader function. The latter write is however likely to occur in our
531 own buffer unless very big FTP server replies (>25K) are read. I've never
532 seen such a reply ever, so I think this is a relatively minor risk.
534 Daniel (21 November 2001)
535 - Moonesamy provided code to prevent junk from being output when libcurl
536 returns an error code but no error description and that corrects how make is
537 run in the Makefile.dist file (that appears as root Makefile in release
540 - Eric Lavigne mailed me bugfixes and patches for building libcurl on MacOS
543 - Kevin Roth modified the cygwin files once again, now to build against the
548 Daniel (20 November 2001)
549 - Georg Horn brought a patch that introduced CURLINFO_STARTTRANSFER_TIME,
550 complete with man page updates!
552 Daniel (19 November 2001)
553 - Miklos Nemeth provided details enough to update the Borland makefile
556 - Lars M Gustafsson found a case with a bad free(). In fact, it was so bad I'm
557 amazed we never saw this before!
559 - Kevin Roth patched the cygwin Makfile.
561 Daniel (16 November 2001)
562 - Klevtsov Vadim fixed a bug in how time-conditionals were sent when doing
567 Daniel (14 November 2001)
568 - Samuel Listopad patched away the problem with SSL we got when someone call
569 curl_global_init() => curl_global_cleanup() => curl_global_init(). The
570 second init would not "take" and SSL would be unusable with curl from that
571 point. This doesn't change the fact that calling the functions that way is
572 wrong. curl_global_init() should be called exactly once and not more.
574 Daniel (13 November 2001)
575 - Fixed some minor variable type mixups in ftp.c that caused compiler warnings
578 - The FTP fix I did yesterday used an uninitialized variable that caused
579 spurious errors when doing FTP.
583 Daniel (12 November 2001)
584 - Ricardo Cadime fell over a multiple-requests problem when first a FTP
585 directory fetch failed and then a second request is made after that. The
586 second request happened to get the FTP server response back from the
587 previous request, when it did its initial CWD command.
589 - Bjorn Reese pointed out that we could improve the time diff function to
590 prevent truncation a bit.
592 - Kai-Uwe Rommel made me aware that -p (http proxy tunnel) silly enough didn't
593 work for plain HTTP requests! So I made that work.
597 Daniel (12 November 2001)
598 - Rewrote the Curl_ConnectHTTPProxyTunnel(). It should now not only work a lot
599 faster, it should also support such ("broken") proxies that John Lask
600 previously have reported problems with. His proxy sends a trailing zero byte
601 after the end of the (proxy-) headers. I've tested this myself and it seems
602 to work on a proxy the previous version also worked with...! This rewrite is
603 due to the problems John Lask previously experienced.
605 - Andrés García found out why the "current speed" meter sometimes showed 2048K
606 for very quick transfers. It turned out the "time diff"-function returned a
607 zero millisecond diff. We now always say it is at least one millisecond! In
608 reality, these timers very rarely have that good resolution so even though
609 the time diff was longer than 1 millisecond, it was reported as no diff.
611 - I also modified the getinfo() again when returning times, as Paul Harrington
612 reports that 7.9.1 only returns times with 1 second accuracy, which indeed
615 Daniel (8 November 2001)
616 - Marcus Webster found out that curl_formadd() could read one byte outside a
617 buffer boundary, which then of course could lead to a crash. Marcus also
618 gracefully provided a patch for this this.
620 - Glen Scott ran configure on his Cobalt Qube and it didn't figure out the
621 correct way of calling gethostbyname_r() and thus failed to resolve hosts.
622 This is two errors: it shouldn't continue the configure script if it finds
623 gethostbyname_r() but can't figure out how to use it, and it should really
624 figure out how to use it as it was running Linux and we know how that
627 Daniel (7 November 2001)
628 - docs/VERSIONS is a new file in the archive that explains the version number
629 system we use in the curl project.
631 - Did some more fixes that now makes libcurl only ignore signals as long as
632 it needs to, and then restore (if any) previous signal handler again.
634 Daniel (6 November 2001)
635 - Enrik Berkhan posted bug report #478780, in which he very correctly pointed
636 out two bad timeout matters in libcurl: we didn't restore the sigaction
637 struct (the alarm handler for SIGALRM) nor did we restore the previous
638 alarm() timeout that could've been set by a "parent" process or similar.
640 - Kevin Roth made the cygwin binary get stripped before install.
642 Daniel (5 November 2001)
643 - Detlef Schmier reported that curl didn't compile using Solaris 8 with the
644 native cc compiler. It was due to a bad function prototype. Fixed now.
645 Unfortunately, I can't enable the -Wstrict-prototypes in my debug builds
646 though, as gcc then complains like crazy on OpenSSL include files... :-(
648 - John Lask provided SSL over HTTP proxy fixes. They'll need some tweaking
649 to work on all platforms.
651 - John Lask added the -1/--TLSv1 options that forces SSL into using TLS
652 version 1 when speaking HTTPS.
654 - John Lask brought a brand new VC++ makefile for the lib directory, that
655 works a lot better than the previous!
657 - Ramana Mokkapati brought some clever insights on the LDAP failures (bug
658 report #475407), and his suggested changes are now applied.
662 Daniel (4 November 2001)
663 - I've added a number of new test cases the last few days. A few of them since
664 I got reports that hinted on problems on timeouts, so I added four tests
665 with timeouts for all sorts of protocols and stuff. I also came to think of
666 a few other error scenarios that we currently didn't test properly, so I
667 wrote up tests for a few of those too.
669 Daniel (2 November 2001)
670 - Replaced read() and write() with recv() and send() for socket operations
671 even under normal unixes.
673 Daniel (1 November 2001)
674 - When an FTP transfer was aborted due to a timeout, it wasn't really aware of
675 how many bytes that had been transferred and the error text always said 0
676 bytes. I modified this to output the actually transferred amount! :-)
678 - The FTP fixes in pre7 didn't compile on IPv6 enabled hosts. Does now. I also
679 added more comments in the lib/ftp.c source file.
681 - Minor updates to the FAQ, added a brand new section to the web site about
682 the name issue (who owns "curl"? will someone sue us? etc etc):
683 http://curl.haxx.se/legal/thename.html
687 Daniel (31 October 2001)
688 - The curl_easy_getinfo() timers accidentally lost their subsecond accuracy as
689 the calculations used longs instead of doubles! Paul Harrington reported.
691 - The SSL SocketIsDead() checks weren't good enough (as expected really), so I
692 had to add a generic internal try-it-out system. If the request on a re-used
693 connection seems to fail, then we go back and get a new (fresh) connection
694 and re-tries the request on that instead. It kind of makes the
695 SocketIsDead() check obsolete, but I think it is a quicker way for those
696 cases where it actually discovers that the connection is dead.
698 - When fixing the above, I noticed that we did quite a few writes to sockets
699 in libcurl where we didn't check the return code (that it actually worked to
700 send the data). With the new "attempted request" system we must detect those
701 situations so I went over a bunch of functions, changed return types and
702 added checks for what they actually return.
706 Daniel (31 October 2001)
707 - Paul Harrington detected a problem with persistant SSL connections. Or to be
708 more exact, we didn't properly detect that the connection was dead and then
709 a second connection would try to re-use it wrongly. The solution to this
710 problem is still not very clear and I'm working on it. One OpenSSL insider
711 said there is no way to know if the SSL connection is alive or not without
712 actually trying an operation.
714 Daniel (30 October 2001)
715 - If a cookie was read from a file, it could accidentally strdup() a NULL
716 pointer. Paul Harrington reported. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/cookie.c.diff?r1=1.25&r2=1.26]
718 - The MANUAL file now documents -t correctly. I also fixed the -T description
719 in the curl.1 man page.
721 Daniel (29 October 2001)
722 - John Janssen found out that curl_formadd was missing in the libcurl.def file
723 and that the docs stated the wrong return type for the function.
725 - Andrés García found a bug with multiple files in the curl_formadd() function,
726 that I removed with this patch [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/formdata.c.diff?r1=1.25&r2=1.26].
728 - Kevin Roth brought another patch that moved the cygwin package files to the
729 packages/Win32/cygwin directory.
731 - A bug in the connection re-use logic made repeated requests to the same FTP
732 server (when using name+pasword in the URL) sometimes use more than one
733 connection. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/url.c.diff?r1=1.166&r2=1.167]
735 - Moonesamy tracked down and fixed a problem with the new 7.9.1 connect
736 code. This corrected the error Kevin Roth reported on the 7.9.1-pre5 release
738 [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/connect.c.diff?r1=1.13&r2=1.14]
740 Daniel (26 October 2001)
741 - Added test28 which verifies that "Location:"-following works even if the
742 contents is separated with more than one space.
744 Daniel (25 October 2001)
745 - Ramana Mokkapati pointed out that LDAP transfers would 'hang' after the
746 correct data has been output.
750 Daniel (24 October 2001)
751 - T. Bharath found a memory leak in the cookie engine. When we update a cookie
752 that we already knew about, we lost a chunk of memory in the progress... The
753 brand new test case 27 now tests for this occurrence. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/cookie.c.diff?r1=1.24&r2=1.25]
755 Daniel (23 October 2001)
756 - pack_hostent() didn't properly align some pointers, so at least SPARC CPUs
757 would core. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/hostip.c.diff?r1=1.34&r2=1.35]
759 Daniel (22 October 2001)
760 - Tom Benoist reported that this SGI IRIX compiler didn't handle indented
761 preprocessor instructions, so they're no longer in the source code!
763 - Applied Kevin Roth's patches to make it easier to build cygwin packages from
764 the out-of-the-box curl release archives.
766 - I forgot to mention it below, but libcurl now closes connections that report
767 transfer failures. Unconditionally. This could be made more nicely in the
768 future if we set a flag or something that the connection is still good to be
769 used for the errors that know that for a fact. We have to close the
770 connection for the cases where we abort for example a HTTP transfer in the
771 middle, or otherwise we might re-use that connection later with lots of data
772 still being sent to us on it. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/transfer.c.diff?r1=1.63&r2=1.64]
774 Daniel (19 October 2001)
775 - CURLE_GOT_NOTHING is now returned when a HTTP server doesn't return
776 anything, not even a header. test case 37 was added to test for this.
778 - T. Bharath made curl_easy_duphandle() properly clone the cookie status as
783 Daniel (18 October 2001)
784 - CURLOPT_FAILONERROR, set with "curl --fail" no longer returns an error if
785 the HTTP return code is below 400.
787 Daniel (17 October 2001)
788 - The test suite now kills any running test http server when you re-start the
791 - We had to remove 'use strict' from two perl scripts, as the cygwin
792 adjustments didn't play nicely otherwise for some reason. Any perl wizard
793 out there who can put the scrict back and still make it run good on unix and
796 - A potential memory leak pointed out to us by Yanick Pelletier was removed.
797 It would occur when a http file transfer fails. [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/transfer.c.diff?r1=1.60&r2=1.61]
799 - The memory debugging system should no longer display anything to stderr
800 if the curl_memdebug() hasn't been used to explicitly say so. This makes it
801 easier to use the memory debug system and switch the logging on/off.
803 Daniel (16 October 2001)
804 - Kevin Roth provided fixes for building curl nicer in cygwin environments.
806 Daniel (12 October 2001)
807 - Cleaning up the progress meter/info code. The "current speed" is now more
808 accurate than before as we now use the true time spent between the measures,
809 and not just "assuming" every-second-update like before. The output should
810 now also be of the same width at all times, never to show "extra" zeroes on
813 - After talking about possible Location: bugs on the mailing list, I modified
814 the "absolute URL" checker in lib/transfer.c to be more strict when checking
815 if the redirected URL is absolute.
817 Daniel (11 October 2001)
818 - Kevin Roth provided patches that make the test suite run fine on Windows
821 Daniel (10 October 2001)
822 - Setting the -c or the CURLOPT_COOKIEJAR option now enables the cookie parser.
823 Previously -b or CURLOPT_COOKIEFILE was also required for the jar to work.
827 Daniel (9 October 2001)
828 - Added a new option to the command line client: -0/--http1.0. It uses the new
829 libcurl option CURLOPT_HTTP_VERSION to request that libcurl uses HTTP 1.0
830 requests instead of the default version (1.1). It should only be used if you
831 really MUST do that because of a silly remote server.
833 - Renamed the 'TimeCond' typedef in curl/curl.h to use a 'curl_' prefix as
834 all public curl-symbols should.
836 - libcurl now explicitly ignores the SIGPIPE signal.
838 Daniel (8 October 2001)
839 - Kevin Roth's change to the cookie-jar comment (in the stored file) was
842 - Lucas Adamski's minor bug in the bind error code failf() was fixed.
844 Daniel (5 October 2001)
845 - Moonesamy fixed the Curl_connecthost() function to not give compiler errors
846 on a bunch of compilers, due to the argument named 'socket'.
848 - Moonesamy also provided updated VC++ makefiles and project files.
852 Daniel (4 October 2001)
853 - Albert Chin provided a configure patch that makes the script detect proper
854 gethostbyname_r() method without actually running any code, only compiling
855 is necessary. This also removes the need of having a resolving 'localhost'
858 - Found and removed memory leakage (name resolve data) in libcurl on
859 IPv6-enabled hosts. These could sneak through because we didn't have any
860 resource tracing on the IPv6-related functions. We do now.
862 Daniel (3 October 2001)
863 - Keith McGuigan patched away a (mainly Windows-) problem with the name
864 resolver data being kept in the static memory area, which is removed when a
865 thread is killed. The curl handle itself though perfectly handles being
866 passed between threads.
868 - Dirk Eddelbuettel reported an odd bug that turned out to be his proxy that
869 required an Authorization: header. Now, proxies are not supposed to require
870 that header, that is for true servers...
872 - I accidentally ruined Georg's curl_formadd(). Uh, bad me. Corrected now.
876 Daniel (3 October 2001)
877 - Georg Huettenegger once again made an effort beyond the call of duty and not
878 only improved the curl_formadd() function, but also took care of adjusting
879 the curl command line client to use this new function instead of the
880 obsoleted curl_formparse.
882 Daniel (2 October 2001)
883 - Major fix in how libcurl does TCP connects. It now does non-blocking
884 connects to enable good timeouts without signals, and it now tries all IP
885 addresses for any given host (if it resolves more than one and the first
886 one(s) don't connect). Added a new source file 'connect.c' to deal with all
887 the TCP connect stuff.
889 - We now support IPv4-style IP-addresses in rfc2732-format, to better support
890 people writing scripts without knowing what address there is.
892 Daniel (28 September 2001)
893 - Cleanups in the FTP source code. Divided the code into even more smaller
894 functions and generally tried to make the differences between IPv4 and IPv6
895 get less noticable in the sources.
897 - If the remote file time is not readable/accessable/understood by libcurl,
898 libcurl now returns -1 in the CURLINFO_FILETIME data, not 0 as it previously
899 did. This should make curl not touch the file data unless there was a known
900 remote date when -R is used.
902 Daniel (27 September 2001)
903 - Working on getting non-blocking connects working platform independent. We
904 will also make curl try all IPs for a given host if the first one should
907 Daniel (26 September 2001)
908 - Kevin Roth provided a cookie example that proved the cookie jar
909 functionality wasn't working properly. I added test case 46 and made it
912 Daniel (25 September 2001)
913 - Jörn Hartroth updated the mingw32 makefiles.
917 Daniel (23 September 2001)
918 - Found and removed a 'socket leak' that would occur on IPv6 enabled hosts
919 when FTP RETR failed.
921 - Made the FTP upload tests run fine on machines with IPv6 enabled.
925 Daniel (19 September 2001)
926 - Vojtech Minarik set up a special-purpose test server and provided me with
927 test certificates in order for me to repeat the bug reports #440068 and
928 #440373. It turned out we didn't check all the error codes properly. We do
929 now, and connecting with a unacceptable certificate will make libcurl fail
930 to connect with an error code returned.
932 - Ramana Mokkapati found a case when the Location: following code did wrong.
933 I wrote a test case for this (45).
937 Daniel (17 September 2001)
938 - Linus Nielsen Feltzing fixed telnet for win32. It makes libcurl require
943 - libtool 1.4.2 is now in use!
947 Daniel (14 September 2001)
948 - Added another 14 ftp tests.
950 Daniel (13 September 2001)
951 - Added curl_easy_duphandle() to the easy.h header file. It has now been
952 tested and proved to work in a real-world tests by T Bharath. We still need
953 to write up some docs for this function.
955 - Added four more ftp tests to the test suite.
957 Daniel (12 September 2001)
958 - CURLOPT_SSL_CIPHER_LIST was added, and the curl tool option is named
959 --ciphers. Use them to specify a list of ciphers to use in the SSL
962 - T. Bharath found a memory leak in libcurl's windows version. It turned out
963 to be the new duphandle() that didn't quite work yet.
967 Daniel (11 September 2001)
968 - Added verbose output for SSL connections that output the server
969 certificate's start and expire dates. As suggested by Paul Harrington.
971 - Heikki Korpela found problems in the perl ftp server used for the test
972 suite, when he runs on on OpenBSD with perl 5.6. Some changes have been
973 made, but nothing really certain.
975 - T. Bharath has experienced problems with libcurl's stack usage on windows
976 and works on reducing it.
978 Daniel (10 September 2001)
979 - Cris Bailiff fixed the perl interface. It stopped working since the changed
980 behavior with WRITEHEADER and NULL pointers.
982 - The "output cookies" function could dump core if no cookies were enabled.
984 Daniel (7 September 2001)
985 - SM pointed out that the SSL code didn't compile any longer if SSL was
986 disabled... Also, we needed to correct the #include for the utime stuff on
989 Daniel (6 September 2001)
990 - T. Bharath pointed out a flaw in the SSL session cache code that made it
991 sometimes read from a NULL pointer.
995 Daniel (3 September 2001)
996 - Added the -R/--remote-time option, that uses the remote file's datestamp to
997 set the local file's datestamp. Thus, when you get a remote file your local
998 file will get the same time and date. Note that this only works when you use
1001 - Installed libtool 1.4.1, libtoolized and everything.
1003 Daniel (1 September 2001)
1004 - Heikki Korpela pointed out that I did not ship the proper libtool stuff in
1005 the pre-releases, even though that was my intention. libtoolize has now
1008 - Heikki also patched away the bad use of 'make -C' in the test suite
1009 makefile. make -C is not very portable and is now banned from here.
1013 Daniel (31 August 2001)
1014 - I just made a huge internal struct rehaul, and all the big internally used
1015 structs have been renamed, redesigned and stuff have been moved around a bit
1016 to make the source easier to follow, more logically grouped and to hopefully
1017 decrease future bugs. I also hope that this will make new functions to get
1018 easier to add, and make it less likely that we have bugs left like the URL-
1019 free bug from August 23.
1023 Daniel (29 August 2001)
1024 - The new cookie code have enabled the brand new '-c/--cookie-jar' option. Use
1025 that to specify the file name in which you want to have all cookies curl
1026 knows of, dumped to. It'll be written using the netscape cookie format.
1028 This is internally done with the new CURLOPT_COOKIEJAR option to libcurl,
1029 which in turn dumps this information when curl_easy_cleanup() is invoked.
1030 There might be reasons to re-consider my choice of putting it there. Perhaps
1031 it is better placed to get done just before *_perform() is done. It is all
1032 of course depending on how you guys want to use this feature...
1034 - Added ftpupload.c in the source examples section, based on source code posted
1037 Daniel (28 August 2001)
1038 - Now running libtool CVS branch-1-4 to generate stuff. Should fix problems
1039 on OpenBSD and hopefully on FreeBSD as well!
1041 - Georg Huettenegger modified the curl_formadd() functionality slightly, and
1042 added support for error code 417 when doing form post and using the Expect:
1045 - Made some tests with cached SSL session IDs, and they seem to work. There
1046 should be a significant speed improvement in the SSL connection phase, but
1047 in my tiny tests it just isn't possible to notice any difference. Like other
1048 caching in libcurl, you must reuse the same handle for the caching to take
1049 effect. SSL session ID caching is done on a per host-name and destination
1052 Set verbose, and you'll get informational tests when libcurl detects and
1053 uses a previous SSL session ID.
1055 - Upgraded to automake 1.5 on my development/release machine.
1057 Daniel (27 August 2001)
1058 - Slowly started writing SSL session ID caching code
1060 Daniel (24 August 2001)
1061 - T. Bharath removed compiler warnings on windows and updated the MS project
1064 - Kevin Roth reported two kinds of command line constructs with the new -G that
1065 curl didn't really deal with the way one would like.
1067 - Tim Costello patched away a use of strcasecmp() in the SSL code. We have our
1068 own portable version named strequal() that should be used!
1070 - Tim also pointed out a problem in the lib/Makefile.vc6 file that made it mix
1071 debug object modules causing confusions.
1073 Daniel (23 August 2001)
1074 - T. Bharath accurately found a libcurl bug that would happen when doing a
1075 second invoke of curl_easy_perform() with a new URL when the previous invoke
1076 followed a Location: header.
1078 - Started the improvement work on the cookie engine:
1079 - Now keeps cookies in the same order as the cookie file
1080 - A write to the possibly static string was removed
1081 - Added a function that can output all cookies
1082 - Now supports reading multiple cookie files
1084 - Steve Lhomme corrected a DLL naming issue in the MSVC++ project file.
1086 - Split up the monster function in lib/ftp.c to use more smallish functions to
1087 increase readability and maintainability.
1089 Daniel (21 August 2001)
1090 - Georg Huettenegger's big patch was applied. Now we have:
1091 o "Expect: 100-continue" support. We will from now on send that header in
1092 all rfc1867-posts, as that makes us abort much faster when the server
1093 rejects our POST. Posting without the Expect: header is still possible in
1094 the standard replace-internal-header style.
1095 o curl_formadd() is a new formpost building function that is introduced to
1096 replace the now deprecated curl_formparse() function. The latter function
1097 will still hang around for a while, but the curl_formadd() is the new way
1098 and correct way to build form posts.
1099 o Documentation has been updated to reflect these changes
1101 These changes are reason enough to name the next curl release 7.9...
1103 - We now convert man pages to HTML pages and include them in the release
1104 archive. For the pleasure of everyone without nroff within reach.
1106 - Andrés García's suggested flushing of the progress meter output stream was
1107 added. It should make the progress meter look better on Windows.
1109 - Troy Engel pointed out a mistake in the configure script that made it fail
1110 on many Red Hat boxes!
1112 Daniel (20 August 2001)
1113 - We need an updated libtool to make a better build environment for OpenBSD
1118 Daniel (20 August 2001)
1119 - Brad pointed out that we ship two extra libtool files in the tarballs that
1120 we really don't need to! Removing them makes the gz-archive about 60K
1123 - Albert Chin brought fixes for the configure script to detect socklen_t
1124 properly as well as moving lots of our custom autoconf macros to
1127 Daniel (19 August 2001)
1128 - Moonesamy improved his -G feature for host names only URLs...
1130 Daniel (17 August 2001)
1131 - Finally cleaned up the kerberos code to use Curl_ prefixes on all global
1132 symbols and to not use global variables.
1136 Daniel (16 August 2001)
1137 - S. Moonesamy added the -G option to curl, that converts the data specified
1138 with -d to a GET request. Default action when using -d is POST. When -G is
1139 used, the -d specified data will be appended to the URL with a '?'
1140 separator. As suggested previously by Kevin Roth.
1142 - curl-config --libs should now display all linker options required to link
1143 with libcurl. It includes the path and options for libcurl itself.
1144 curl-config --cflags displays the compiler option(s) needed to compile
1145 source files that use libcurl functions. Basically, that sets the include
1148 Daniel (15 August 2001)
1149 - Arkadiusz Miskiewicz pointed out a mistake in how IPv6-style IP-addresses
1150 were parsed and used. (RFC2732-format)
1152 - Bug #12733 over on php.net identified a problem in libcurl that made it core
1153 dump if you used CURLOPT_POST without setting any data to post with
1154 CURLOPT_POSTFIELDS! This is no longer the case. Not using CURLOPT_POSTFIELDS
1155 now equals setting it to no data at all.
1157 - Ramana Mokkapati reported that curl with '-w %{http_code}' didn't work
1158 properly when used for multiple URLs on a single command line. Indeed, the
1159 variable was not reset between the requests. This is now fixed.
1161 - David James fixed the Borland makefile so that libcurl still compiles and
1162 builds with that compiler.
1164 Daniel (14 August 2001)
1165 - Oops. I ruined Nico's socklen_t define in config-vms.h, corrected it now.
1167 - An older item not mentioned here before: CURL_GLOBAL_WIN32 is a define for
1168 windows users to curl_global_init(), that makes libcurl init the winsock
1169 stuff. If libcurl is all socket stuff you do, then allowing it to fiddle
1170 with this is a comfortable shortcut to fame.
1174 Daniel (14 August 2001)
1175 - Nico Baggus provided more feedback from his VMS porting efforts and a few
1176 minor changes were necessary.
1178 - I modified configure.in so that --enable-debug sets more picky gcc options.
1179 I then removed almost all the new warnings that appeared, and by doing so I
1180 corrected the size_t-treated-as-signed problem that has been discussed on
1181 the mailing list previously. I also removed a bunch of the just recently
1182 added #ifdef VMS lines.
1184 - I removed the use of a global variable in the SSL code. It was once
1185 necessary but hasn't been needed since OpenSSL 0.9.4. The old code should
1186 (hopefully) still work if libcurl is built against an ancient version of
1189 Daniel (13 August 2001)
1190 - Peter Todd posted a patch that now allows non-file rc1867-style form posts
1191 to be larger than 4K.
1193 Daniel (10 August 2001)
1194 - S. Moonesamy fixed bugs for building debug and SSL lib in VC makefile
1196 Daniel (9 August 2001)
1197 - The redirected error stream was closed before the curl_easy_cleanup() call
1198 was made, and when VERBOSE was enabled, the cleanup function tried to use
1199 the stream. It could lead to a segmentation fault. Also, the stream was
1200 closed even if we looped to get more files. Corrects Dustin Boswell's bug
1203 - Now generates the release configure script with autoconf 2.52
1207 Daniel (8 August 2001)
1208 - curl -E uses a colon to separate a file name from a passphrase. This turned
1209 out really bad for the windows people who wants to include a drive letter in
1210 the file name like "c:\cert.pem". There's now a win32 work-around
1211 implemented that tries work around that, when the colon seems to be used for
1212 this kind of construct.
1214 - Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
1215 verify the server's CN field when talking https://. If --cacert is not used,
1216 any failures in matching is only displayed as information (-v).
1218 Daniel (7 August 2001)
1219 - Wrote up nine more test cases, more or less converted from the former test
1222 Daniel (6 August 2001)
1223 - Heikki Korpela posted a patch that makes 'curl-config --libs' include the
1224 directory in which libcurl itself is installed in. While this wasn't my
1225 initial intention with this option, it makes sense and makes linking with
1228 - Stefan Ulrich pointed out to us that other tools and libraries treat file://
1229 URLs with only one slash after the host name slighly different than libcurl
1230 does. Since all the others seem to agree, we better follow them.
1232 - Nico Baggus provided us with a huge set of fixes to make curl compile and
1233 build under OpenVMS.
1237 Daniel (6 August 2001)
1238 - Jonathan Hseu noticed that you couldn't get a header callback unless you
1239 set CURLOPT_WRITEHEADER to non-NULL, even if you didn't care about that
1240 data. This is now fixed.
1242 Daniel (5 August 2001)
1243 - Sergio Ballestrero provided a patch for reading responses from NCSA httpd
1244 1.5.x servers, as they return really screwed up response headers when asked
1247 - curl_escape() no longer treats already encoded characters in the input
1250 Daniel (3 August 2001)
1251 - I replaced the former lib/arpa_telnet.h file with one I wrote myself, to
1252 avoid the BSD annoucement clause of the license in the former file.
1254 - Andrew Francis provided a new version of base64.c to work around the license
1255 boiler plate that came with the previous one. I patched it, but the glory
1256 should go to Andrew for his heads up.
1258 - Tomasz Lacki noticed that when you do repeated transfers with libcurl you
1259 couldn't always reliably change HTTP request. This has now been fixed and a
1260 new libcurl option was added: CURLOPT_HTTPGET, that can force the HTTP
1261 requestr (back) to GET.
1263 - Linus Nielsen Feltzing pointed out that httpsserver.pl wasn't included in
1264 release archives. It should be now.
1266 Daniel (2 August 2001)
1267 - Frank Keeney pointed out a manual mistake for certificate convertions.
1269 - Tomasz Lacki pointed out a problem in the transfer loop that could make the
1270 select() loop use far too much CPU.
1272 - Pawel A. Gajda pointed out an output mistake done when using libcurl's
1275 Daniel (29 June 2001)
1276 - Naveen Noel noticed that the Borland library makefile wasn't updated.
1278 - Nic Roets brought a fix for the certificate verification when using SSL.
1280 Daniel (27 June 2001)
1281 - Made the FTP tests run OK even on machines running curl IPv6-enabled.
1283 - Troy Engel corrected some RPM package details.
1287 Daniel (25 June 2001)
1288 - Björn Stenberg correctly identified a problem that occurred when downloading
1289 several files with curl, and using resume. The first file's resume index was
1290 then used for all files, resulting in weird results...
1292 - Anton Kalmykov provided a fix that makes curl work with form field names
1293 with spaces like when -F is used.
1297 Daniel (20 June 2001)
1298 - Mike Bytnar provided a fine report that proved that the --with-ssl option
1299 for configure needed tweaking. It no longer searches the default directories
1300 for OpenSSL libs or directories when a specified path is given.
1302 Daniel (19 June 2001)
1303 - When an FTP transfer is cut off during transfer, curl could present a truly
1304 garbaged error message and in worst case dump core. Thanks to detailed
1305 reports from Shawn Poulson we nailed this.
1307 Daniel (12 June 2001)
1308 - Salvador Dávila provided a fix for FTP range downloads.
1310 - Added a few more test cases from the former test suite to the new file
1311 format. We're now at a total of 26 tests.
1313 Daniel (11 June 2001)
1314 - libcurl's version-info was wrong, as noted by both Domenico Andreoli and
1317 Daniel (7 June 2001)
1318 - Jörn fixed the curl_unescape duplicate entry in lib/libcurl.def
1320 - I made SSL certificate failure messages to be more detailed.
1324 Daniel (7 June 2001)
1325 - SDavila provided a resumed download fix.
1329 Daniel (1 June 2001)
1330 - Sterling provided some new PHP examples.
1332 - Changed the CVS hierarchy and the older checkout instruction does no longer
1333 work. We moved the entire source code into a CVS module named 'curl'.
1335 Daniel (31 May 2001)
1336 - CURLOPT_MUTE does not exist anymore. It is still present in the include file
1337 to not cause compiler errors for applications using it, but it isn't used
1338 anywhere in the library.
1342 Daniel (31 May 2001)
1343 - Once and for all fixed the _REENTRANT mess for Solaris compiles to present
1346 - Sterling Hughes tirelessly points out and corrects my mistakes...! So,
1347 curl_global_init() now lets the argument flags *SET* what parts to
1348 init. CURL_GLOBAL_DEFAULT makes a nice default, CURL_GLOBAL_ALL inits all
1349 known subsystems and CURL_GLOBAL_NONE inits nothing more than absolutely
1350 necessary. Man page updated accordingly.
1352 - Fixed the strtok.h include file as it wouldn't compile on all platforms!
1354 Daniel (30 May 2001)
1355 - Made libcurl by default act as if CURLOPT_MUTE and CURLOPT_NOPROGRESS were
1356 set TRUE. Set them to FALSE to make libcurl more talkative. The *_MUTE
1357 option is subject for complete removal...
1361 Daniel (30 May 2001)
1362 - Cris Bailiff wrote a makefile for building Solaris packages.
1364 - Sterling Hughes brought fixes for 'buildconf' (the build-from-CVS tool) and
1365 we discussed and added a few CURL_GLOBAL_* flags in include/curl.h
1367 - Kjetil Jacobsen privately announced his python interface to libcurl,
1368 available at http://pycurl.sourceforge.net/
1370 Daniel (29 May 2001)
1371 - Sterling Hughes fixed a strtok() problem in libcurl. It is not a thread-
1372 safe function. Now configure checks for a thread-safe version, and
1373 lib/strtok.c offers one for the systems that don't come with one included!
1375 - Mettgut Jamalla correctly pointed out that the -# progress bar was written
1376 to stderr even though --stderr redirection was used. This is now corrected.
1378 - I moved out the list of contributors from the curl.1 man page and made a
1379 separate docs/THANKS file. It makes the list easier to find, and made it
1380 easier for me to make a separate web page with that same information.
1382 I really do want all you guys mentioned in there to feel you get the credit
1385 - lib/easy.c didn't compile properly in the 7.8-pre1 due to a silly mistake
1389 Daniel (28 May 2001)
1390 - curl-config now supports '--vernum' that outputs a plain hexadecimal version
1391 of the libcurl version number (using 8 bits for each 3 numbers). Version
1392 7.7.4 appears as 070704
1394 - Wrote man pages for curl_global_init and curl_global_cleanup...
1396 - T. Bharath brought news about the usage of the OpenSSL interface that was
1397 not previously taken into consideration and thus caused libcurl to leak
1398 memory. The only somewhat sane approach to fix this dilemma, is adding two
1399 two new functions curl_global_init() and curl_global_cleanup() that should
1400 be called *ONCE* by the application using libcurl. The init should be done
1401 only at startup, no matter how many threads the application is gonna use,
1402 and the cleanup should be called when the application has finished using
1405 *** UPGRADE NOTICE ***
1407 If you write applications using libcurl, you really want to use the two
1408 functions mentioned above !!!
1410 I can't say I think this is a very beautiful solution, but as OpenSSL
1411 insists on making lots of stuff on a "global" scope, we're forced to walk
1412 the path they point us to.
1414 - Moving more test cases into the new file format.
1418 Daniel (23 May 2001)
1419 - Introduced a new file format for storing test cases, and thus I had to
1420 modify all the perl test scripts and more (I added a new one). I have not
1421 "ported" all the old test cases to the new format yet, but it'll come.
1423 The main advantage of this new format is that all test data for each test
1424 case is stored in a single file. It gives a better overview for each test
1425 case and a lot less files.
1427 - Andrés García brought a fix for the netscape/mozilla cookie file parsing
1428 function, as it turns out it doesn't always store the path!
1430 Daniel (22 May 2001)
1431 - As was reported anonymously, when FAILONERROR was used, the httpcode was
1432 not stored properly and thus wasn't possibly to read after a transfer with
1433 the curl_easy_getinfo() function. This is now corrected.
1435 - Installed and made use of the following tool versions:
1440 I wouldn't recommend any developer to try to generate things with older
1441 versions than these. Building from CVS will probably more or less require
1442 at least these versions.
1444 As a result of this, the configure script grew to more than double its
1447 Arkadiusz Miskiewicz helped me by pointing out I had to remove my
1448 acinclude.m4 file before I could get it working!
1450 Daniel (21 May 2001)
1451 - I made ftps:// work. Added test case 400 to the release archive, as the
1452 first ftps:// test case. Requires stunnel.
1454 - Also made the test cases that runs ssl tests not run if libcurl isn't built
1457 Daniel (19 May 2001)
1458 - Made the configure not add any extra -L LDFLAGS or -I CPPFLAGS unless they
1459 are actually needed. Albert Chin's and Domenico Andreoli's suggestions
1464 Daniel (18 May 2001)
1465 - Nicer configure-check for the OpenSSL headers, which then sets the proper
1466 variable to have curl-config be good. (Albert Chin provided the fix)
1468 - For systems that don't have theiw own 'strlcat()' libcurl provides its own.
1469 It was now renamed to prevent collides with other libs. (After discussions
1470 with Sterling Hughes and the implications this had on PHP builds.)
1472 Daniel (17 May 2001)
1473 - Colm Buckley posted a detailed bug report on (the debianized) 7.7.3, that
1474 turned out to be a problem with the debian-built 7.7.3-package that
1475 contained files from the 7.7.2 release!
1477 - I added the CURLE_ALREADY_COMPLETE again, but with a fake value, just to
1478 make programs that use it, not fail when compiling against this version of
1481 Daniel (14 May 2001)
1482 - Pawel A. Gajda fixed a problem with resumed transfers on re-used persistent
1487 Daniel (14 May 2001)
1488 - Jun-ichiro itojun Hagino fixed FTP PORT for IPv6-enabled libcurl.
1490 - Added the first HTTPS test to the test suite in the release archive.
1492 Daniel (12 May 2001)
1493 - Jukka Pihl suggested that if (lib)curl is told to verify the peer's
1494 certificate and the peer can't be verified, it should fail and return a
1495 proper error code. I added a brand new error code named
1496 CURLE_SSL_PEER_CERTIFICATE for this purpose.
1498 Daniel (11 May 2001)
1499 - As was discussed with Frederic Lepied a while ago, I now made libcurl not
1500 return error even though no data was transfered on upload/download resume
1501 when the no transfer is needed. The CURLE_ALREADY_COMPLETE error was removed
1502 from the header file to make any implemenator that uses that to be aware of
1503 the fact that it can't be returned anymore!
1505 - Improved general header-parsing to better allow white spaces and more.
1507 - Rodney Simmons proved the fix I did yesterday was bad and I had to post
1510 - Ingo Wilken patched away two redirect problems more!
1512 Daniel (10 May 2001)
1513 - Cris Bailiff correctly noted that the space-after-header problem with
1514 Location: is present on several other places in the libcurl sources.
1516 - Ingo Wilken patched away a problem libcurl had when following Location:
1517 headers with an extra space after the colon.
1519 - Rodney Simmons found out that multiple FTP transfers did not treat relative
1520 directories correctly.
1523 - Getting an FTP file with CURLOPT_NOBODY set (or -I from the command line),
1524 makes curl use the non-standard ftp command "SIZE". If it failed, libcurl
1525 returned error. Starting now, it just don't output the file size instead.
1526 Anonymous bug report.
1528 - stunnel.pm was accidentally left out from the release archive, it is now
1529 added (stunnel is needed to run the https-tests in the test suite)
1532 - Corrected two minor compiler warnings due to the FILE * to void * conversion
1533 that I missed at two places. Jörn Hartroth brought me patches. Sander Gates
1534 filed a bug report on this.
1539 - All callback functions now take 'void *' instead of 'FILE *'. This is made
1540 this way to make it more obvious to people that anything can be passed to
1541 them (by using the apropriate option). After discussions with Sterling
1545 - Cris Bailiff fixed a chunked transfer encoding problem with persistent
1546 connection that made libcurl fail if the persistent connection used mixed
1547 chunked and non-chunked transfers.
1549 - Cris Bailiff fixed a bad treatment of 304-replies, as they would not be
1550 treated as content-length 0 replies but would cause a "hang" until the
1551 server timed-out and closed the connection.
1553 - Brad Burdick found a minor problem in the docs/examples/Makefile.am
1555 Daniel (27 April 2001)
1556 - Updated the INTERALS document again. It was lagging a bit. I think I made it
1557 more easy to follow now as well.
1559 - Brad Burdick found a problem with persistent connections when curl received
1560 a "Content-Length: 0" header.
1562 - Giuseppe D'Ambrosio was first out to report that TELNET doesn't work in curl
1563 compiled/built on win32. It seems to work for unixes though!
1565 - Dave Hamilton reported weird problems with CURL/PHP that I really can't
1566 explain at the moment. I'm hoping on some help from the PHP crew.
1568 Daniel (26 April 2001)
1569 - I rewrote the FTP command response function. I had to do it to make ftps
1570 work, as the OpenSSL read()-function didn't work the same way the normal
1571 unix read() does, but it was also a huge performance boost. Previously the
1572 function read one byte at a time, now it reads very large chunks, and it
1573 makes a notable speed difference.
1575 Daniel (25 April 2001)
1576 - Connection re-use when not using a proxy didn't work properly for
1577 non-default port numbers.
1579 Daniel (24 April 2001)
1580 - I've noticed that FTPS doesn't work. We attempt to use ssl even for the
1581 data transfer, which causes the transfer to 'hang'... We need to fix this.
1583 - Improved the test suite to use 'stunnel' to do HTTPS and FTPS testing on
1584 the alredy written perl servers easily.
1586 Daniel (23 April 2001)
1587 - The OpenSSL version string recently modified didn't zero terminate one
1588 of the generated strings properly, which could lead to a crash or simply
1589 weird version string output!
1593 Daniel (22 April 2001)
1594 - Rosimildo da Silva updated the Makefiles for Borland/Windows.
1596 - Eric Rautman pointed out a problem with persistent connections that would
1597 lead to broken Host: headers in the second HTTP request.
1599 Daniel (20 April 2001)
1600 - Added man pages for the curl_strequal() and curl_mprintf() families. Wrote
1601 a 'libcurl overview' man page.
1603 - Spell-fixed some documents.
1605 - S. Moonesamy corrected mistakes in the man page.
1607 - Cris Bailiff fixed the curl_slists options in the perl interface, present
1608 separately in the Curl::easy 1.1.4 package.
1610 Daniel (19 April 2001)
1611 - Linus Nielsen Feltzing removed the decimals from the size variables in the
1612 --write-out output. We hardly ever get fraction of bytes! :-)
1616 Daniel (19 April 2001)
1618 - Albert Chin provided a configure patch for the AC_SYS_LARGEFILE macro.
1620 Daniel (18 April 2001)
1621 - Input from Michael Mealling made me add --feature to curl-config. It
1622 displays a list of features that have been built-in in the current
1623 libcurl. The currently available features that can be listed are: SSL, KRB4
1626 - I committed Cris and Georg's perl interface work. They've got callbacks
1627 working and options that receives those slist pointers.
1629 - Puneet Pawaia detected a problem with resumed downloads that use persistent
1630 connections and I made a rather large writeup to correct this. It is
1631 important that all session-data is stored in the connectdata struct and not
1632 in the main struct as this previously did.
1634 Daniel (17 April 2001)
1635 - Frederic Lepied fixed a ftp resumed download problem and introduced a new
1636 error code that lets applications be able to detect when a resumed download
1637 actually didn't download anything since the whole file is already present.
1638 Should this return OK instead?
1640 - I added 'curl-config.in' to the root dir and configure script. Now, a
1641 curl-config script is made when curl is built. The script can be used to
1642 figure out compile time options used when libcurl was built, which in turn
1643 should be options YOU should use to build applications that use libcurl.
1645 This *-config style is not a new idea, but something that has been used
1646 successfully in other (library based) projects.
1648 - Phil Karn pointed out that libcurl wrongly did not always use GMT time zone
1649 for the If-Modified-Since style headers.
1651 - Georg Schwarz pointed out an extra needed #include file needed in src/main.c
1652 for curl to build on Ultrix.
1654 Daniel (11 April 2001)
1655 - Cris Bailiff pointed out two problems that I corrected. First, libcurl's use
1656 of the environment variable HTTP_PROXY in uppercase may become a security
1657 hazard when people use libcurl in a server/cgi situation where the server
1658 sets the HTTP_*-variables according to incoming headers in the HTTP
1659 request. Thus, a "Proxy:"-header would set that environment variable!
1661 Then, invoking curl_easy_perform() without having an URL set caused a crash.
1663 - S. Moonesamy brought a patch that make curl use non-blocking connects on
1664 windows when connection timeout is set, as it allows windows users to set
1667 - Hirotaka Matsuyuki wrote a Ruby interface to libcurl!
1669 - Cris Bailiff, Forrest Cahoon and Georg Horn work on the Perl interface.
1671 - I've written a first shot at a Java interface to libcurl. Many thanks to
1672 Daniel Marell for tirelessly answering to all my basic Java questions. It
1673 works, but it is still very basic.
1675 Daniel (10 April 2001)
1676 - The progress display could get silly when doing multiple file transfers, as
1677 it wasn't properly reset between transfers!
1679 - Discussions with Cris Bailiff who writes a Perl interface to libcurl, made
1680 me add CURLOPT_HEADERFUNCTION. It can be used to set a separate callback
1681 function for writing headers. Previously you could only set a different FILE
1682 * when headers are written from within libcurl.
1684 Daniel (7 April 2001)
1685 - Andrés García fixed a problem in curl_escape() and pointed out a flaw in
1686 the curl_easy_setopt man page.
1688 Daniel (6 April 2001)
1689 - Adjusted the version code to properly display OpenSSL 0.9.6a. They sure
1690 change their version define format often...
1692 - curl_formfree() now accepts a NULL pointer without crashing!
1696 Daniel (3 April 2001)
1697 - Puneet Pawaia pointed out two serious problems. Libcurl would attempt to
1698 read bad memory during situations when an (ftp) connection attempt failed.
1699 Also, the lib/Makefile.vc6 was corrected.
1701 - More investigations in the Location: following code made me realize that
1702 it was not clean enough to work transparantly with persistent and non-
1703 persistent connections. I think I've fixed it now.
1705 Daniel (29 March 2001)
1706 - Georg Horn mailed me some corrections for the Curl::easy perl interface.
1708 - Experimental ftps:// support added. It is basically FTP over SSL for the
1709 control connection. It still makes all data transfers going over unencrypted
1710 connections. Rainer Weikusat's ftpd-ssl server hack supports this and I used
1711 that to verify the functionality.
1713 Daniel (27 March 2001)
1714 - Guenole Bescon discovered that if you set a CURLOPT_TIMEOUT and then tried
1715 to get a file from a site and it fails, the SIGALRM would still be sent
1716 after the timeout-time, quite inexpectedly!
1718 - I added an ftp transfer example to docs/examples/ and I also wrote a tiny
1719 example makefile that can be used as a start when building one of the
1724 Daniel (26 March 2001)
1725 - Mohamed Lrhazi reported problems with 7.6.1 and persistent HTTP/1.0
1726 connections (when the server replied a Connection: Keep-Alive) and this
1727 problem was not properly dealt with in 7.7 either. A patch was posted to the
1728 curl-and-php mailing list.
1730 Daniel (24 March 2001)
1731 - Colin Watson reported about a problem and brought a patch that corrected it,
1732 which was about the man page and lines starting with a single quote (') in a
1733 way that gnroff doesn't like.
1735 Daniel (23 March 2001)
1736 - Peter Bray reported correctly that the root makefile used make instead of
1737 $(MAKE) for the test target.
1739 - Corrected the Curl::easy perl interface to use curl_easy_setopt() and not
1740 curl_setopt() which was removed in 7.7!
1742 - S. Moonesamy provided updates on three documents (MANUAL, INSTALL and FAQ).
1744 - When following a Location:, libcurl would sometimes write to the URL string
1745 in a way it shouldn't. As the pointer is passed-in to libcurl from an
1746 application, we can't be allowed to write to it. The particular bug report
1747 from 'nk' that brought this up was because he had a read-only URL that then
1748 caused a libcurl crash!
1750 - No longer reads HEAD responses longer than to the last header. Previously,
1751 curl would read the full reply if the connection was a "close" one.
1753 - libcurl did re-use connections way too much. Doing "curl
1754 http://www.{microsoft,ibm}.com" would make it re-use the connection which
1755 made the second request return very odd results.
1757 Daniel (22 March 2001)
1758 - Edin Kadribasic made me aware that curl should not re-send POST requests
1759 when following 302-redirects. I made 302 work like 303 which means curl uses
1760 GET in the following request(s).
1762 - libcurl now reset the "followed-location" counter on each invoke of
1763 curl_easy_perform() as it otherwise would sum up all redirects on the same
1764 connection and thus could reach the maxredirs counter wrongly.
1766 - Jim Drash suggested curl_escape() should not re-encode what already looks
1767 like an encoded sequence and I think that's a fair suggestion.
1771 Daniel (22 March 2001)
1772 - The configure script now fails with an error message if gethostbyname_r() is
1773 detected but it couldn't figure out how to invoke it (what amount of
1774 arguments it is supposed to get). Reports from Andrés García made me aware
1777 - Talking with Jim Drash made me finally put the curl_escape and curl_unescape
1778 functions in the curl.h include file and write man pages for them. The
1779 escape function was modified to use the same interface as the unescape one
1782 - No bug reports at all on the latest betas. Release time coming up.
1786 Daniel (19 March 2001)
1787 - Georg Ottinger reported problems with using -C together with -L in the sense
1788 that the -C info got lost when it was redirected. I could not repeat this
1789 problem on the 7.7 branch why I leave this for the moment. Test case 39 was
1790 added to do exactly this, and it seems to do right.
1792 - Christian Robottom Reis reported how his 7.7 beta didn't successfully do
1793 form posts as elegantly as 7.6.1 did. Indeed, this was a flaw in the header
1794 engine, as HTTP 1.1 has introduced a new 100 "transient" return code for PUT
1795 and POST operations that I need to add support for. Section 8.2.3 in RFC2616
1796 has all the details. Seems to work now!
1798 Daniel (16 March 2001)
1799 - After having experienced another machine break-down, we're back.
1801 - Georg Horn's perl interface Curl::easy is now included in the curl release
1802 archive. The perl/ directory is now present. Please help me with docs,
1803 examples and updates you think fit.
1805 - Made a new php/ directory in the release archive and moved the PHP examples
1806 into a subdirectory in there. Not much PHP info yet, but I plan to. Please
1807 help me here as well!
1809 - Made libcurl return error if a transfer is aborted in the middle of a
1810 "chunk". It actually enables libcurl to discover premature transfer aborts
1811 even if the Content-Length: size is unknown.
1813 Daniel (15 March 2001)
1814 - Added --connect-timeout to curl, which sets the new CURLOPT_CONNECTTIMEOUT
1815 option in libcurl. It limits the time curl is allowed to spend in the
1816 connection phase. This differs from -m/--max-time that limits the entire
1817 file transfer operation. Requested by Larry Fahnoe and others.
1819 I also updated the curl.1 and curl_easy_setopt.3 man pages and removed the
1824 Daniel (14 March 2001)
1825 - Made curl grok IPv6 with HTTP proxies and got everything to compile nicely
1826 again when ENABLE_IPV6 is set.
1828 I need to remake things in the test suite. I can't test the FTP parts with
1829 curl built for IPv6 as it uses a different set of FTP commands then!
1831 - I fell onto a bug report on php.net (posted by Lars Torben Wilson) that was
1832 a report meant for our project. Anyway, it said the .netrc parsing didn't
1833 work as supposed, and as I agreed with Lars, I made the netrc parser use
1834 getpwuid() to figure out the home directory of the effective user and try
1835 that netrc. It still uses the environment variable HOME for those that don't
1836 have that function or if the user doesn't return valid pwd info.
1838 - Edin Kadribaic posted a bug report where he got a crash when a fetch with
1839 user+password in the URL followed a Location: to a second URL (absolute,
1840 without name+password). This bug has been around for a long while and
1841 crashes due to a read at address zero. Fixed now. Wrote test case 38, that
1844 - Modified the test suite's httpserver slightly to append all client request
1845 data to its log file so that the test script now better can verify a range
1846 of requests and not only the last one, as it did previously.
1848 - Updated the curl man page with --random-file and --egd-file details.
1852 Daniel (14 March 2001)
1853 - Björn Stenberg provided similar fixes as Jörn did and some additional patches
1854 for non-SSL compiles.
1856 - I increased the interface number for libcurl as I've removed the low level
1857 functions from the interface. I also took this opportunity to rename the
1858 Curl_strequal function to curl_strequal and Curl_strnequal to
1859 curl_strnequal, as they're public libcurl functions (even if they're still
1862 This will make older programs not capable of using the new libcurl with
1863 just a drop-in replacement.
1865 - Jörn Hartroth updated stuff for win32 compiles:
1866 o config-win32.h was fixed for socklen_t
1867 o lib/ssluse.c had a bad #endif placement
1868 o lib/file.c was made to compile on win32 again
1869 o lib/Makefile.m32 was updated with the new files
1870 o lib/libcurl.def matches the current interface state
1872 Daniel (13 March 2001)
1873 - It only took an hour or so before Jörn Hartroth found a problem in the
1874 chunked transfer-encoding. Given his fine example-site, I could easily spot
1875 the problem and when I re-read the spec (the part I have pasted in the top
1876 of the http_chunks.h file), I realized I had made my state-machine slightly
1877 wrong and didn't expect/handle the trailing CRLF that comes after the data
1878 in each chunk (and those extra two bytes sure feel wasted).
1880 Had to modify test case 34 to match this as well.
1884 Daniel (13 March 2001)
1885 - Added the policy stuff to the curl_easy_setopt man page for the two supported
1888 - Implemented some support for the CURLOPT_CLOSEPOLICY option. The policies
1889 CURLCLOSEPOLICY_LEAST_RECENTLY_USED and CURLCLOSEPOLICY_OLDEST are now
1890 supported, and the "least recently used" is used as default if no policy
1893 Daniel (12 March 2001)
1894 - Added CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET to libcurl for seeding the
1895 SSL random engine. The random seeding support was also brought to the curl
1896 client with the new options --random-file <file> and --egd-file <file>. I
1897 need some people to really test this to know they work as supposed. Remember
1898 that libcurl now informs (if verbose is on) if the random seed is considered
1899 weak (HTTPS connections).
1901 - Made the chunked transfer-encoding engine detected bad formatted data length
1902 and return error if so (we can't possibly extract sensible data if this is
1903 the case). Added a test case that detects this. Number 36. Now there are 60
1906 - Added 5 new libcurl options to curl/curl.h that can be used to control the
1907 persistent connection support in libcurl. They're also documented (fairly
1908 thoroughly) in the curl_easy_setopt.3 man page. Three of them are now
1909 implemented, although not really tested at this point... Anyway, the new
1910 implemented options are named CURLOPT_MAXCONNECTS, CURLOPT_FRESH_CONNECT,
1911 CURLOPT_FORBID_REUSE. The ones still left to write code for are:
1912 CURLOPT_CLOSEPOLICY and its related option CURLOPT_CLOSEFUNCTION.
1914 - Made curl (the actual command line tool) use the new libcurl 7.7 persistent
1915 connection support by re-using the same curl handle for every specified file
1916 transfer and after some more test case tweaking we have 100% test case OK.
1917 I made some test cases return HTTP/1.0 now to make sure that works as well.
1919 - Had to add 'Connection: close' to the headers of a bunch of test cases so
1920 that curl behaves "old-style" since the test http server doesn't do multiple
1921 connections... Now I get 100% test case OK.
1923 - The curl.haxx.se site, the main curl mailing list and my personal email are
1924 all dead today due to power blackout in the area where the main servers are
1927 - I've made persistance work over a squid HTTP proxy. I find it disturbing
1928 that it uses headers that aren't present in any HTTP standard though
1929 (Proxy-Connection:) and that makes me feel that I'm now on the edge of what
1930 the standard actually defines. I need to get this code excercised on a lot
1931 of different HTTP proxies before I feel safe.
1933 Now I'm facing the problem with my test suite servers (both FTP and HTTP)
1934 not supporting persistent connections and libcurl is doing them now. I have
1935 to fix the test servers to get all the test cases do OK.
1937 Daniel (8 March 2001)
1938 - Guenole Bescon reported that libcurl did output errors to stderr even if
1939 MUTE and NOPROGRESS was set. It turned out to be a bug and happens if
1940 there's an error and no ERRORBUFFER is set. This is now corrected.
1944 Daniel (8 March 2001)
1945 - "Transfer-Encoding: chunked" is no longer any trouble for libcurl. I've
1946 added two source files and I've run some test downloads that look fine.
1948 - HTTP HEAD works too, even on 1.1 servers.
1950 Daniel (5 March 2001)
1951 - The current 57 test cases now pass OK. It would suggest that libcurl works
1952 using the old-style with one connection per handle. The test suite doesn't
1953 handle multiple connections yet so there are no test cases for this.
1955 - I patched the telnet.c heavily to not use any global variables anymore. It
1956 should make it a lot nicer library-wise.
1958 - The file:// support was modified slightly to use the internal connect-first-
1961 Daniel (4 March 2001)
1966 Daniel (4 March 2001)
1967 - Now, there's even a basic check that a re-used connection is still alive
1968 before it is assumed so. A few first tests have proven that libcurl will
1969 then re-connect instead of re-use the dead connection!
1971 Daniel (2 March 2001)
1972 - Now they work intermixed as well. Major coolness!
1974 - More fiddling around, my 'tiny' client I have for testing purposes now has
1975 proved to download both FTP and HTTP with persistent connections. They do
1976 not work intermixed yet though.
1978 Daniel (1 March 2001)
1979 - Wilfredo Sanchez pointed out a minor spelling mistake in a man page and that
1980 curl_slist_append() should take a const char * as second argument. It does
1983 Daniel (22 February 2001)
1984 - The persistent connections start to look good for HTTP. On a subsequent
1985 request, it seems that libcurl now can pick an already existing connection
1986 if a suitable one exists, or it opens a new one.
1988 - Douglas R. Horner mailed me corrections to the curl_formparse() man page
1991 Daniel (20 February 2001)
1992 - Added the docs/examples/win32sockets.c file for our windows friends.
1994 - Linus Nielsen Feltzing provided brand new TELNET functionality and
1997 * Negotiation is now passive. Curl does not negotiate until the peer does.
1998 * Possibility to set negotiation options on the command line, currently only
1999 XDISPLOC, TTYPE and NEW_ENVIRON (called NEW_ENV).
2000 * Now sends the USER environment variable if the -u switch is used.
2001 * Use -t to set telnet options (Linus even updated the man page, awesome!)
2003 - Haven't done this big changes to curl for a while. Moved around a lot of
2004 struct fields and stuff to make multiple connections get connection specific
2005 data in separate structs so that they can co-exist in a nice way. See the
2006 mailing lists for discussions around how this is gonna be implemented. Docs
2007 and more will follow.
2009 Studied the HTTP RFC to find out better how persistent connections should
2010 work. Seems cool enough.
2012 Daniel (19 February 2001)
2013 - Bob Schader brought me two files that help set up a MS VC++ libcurl project
2014 easier. He also provided me with an up-to-date libcurl.def file.
2016 - I moved a bunch of prototypes from the public <curl/curl.h> file to the
2017 library private urldata.h. This is because of the upcoming changes. The
2018 low level interface is no longer being planned to become reality.
2020 Daniel (15 February 2001)
2021 - CURLOPT_POST is not required anymore. Just setting the POST string with
2022 CURLOPT_POSTFIELDS will switch on the HTTP POST. Most other things in
2023 libcurl already works this way, i.e they require only the parameter to
2024 switch on a feature so I think this works well with the rest. Setting a NULL
2025 string switches off the POST again.
2027 - Excellent suggestions from Rich Gray, Rick Jones, Johan Nilsson and Bjorn
2028 Reese helped me define a way how to incorporate persistent connections into
2029 libcurl in a very smooth way. If done right, no change may have to be made
2030 to older programs and they will just start using persistent connections when
2033 Daniel (13 February 2001)
2034 - Changed the word 'timeouted' to 'timed out' in two different error messages.
2035 Suggested by Larry Fahnoe.
2039 Daniel (9 February 2001)
2040 - Frank Reid and Cain Hopwood provided information and research around a HTTPS
2041 PUT/upload problem we seem to have. No solution found yet.
2043 Daniel (8 February 2001)
2044 - An interesting discussion is how to specify an empty password without having
2045 curl ask for it interactively? The current implmentation takes an empty
2046 password as a request for a password prompt. However, I still want to
2047 support a blank user field. Thus, today if you enter "-u :" (without user
2048 and password) curl will prompt for the password. Tricky. How would you
2049 specify you want the prompt otherwise?
2051 - Made the netrc parse result possible to use for other protocols than FTP and
2052 HTTP (such as the upcoming TELNET fixes).
2054 - The previously mentioned "MSVC++ problems" turned out to be a non-issue.
2056 - Added a HTTP file upload code example in the docs/examples/ section on
2059 - Adjusted the FTP response fix slightly.
2063 Daniel (7 February 2001)
2064 - S. Moonesamy found a flaw in the response reading function for FTP that
2065 could make libcurl not get out of the loop properly when it should, if
2066 libcurl got -1 returned when reading the socket.
2068 - I found a similar mistake in http.c when using a proxy and reading the
2069 results from the proxy connection.
2071 Daniel (6 February 2001)
2072 - S. Moonesamy pointed out that the VC makefile in src/ needed the libpath set
2073 for the debug build to work.
2075 - Daniel Gehriger stepped in to assist with the VC++ stuff Robert Weaver
2076 brought up yesterday.
2078 Daniel (5 February 2001)
2079 - Jun-ichiro itojun Hagino brought a big patch that brings IPv6-awareness to
2080 a bunch of different areas within libcurl.
2082 - Robert Weaver told me about the problems the MS VC++ 6.0 compiler has with
2083 the 'static' keyword on a number of libcurl functions. I might need to add a
2084 patch that redefines static when libcurl is compiled with that compiler.
2085 How do I know when VC++ compiles, anyone?
2087 Daniel (4 February 2001)
2088 - curl_getinfo() was extended with two new options:
2089 CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD. They
2090 return the full assumed content length of the transfer in the given
2091 direction. The CURLINFO_CONTENT_LENGTH_DOWNLOAD will be the Content-Length:
2092 size of a HTTP download. Added descriptions to the man page as well. This
2093 was done after discussions with Bob Schader.
2095 Daniel (3 February 2001)
2096 - Ingo Ralf Blum provided another fix that makes curl build under the more
2097 recent cygwin installations. It seems they've changed the preset defines to
2098 not include WIN32 anymore.
2102 Daniel (31 January 2001)
2103 - Curl_read() and curl_read() now return a ssize_t for the size, as it had to
2104 be able to return -1. The telnet support crashed due to this and there was a
2105 possibility to weird behavior all over. Linus Nielsen Feltzing helped me
2108 - Added a configure.in check for a working getaddrinfo() if IPv6 is requested.
2109 I also made the configure script feature --enable-debug which sets a couple
2110 of compiler options when used. It assumes gcc.
2112 Daniel (30 January 2001)
2113 - I finally took a stab at the long-term FIXME item I've had on myself, and
2114 now libcurl will properly work when doing a HTTP range-request that follows
2115 a Location:. Previously that would make libcurl fail saying that the server
2116 doesn't seem to support range requests.
2118 Daniel (29 January 2001)
2119 - I added a test case for the HTTP PUT resume thing (test case 33).
2123 Daniel (29 January 2001)
2124 - Yet another Content-Range change. Ok now? Bob Schader checks from his end
2125 and it works for him.
2127 Daniel (27 January 2001)
2128 - So the HTTP PUT resume fix wasn't good. There should appearantly be a
2129 Content-Range header when resuming a PUT.
2131 - I noticed I broke the download-check that verifies that a resumed HTTP
2132 download is actually resumed. It got broke because my new 'httpreq' field
2133 in the main curl struct. I should get slapped. I added a test case for
2134 this now, so I won't be able to ruin this again without noticing.
2136 - Added a test case for content-length verifying when downloading HTTP.
2138 - Made the progress meter title say if the transfer is being transfered. It
2139 makes the output slightly better for resumes.
2141 - When dealing with Location: and HTTP return codes, libcurl will not attempt
2142 to follow the spirit of RFC2616 better. It means that when POSTing to a
2143 URL that is being following to a second place, the standard will judge on
2144 what to do. All HTTP codes except 303 and 305 will cause curl to make a
2145 second POST operation. 303 will make a GET and 305 is not yet supported.
2147 I also wrote two test cases for this POST/GET/Location stuff.
2151 Daniel (26 January 2001)
2152 - Lots of mails back and forth with Bob Schader finally made me add a small
2153 piece of code in the HTTP engine so that HTTP upload resume works. You can
2154 now do an operation like 'curl -T file -C <offset> <URL>' and curl will PUT
2155 the ending part of the file starting at given offet to the specified URL.
2159 Daniel (25 January 2001)
2160 - I took hold of Rick Jones' question why we don't use recv() and send() for
2161 reading/writing to the sockets and I've now modified the sread() and
2162 swrite() macros to use them instead. If nothing else, they could be tested
2163 in the next beta-round coming right up.
2165 - Jeff Morrow found a problem with libcurl's usage of SSL_read() and supplied
2166 his research results in how to fix this. It turns out we have to invoke the
2167 function several times in some cases. The same goes for the SSL_write().
2169 I made some rather drastic changes all over libcurl to make all writes and
2170 reads get done on one single place so that this repeated-attempts thing
2171 would only have to be implemented at one point.
2173 - Rick Jones spotted that the 'total time' counter really didn't measure the
2174 total time very accurate on subsecond levels.
2176 - Johan Nilsson pointed out the need to more clearly specify that the timeout
2177 value you set for a download is for the *entire* download. There's currently
2178 no option available that sets a timeout for the connection phase only.
2180 Daniel (24 January 2001)
2181 - Ingo Ralf Blum submitted a series of patches required to get curl to compile
2182 properly with cygwin.
2184 - Robert Weaver posted a fix for the win32 section of the curl_getenv() code
2185 that corrected a potential memory leak.
2187 - Added comments in a few files in a sudden attempt to make the sources more
2188 easy to read and understand!
2190 Daniel (23 January 2001)
2191 - Added simple IPv6 detection in the configure script and made the version
2192 string add 'ipv6' to the enable section in that case. ENABLE_IPV6 will be
2193 set if curl is compiled with IPv6 support enabled.
2195 - Added a parser for IPv6-style specified IP-addresses in a URL. Thus, when
2196 IPv6 gets enabled soon, we can use URLs like '[0::1]:80'...
2198 - Made the URL globbing in the client possible to fail silently if there's an
2199 error in the globbing. It makes it almost intuitive, so when you don't
2200 follow the syntax rules, globbing is simply switched off and the raw string
2203 I still think we'll get problems with IPv6-style IP-addresses when we *want*
2204 globbing on parts of the URL as the initial part of the URL will for sure
2205 seriously confuse the globber.
2207 Daniel (22 January 2001)
2208 - Björn Stenberg supplied a progress meter patch that makes it look better even
2209 during slow starts. Previously it made some silly assumptions...
2211 - Added two FTP tests for -Q and -Q - stuff since it was being discussed on
2212 the mailing list. Had to correct the ftpserver.pl too as it bugged slightly.
2214 Daniel (19 January 2001)
2215 - Made the Location: parsers deal with any-length URLs. Thus I removed the last
2216 code that restricts the length of URLs that curl supports.
2218 - Added a --globoff test case (#28) and it quickly identified a memory problem
2219 in src/main.c that I took care of.
2223 Daniel (17 January 2001)
2224 - Made the two former files lib/download.c and lib/highlevel.c become the new
2225 lib/transfer.c which makes more sense. I also did the rename from Transfer()
2226 to Curl_Transfer() in the other source files that use the transfer function
2227 in the spirit of using Curl_ prefix for library-scoped global symbols.
2229 Daniel (11 January 2001)
2230 - Added -g/--globoff that switches OFF the URL globbing and thus enables {}[]
2231 letters to be part of the URL. Do note that RFC2396 section 2.4.3 explicitly
2232 mention these letters to be escaped. This was posted as a feature request by
2233 Jorge Gutierrez and as a bug by Terry.
2235 - Short options to curl that requires parameters can now be specified without
2236 having the option and its parameter space separated. -ofile works as good as
2237 -o file. -m20 is equal to -m 20. Do note that this goes for single-letter
2238 options only, verbose --long-style options still must be separated with
2239 space from their parameters.
2241 Daniel (8 January 2001)
2242 - Francis Dagenais reported that the SCO compiler still fails when compiling
2243 curl due to that getpass_r() prototype. I've now put it around #ifndef
2244 HAVE_GETPASS_R in an attempt to please the SCO systems.
2246 - Made some minor corrections to get the client to cleanup properly and I made
2247 the separator work again when getting multiple globbed URLs to stdout.
2249 - Worked with Loic Dachary to get the make dist and make distcheck work
2250 correctly. The 'maketgz' script is now using the automake generated 'make
2251 dist' when creating release archives. Loic successfully made 'make rpms'
2252 automatically build RPMs!
2254 Loic Dachary (6 January 2001)
2255 - Automated generation of rpm packages, no need to be root.
2257 - make distcheck generates a proper distribution (EXTRA_DIST
2258 in all Makefile.am modified to match FILES).
2260 Daniel (5 January 2001)
2261 - Huge client-side hack: now multiple URLs are supported. Any number of URLs
2262 can be specified on the command line, and they'll all be downloaded. There
2263 must be a corresponding -o or -O for each URL or the data will be written to
2264 stdout. This needs more testing, time to release a 7.6-pre package.
2266 - The krb4 support was broken in the release. Fixed now.
2268 - Huge internal symbol rename operation. All non-static but still lib-internal
2269 symbols should now be prefixed with 'Curl_' to prevent collisions with other
2270 libs. All public symbols should be prefixed with 'curl_' and the rest should
2271 be static and thus invisible to the outside world. I updated the INTERNALS
2272 document to say this as well.
2276 Daniel (4 January 2001)
2277 - As Kevin P Roth suggested, I've added text to the man page for every command
2278 line option and what happens when you specify that option more than
2279 once. That hasn't been exactly crystal clear before.
2281 - Made the configure script possible to run from outside the source-tree. For
2282 odd reasons I can't build curl properly outside though. It has to do with
2283 curl's dependencies on libcurl...
2285 - Cut off all older (dated 1999 and earlier) CHANGES entries from this file.
2286 The older piece is named CHANGES.0 and is added to the CVS repository in
2287 case anyone would need it.
2289 - I added another file 'CVS-INFO' to the CVS. It contains information about
2290 files in the CVS that aren't included in release archives and how to build
2291 curl when you get the sources off CVS.
2293 - Updated CONTRIBUTE and FAQ due to the new license.
2295 Daniel (3 January 2001)
2296 - Renamed README.libcurl to LIBCURL
2298 - Changed headers in all sources files to the new dual license concept of
2299 curl: use the MIT/X derivate license *or* MPL. The LEGAL file was updated
2300 accordingly and the MPL 1.1 and MIT/X derivate licenses are now part of the