5 \___|\___/|_| \_\_____|
10 - T. Bharath corrected the high resolution timer introduced in 7.9.8.
13 - Andrés García pointed out man page errors in curl_formadd.3. I fixed.
16 - Chris Combes pointed out a flaw in curl_escape(). I fixed. We no longer
17 tries to generate nor parse '+' in URLs. Spaces become %20, and only %-codes
18 are translated by curl_unescape().
21 - Added --limit-rate to the curl tool. Allows the user to set a maxmimum
22 upper limit to how much bandwidth to use for transfers.
24 - CURLOPT_BUFFERSIZE was added to libcurl. This sets a prefered size for the
25 receive buffer in libcurl. The main point of this would be that the write
26 callback gets called more often and with smaller chunks.
29 - Yarram Sunil found out that the SocketIsDead() function performed a lot
30 faster on Windows when removing the 1 microsecond timeout.
32 - Hanno L. Kranzhoff fixed the VC++ project files.
34 - Tom Mattison found out that ftp transfers closed the connection a little
37 - Miklos Nemeth posted a VC++ makefile fix and some INSTALL comments on how
38 to disable specific protocols when building for Windows.
43 - Time to let this baby go.
46 - Chris Combes added three new options for curl_formadd(): CURLFORM_BUFFER,
47 CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH. They are used to create a
48 multipart that appears as a regular file upload, but the data is provided
49 with a pointer and length.
51 - Nico Baggus made the VMS version use sigsetjmp() too.
53 - Jörn Hartroth fixed the mingw32 build using the mm lib.
55 - Applied patches by Kris Kennaway that correct format string problems in
56 lib/ftp.c and lib/ldap.c.
61 - James Cone brought the idea of using sigsetjmp() in the signal handler to
62 make the time-out of name lookups to work, even when the underlying name
63 resolver library traps EINTR. The use of sigsetjmp() and siglongjmp() for
64 this may be a bit drastic, and also not likely to exist on all platforms. I
65 added careful checking for this in the configure script, even checks for it
66 being a macro (which seems to be the case in for example Linux).
68 sigsetjmp() seems to be mentioned in the Single Unix specification.
70 - Miklos Nemeth brought a patch that allows libcurl to get built with specific
71 protocols disabled. This is done by running ./configure
74 - FTP range downloads could make CURLE_FTP_WRITE_ERROR get returned. We now
75 make precautions to not return this for range downloads.
77 Added test case 135 that makes an ftp range download. Had to tweak the
78 runtests.pl script a bit too.
80 - Bug report #566835 identified a strlen() on a NULL pointer. Added additional
81 check to prevent this.
84 - Found and corrected a connect failure problem that didn't create a human
87 - Added code to compile with OpenSSL 0.9.7. Based on patch from Jacob Meuser
88 and comments from Götz Babin-Ebell.
90 - Gautam Mani found a socket descriptor leak that happened when FTP transfers
91 failed and you reinvoked curl_easy_perform().
94 - Gustaf Hui corrected curl_multi_remove_handle() so that it won't crash no
95 matter when you decide to remove the CURL handle.
97 - HAVE_RAND_STATUS was added to lib/config-win32.h by Andreas Olsson, as it
98 makes windows builds stop complaining about "weak seeding" when it in fact
101 - Another 64bit architecture crash that was introduced in 7.9.7 was now
102 removed, as bug report #564585 clarified. This happened due to our attempts
103 to only allocate only as much memory as is actually needed for name
104 resolving (using realloc) which called for a function that could 'move' a
105 hostent struct in memory.
110 - T. Bharath fixed the CURLINFO_REDIRECT_TIME to return a correct time and
111 made the CURLINFO_REQUEST_SIZE return the correct total request size. He
112 also made the win32 timers use higher resolution than before.
115 - Renaud Chaillat made me aware of the fact that libcurl returned an error if
116 you tried to get an empty FTP file. This seemed like a wrong thing to do, so
117 now it no longer does that! I just hope that no one built anything fancy
118 upon this unexpected behavior...
121 - Cris Bailiff brought CURLOPT_CAPATH that works like CURLOPT_CAINFO but
122 specifies a path to a directory with certificates rather than a single file
123 with them all concatenated. --capath was added to the command line tool
124 for the same function.
126 Windows users need to pay attention that the directory should be setup with
127 the c_rehash tool of the OpenSSL package, and that creates symlinks by
128 default that need to be replaced with actual copies to work on Windows.
130 - Gustaf Hui provided new code that changes how curl_multi_info_read()
131 messages are stored, so that they don't have to be kept around for the multi
132 handle's entire life time. He also made it return failure codes properly
133 which it didn't do before.
136 - Gustaf Hui pointed out that running curl_multi_perform() without doing
137 curl_multi_fdset() first was not really a working combo. I added an internal
138 check for this and have some extra select() code without timeout to make the
139 library internals work identically nevertheless. We might need to somehow
140 either document that once you've used the *_fdset() you should remain using
141 them in select() or you should blank them somehow so that libcurl won't go
147 - James Cone brought an excellent patch, including several tests and docs!
148 CURLOPT_NETRC now takes an enum as argument instead of the previous boolean.
149 --netrc-optional was introduced as an addition to --netrc to allow the
150 command line client to take use of all that new netrc stuff.
152 - Bug report #558888 showed a case where libcurl re-used the previous host
153 name when a connection over a proxy was re-used but to a different target
157 - Edin Kadribasic helped me sort out a problem to made libcurl crash when
158 trying to HTTP POST an empty string.
160 - Clarified that Juergen Wilke donated the original tests/server/sws.c code.
162 - Jean-Philippe Barrette-LaPierre made curl_formadd() return a typedef named
163 CURLFORMcode instead of the previous 'int', and the various return codes are
164 now globally exported. It allows applications to better figure out what goes
165 wrong when curl_formadd() returns errors.
168 - Roland Zimmermann pointed out that SSL_CTX_use_certificate_chain_file()
169 is prefered to SSL_CTX_use_certificate_file().
172 - Bug report #556869 pointed out that src/writeout.c didn't compile on freebsd
173 after my AIX fixes the other week.
175 - Bug report #556930 pointed out a FreeBSD core dump introduced in 7.9.7 in
176 the DNS struct realloc stuff. Actually, this crash could happen on all
177 systems that made the pack_hostent() function get invoked.
179 - I removed several compiler warnings in the test suite's HTTP server.
184 - Kevin Roth adjusted the --trace-ascii output slightly.
186 - Paul Harrington found out that src/writeout.c needed an additional header
187 file included for AIX builds
192 - Updated the man page with --trace-ascii and -j/--junk-session-cookies.
194 - Made --trace-ascii do pretty much the same as --trace but without the hex
197 - Added CURLOPT_COOKIESESSION that when enabled makes libcurl ignore session
198 cookies read from a file. This option is enforced by the curl command line
199 tool using the new -j/--junk-session-cookies option. After discussions with
200 Kevin Roth. This makes it easier to use curl to fully emulate a browser's
201 behavior, even when it comes to "session cookies". Session cookies are
202 cookies that a normal browser discards when the browser is shut
203 down. They're identified by not having any expire date/time.
205 - When CURLOPT_DEBUGDATA was set, it ruined the CURLOPT_STDERR setting and
206 this was discovered when --trace was made to crash.
208 - Using -v and --trace at the same time confused matters. -v is now pretty
209 much ignored when --trace or --trace-ascii is used.
211 - Made --trace (and --trace-ascii) support - as file name to pass output to
212 stdout instead. It makes it consistent with how other options work.
217 - Added multi-post.c to the examples directory. I got the basic source for
218 this from Gustaf Hui.
221 - CURL_MAX_WRITE_SIZE is now an exported #define in the curl/curl.h header and
222 can be used to figure out the maximum buffer size your write callback can
225 - CURLOPT_READDATA is now an alias for CURLOPT_INFILE and CURLOPT_WRITEDATE is
226 an alias for CURLOPT_FILE. These two were added for conformity. Most other
227 callback function's userdata are provided with options using a similar name-
230 - Added "--trace [file]" to the command line tool. It makes a very detailed
231 trace dump get stored, with a full protocol dump that includes all received
232 and transmitted data. This could be a very effective tool for debugging what
233 goes wrong. This dump includes every byte the way it is sent to/received
234 from the server. The dump is the plain-text version, so SSL transfers will
237 - I found out that the DEBUGFUNCTION was not called properly everywhere as we
238 wanted it to. I fixed it.
240 - -D now stores all headers to the same file if multiple URLs are given on the
241 command line! Kevin Roth made me aware of that it didn't already do this!
243 - Gustaf Hui wrote an excellent formpost example that used the multi
244 interface. Unfortunately, it didn't work due to several bugs in how
245 transfers were made when the multi interface was used.
248 - Hanno Kranzhoff found out that when doing multiple transfers on the same
249 easy handle, the progress meter would show a bad "currently downloaded
250 value" when the transfer starts.
253 - Applied another patch by Jacky Lam to make the name resolve info realloc()
256 Daniel (28 April 2002)
257 - curl_multi_info_read() is now implemented!
259 Daniel (27 April 2002)
260 - Updated BUGS, TODO, FAQ, INSTALL and added BINDINGS.
262 - I think I fixed the DNS cache prune crach Jacky Lam found and reported.
264 - I cleaned up the name prefix stuff in the hash and llist modules.
266 - FTP responses should now be better on timing out properly. The timeout value
267 is maximum timeout for the entire request operation, but before this, the
268 timeout was used as a maximum allowed time between two reads...
270 Daniel (26 April 2002)
271 - Fixed the test suite http server to not use snprintf() anymore due to better
274 Daniel (25 April 2002)
275 - With Sterling Hughes' new DNS pruning, Jacky Lam asked if this wouldn't
276 cause problems since the pruning is only checking the entry time, and it
277 sure could cause problems. Therefor, I've now added and changed code so that
278 this should not be a problem. Nowhere in the code will be store name
279 resolved information around so that a sunsequent DNS cache prune should
280 cause a problem. This of course called for some mild internal changes.
282 Daniel (23 April 2002)
283 - Improved the 'no_proxy' check, as using port numbers in the URL confused it
284 previously. Reported by Erwan Legrand in bug report #547484.
286 - The --interface option now works even on IPv6 enabled builds. Reported by
289 Daniel (22 April 2002)
290 - The #defines names starting with TIMECOND now has CURL_ prefixes. (The old
291 names are still #defined too.) Pointed out by Robert Olson.
293 - Jacky Lam brought code that lets the name resolve function only use as much
294 memory as it actually needs. This only works on certain operating systems,
295 but is totally transparant to all users.
297 Daniel (19 April 2002)
298 - Bjorn Reese fixed pack_hostent to work properly with 64 bit pointers.
300 Daniel (18 April 2002)
301 - Sterling Hughes added code to prune old DNS cache entries, since Jacky Lam
302 experienced very big caches.
304 Daniel (17 April 2002)
305 - Dirk Manske patched the 301 response to work against the RFC but more like
306 common browsers do. If a POST get a 301 back, it'll switch to GET in the
307 next request (if location-following is enabled).
309 Daniel (16 April 2002)
310 - Dirk Manske posted a patch originally written by Ingo Wilken that introduced
311 two new CURLINFO_* values: CURLINFO_REDIRECT_TIME and
312 CURLINFO_REDIRECT_COUNT.
314 Daniel (15 April 2002)
315 - Jonatan Lander patched the verbose text 'Disables POST, goes with GET' to
316 reflect reality better, like when the first request isn't POST and when
317 the second isn't GET... :-)
319 - Craig Davison pointed out that when curl_formadd()ing a file that doesn't
320 exist, libcurl doesn't return error. Now, curl_easy_perform() will return
321 CURLE_READ_ERROR if that is the case. Test 41 was added to verify this.
325 Daniel (14 April 2002)
326 - Dirk Manske brought a fix that makes libcurl strip off white spaces from the
327 beginning of cookie contents.
329 - Had to patch include/curl/curl.h since MSVC doesn't set the __STDC__ define.
330 Moonesamy pointed out the problem, Bjorn Reese the solution.
334 Daniel (12 April 2002)
335 - Fixed the TIMER_CONNECT to be more accurate for FTP transfers. Previously
336 FTP transfers got the "connect done" time set after the initial FTP commands
337 and not directly after the TCP/IP connect as it should.
339 I also made the time stamp get set even if the connect itself fails, which
340 it didn't do previously.
342 - Jean-Philippe Barrette-LaPierre provided his patch that introduces
343 CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA. They allow a program to a set a
344 callback to receive debug/information data. That includes headers and data
345 that is received and sent. CURLOPT_VERBOSE still controls it.
347 By default, there is an internal debugfunction that will make things look
348 and work as before if not changed.
350 Daniel (10 April 2002)
351 - Sebastien Willemijns found out that -x didn't use the default port number as
352 is documented. It does now.
354 - libcurl-errors.3 is a new man page attempting to document all libcurl error
357 - Added two new error codes and changed the behaviour of two old ones
361 This error was returned *both* for errors that occured when writing
362 received data to a local file, as well as when we get problems writing data
363 to a remote server. CURLE_SEND_ERROR has now been added for the latter
367 This error was similarly returned *both* for errors when reading a local
368 file, as well as when getting problems when reading network data.
369 CURLE_RECV_ERROR has now been added for the latter error.
371 (Two test cases were adjusted accordingly.)
373 Daniel (9 April 2002)
374 - runtests.pl now sets the HOME variable before running curl, to prevent any
375 actual ~/.curlrc file to fool the tests!
379 Daniel (8 April 2002)
380 - Michael Curtis provided new functionality for curl on some platforms. Using
381 the --environment option, curl will *set* a bunch of environment variables
382 to values. The names are the same ones as for the -w/--writeout option.
384 For now, this only works on the RISC OS version, as this feature relies on
385 both OS support and that it matches OS paradigms.
387 - Jacky Lam provided a fix for getting headers-only when the reply is HTTP/1.0
388 and 304, I edited it slightly.
390 Daniel (5 April 2002)
391 - As requested by Jay Graves, the '.curlrc' file (or _curlrc as it is called
392 when used in windows), is now loaded from the current directory if the HOME
393 environment variable isn't set (or if it is too long). I also enlarged the
394 array used to store the full file path in, to 512 bytes.
396 - Kevin Roth pointed out to me why the "19 March" change regarding -G and -I
397 was stupid and the change was reverted. Added test case 48 to verify the
402 Daniel (4 April 2002)
403 - Jonatan Lander brought a patch that makes curl/curl.h compile nicely on
404 pre-ISO compilers, like when using gcc -traditional.
406 Daniel (3 April 2002)
407 - Jacky Lam identified a glitch when getting headers-only, where libcurl would
408 "hang" 1 second in vain in the select() loop before returning back.
410 - Tor Arntsen brought a patch for multipart formposts. It turned out that the
411 "CGI_Lite Perl package" makes some bad assumptions on what letters that may
412 be used in boundary strings and thus curl could confuse it by including '+'
413 and '/'. While this is standards-compliant, we change the behavior to work
414 smoothly with existing software based on that package.
416 Daniel (2 April 2002)
417 - Gerhard Herre filed bug report #536238 where he pointed out a crash in
418 verbose FTP passive transfers for AIX.
420 - Clarence Gardner pointed out a minor flaw in how libcurl didn't properly
421 take care of all errors that SSL_read() could return.
423 - Jacky Lam fixed a MALLOCDEBUG problem in lib/getinfo.c
425 Daniel (27 March 2002)
426 - T. Bharath pointed out a flaw in the connection re-use function that didn't
427 check proxy connections properly for "deadness" before they were re-used.
429 - Pedro Neves found out that HTTP POSTing with --data-binary did not properly
430 work under Windows as the file specified wasn't read fully binary!
432 Daniel (25 March 2002)
433 - Jacky Lam brought a fix that improves treatment of cookies using identical
434 domains but with leading dots properly.
436 Daniel (22 March 2002)
437 - Miklos Nemeth updated the windows section of the docs/INSTALL file and the
440 - Jon Dillon provided us with several good-looking curl images for
441 promotion. View them here http://curl.haxx.se/icons.html
443 Daniel (20 March 2002)
444 - Peter Verhas found out that CRLF replacement in uploads was not working. I
445 fixed it, and added test case 128 that verifies the functionality.
447 - The list formerly known as curl-main is now named curl-users and is hosted
448 by sourceforge. Susbcribe to the new list, get off the old one.
452 Daniel (19 March 2002)
453 - Made -G and -I on the same command line cause an error.
455 - Moved the multi.h file to the "public" include directory and made it get
456 included by curl.h so that no extra include files will be necessary to use
459 Added docs and man pages for the multi interface to the release archive.
460 Added the three example source codes too.
462 Necessary steps in my campaign to sneak in the multi interface... ;-)
464 - Updated the year in all copyright notices in all C and H files.
466 Daniel (18 March 2002)
467 - Tomas Szepe found out that -d and -G didn't mix as they should. I broke this
468 in 7.9.5... Added test case 32 for this.
472 Daniel (16 March 2002)
473 - Peter Verhas pointed out that the curl_escape and curl_unscape man pages
474 contained factual errors.
476 - Albert Choy found and corrected a problem with the verbose output when doing
477 PASV ftp transfers. It could make libcurl crash.
479 Details in bug report #530562:
480 http://sourceforge.net/tracker/?func=detail&atid=100976&aid=530562&group_id=976
482 Daniel (15 March 2002)
483 - Jun-ichiro itojun Hagino filed bug report #530204 that clearly pointed out
484 the PF_INET fix from February 19 as a not-very-good fix as it broke IPv6
485 capability! That patch is now reverted.
487 The problem with slow name lookups with getaddrinfo() on non-IPv6 enabled
488 hosts are instead made by first checking if the stack is IPv6-enabled and if
489 not, the PF_INET is used and otherwise we go with the full PF_UNSPEC.
491 - T. Bharath pointed out that when we return an "error" from a WRITEFUNCTION
492 as described in the man page, libcurl did not return the documented error
493 code (CURLE_WRITE_ERROR) but would instead return CURLE_READ_ERROR. This is
496 Daniel (14 March 2002)
497 - Setting CURLOPT_POST without setting CURLOPT_POSTFIELDS now read the POST-
498 data from the callback.
500 - The GOPHER support seems to be broken. I don't think I'll even start fixing
501 it until someone else finds out... :-)
503 Daniel (13 March 2002)
504 - Trying 'curl -I ftp.sunet.se' or similar did a SIZE on a silly "(nil)"
505 string. If such a file would be present, curl returned the size of it! Now
508 - Curl_sendf() was fixed to deal with situation where Curl_write() would've
509 blocked and thus return -1.
511 - Setting CURLOPT_PROGRESSFUNCTION to NULL now restores the internal function.
513 - All CURLFORM_* options can now be used in a CURLFORM_ARRAY except the
514 CURLFORM_ARRAY itself. This was necessary since we couldn't expand the
515 CURLFORM_* list proprely and unrestricted until this was the case. It was
516 also a bit peculiar to users why some options could be used in an array
517 while others couldn't.
519 - Removed some silly CRLF lines that had accidentally slipped into src/main.c
520 Nico Baggus pointed them out to me.
522 Daniel (11 March 2002)
523 - CURLFORM_FILENAME was added. This can be set when creating a file upload
524 part, to set the 'filename' field to a custom value. If this isn't used,
525 the actually used filename will be included instead (as libcurl always has
526 done). curl was adjusted accordingly, and now -F accepts a 'filename=' field
527 too, and allows constructs such as:
529 -F 'name=@filename;filename=/dev/null'
531 and this can be combined with type= too, in a manner similar to:
533 -F "file=@log/test39.txt;filename=fakerfile;type=moo/foobar"
535 Test case 39 was added to verify this functionality.
537 - The struct formerly known as HttpPost is now named curl_httppost to properly
538 use the curl name space. I added a #define for the old name to make existing
539 programs compile even when this new include file is used.
541 Daniel (8 March 2002)
542 - Clifford also discovered that if the client code failed early, as when doing
543 "curl -O" only, it would do fclose(NULL) which caused a segmentation fault
546 - Clifford Wolf provided a patch that made --progress-bar work again.
548 - I closed bug report #527032 by making sure that we add a newline after a
549 transfer when --progress-bar has been used. Before, without the newline, it
550 made the subsequent text come out wrong.
554 Daniel (7 March 2002)
555 - Added docs/KNOWN_BUGS to the release archive.
557 Daniel (6 March 2002)
558 - Kevin Roth corrected a flaw in the curl client globbing code that made it
559 mess up backslashes. This was most notable on windows (cygwin) machines when
562 - Brad provided another fix for building outside the source-tree.
564 - Ralph Mitchell patched away a few compiler warnings in tests/server/sws.c
566 Daniel (5 March 2002)
567 - I noticed that the typedef in curl.h for the progress callback prototype was
568 wrong and thus applications that used it would not get the proper input
569 data. It used size_t where the implementation actually uses doubles!
571 I wish I could blame someone else, but this was my fault. Again.
575 Daniel (4 March 2002)
576 - Cut off the changes done during 2001 from this changelog file and put them
577 in a separate file (CHANGES.2001), available from CVS of course.
579 - I removed the multi directory. The example sources were moved to the
580 docs/examples directory where they belong.
582 - Wrote 7 new man pages for the current functions in the new multi interface.
583 They're all still pretty basic, but we can use them as a start and add more
584 contents to them when we figure out what to write. The large amount of man
585 pages for libcurl now present made me decide to put them in a new separate
586 subdirectory in the docs directory. Named libcurl.
588 - Giuseppe Corbelli provided a template file for the EPM package manager, it
589 gets generated nicely by the configure script now.
593 Daniel (1 March 2002)
594 - Moved the memanalyze.pl script into the tests/ dir and added it to the
595 release archives. It was previously only present in the CVS tree.
597 - Modified the February 17th Host: fix, as bug report #523718 pointed out that
600 - Nico Baggus added more error codes to the VMS stuff.
602 - Wesley Laxton brought the code that introduced the new CURLOPT_PREQUOTE
603 option. It is just another FTP quote option that allows the user to specify
604 a list of FTP commands to issue *just before* the transfer command (RETR or
605 STOR etc). It has turned up a few systems that really need this.
607 The curl command line tool can also take advantage of this by prefixing the
608 quote commands with a plus (+) in similar style that post transfer quote
609 commands are specified.
611 This is not yet documented. There is no test case for this yet.
613 Daniel (28 February 2002)
614 - Ralph Mitchell made some serious efforts and put a lot of sweat in setting
615 up scripts and things for me to be able to repeat his problems, and I
616 finally could. I found a problem with the header byte counter that wasn't
617 increased properly and thus we could return CURLE_GOT_NOTHING when we in
618 fact had received data.
620 Daniel (27 February 2002)
621 - I had to revert the non-space parsing cookie fix I posted to the mailing
622 list. Expire dates do have spaces and still need to get parsed properly!
623 Instead we just ignore trailing white space and it seems to work...
625 Daniel (26 February 2002)
626 - Made the cookie property 'Max-Age' work, just since we already tried to
627 support it, it is better to do it right. No one uses this anyway.
629 - The cookie parser could crash if a really weird (illegal) cookie line was
630 received. I also made it better discard really oddly formatted lines better.
632 Made the cookie jar store the second field from the left using the syntax
633 that Netscape and Mozilla probably like. Curl itself ignores it.
635 Added test case 31 for these cases.
637 Clay Loveless' email regarding some cookie issues started my cleanup.
639 - Kevin Roth pointed out that my automake fiddles broke the ability to build
640 outside the source-tree and I posted a patch to the mailing list that brings
645 Daniel (25 February 2002)
646 - Fiddled with the automake files to make all source files in the lib
647 directory not have ../src in the include path, and the src sources shouldn't
650 - All 79 test cases ran OK under Linux and Solaris using the new HTTP server
651 in the test suite. The new HTTP server was first donated by Georg Horn and
652 subsequently modified to work with the test suite. It is currently still not
653 portable enough to run on "all over" but this is a start and I can run all
654 curl tests on my machines. This is an important requirement for the upcoming
657 - Using -d and -I on the same command line now reports an error, as it implies
658 two different HTTP requests that can't be mixed.
660 - Jeffrey Pohlmeyer provided a patch that made the -w/--write-out option
661 support %{content_type} to get the content type of the recent download.
663 - Kevin Roth reported that pre2 and pre3 didn't compile properly on cygwin,
664 and this was because I used #ifdef HAVE_WINSOCK_H in lib/multi.h to figure
665 out if we could include winsock.h which turns out not to be a wise choice to
666 do on cygwin since it has the file but can't include it!
668 Daniel (22 February 2002)
669 - Added src/config-vms.h to the release archive.
671 - Fixed the connection timeout value again, the change from February 18 wasn't
676 Daniel (21 February 2002)
677 - Kevin Roth and Andrés García both found out that lib/config.h.in was missing
678 in the pre-release archive and thus the configure script failed.
682 Daniel (20 February 2002)
683 - Andrés García provided a solution to bug report #515228. the total time
684 counter was not set correctly when -I was used during some conditions (all
685 headers were read in one single read).
687 - Nico Baggus provided a huge patch with minor tweaks all over to make curl
688 compile nicely on VMS.
690 Daniel (19 February 2002)
691 - Rick Richardson found out that by replacing PF_UNSPEC with PF_INET in the
692 getaddrinfo() calls, he could speed up some name resolving calls with an
693 order of magnitudes on his Redhat Linux 7.2.
695 - Philip Gladstone found a second INADDR_NONE problem where we used long
696 intead of in_addr_t which caused 64bit problemos. We really shouldn't define
697 that on two different places.
699 Daniel (18 February 2002)
700 - Philip Gladstone found a problem in how HTTP requests were sent if the
701 request couldn't be sent all at once.
703 - Emil found and corrected a bad connection timeout comparison that made curl
704 use the longest of connect-timeout and timout as a timeout value, instead of
705 the shortest as it was supposed to!
707 - Aron Roberts provided updated information about LDAP URL syntax to go into
708 the manual as a replacement for the old references.
710 Daniel (17 February 2002)
711 - Philip Gladstone pointed out two missing include files that made curl core
712 dump on 64bit architectures. We need to pay more attention on these details.
713 It is *lethal* to for example forget the malloc() prototype, as 'int' is
714 32bit and malloc() must return a 64bit pointer on these platforms.
716 - Giaslas Georgios fixed a problem with Host: headers on repeated requests on
717 the same handle using a proxy.
719 Daniel (8 February 2002)
720 - Hanno L. Kranzhoff accurately found out that disabling the Expect: header
721 when doing multipart formposts didn't work very well. It disabled other
722 parts of the request header too, resulting in a broken header. When I fixed
723 this, I also noticed that the Content-Type wasn't possible to disable. It is
724 now, even though it probably is really stupid to try to do this (because of
725 the boundary string that is included in the internally generated header,
726 used as form part separator.)
728 Daniel (7 February 2002)
729 - I moved the config*.h files from the root directory to the lib/ directory.
731 - I've added the new test suite HTTP server to the CVS repository, It seems to
732 work pretty good now, but we must make it get used by the test scripts
733 properly and then we need to make sure that it compiles, builds and runs on
734 most operating systems.
738 Daniel (6 February 2002)
739 - Miklos Nemeth provided updated windows makefiles and INSTALL docs.
741 - Mr Larry Fahnoe found a problem with formposts and I managed to track down
742 and patch this bug. This was actually two bugs, as the posted size was also
743 said to be two bytes too large.
745 - Brent Beardsley found out and brought a correction for the
746 CURLINFO_CONTENT_TYPE parser that was off one byte. This was my fault, I
747 accidentaly broke Giaslas Georgios' patch.
749 Daniel (5 February 2002)
750 - Kevin Roth found yet another SSL download problem.
754 - no changes since pre-release
758 Daniel (3 February 2002)
759 - Eric Melville provided a few spelling corrections in the curl man page.
761 Daniel (1 February 2002)
762 - Andreas Damm corrected the unconditional use of gmtime() in getdate, it now
763 uses gmtime_r() on all hosts that have it.
765 Daniel (31 January 2002)
766 - An anonymous bug report identified a problem in the DNS caching which made it
767 sometimes allocate one byte too little to store the cache entry in. This
768 happened when the port number started with 1!
770 - Albert Chin provided a patch that improves the gethostbyname_r() configure
771 check on HP-UX 11.00.
775 Daniel (30 January 2002)
776 - Georg Horn found another way the SSL reading failed due to the non-blocking
777 state of the sockets! I fixed.
779 Daniel (29 January 2002)
780 - Multipart formposts now send the full request properly, including the CRLF.
781 They were previously treated as part of the post data.
783 - The upload byte counter bugged.
785 - T. Bharath pointed out that we seed SSL on every connect, which is a time-
786 consuming operation that should only be needed to do once. We patched
787 libcurl to now only seed on the first connect when unseeded. The seeded
788 status is global so it'll now only happen once during a program's life time.
790 If the random_file or egdsocket is set, the seed will be re-made though.
792 - Giaslas Georgios introduced CURLINFO_CONTENT_TYPE that lets
793 curl_easy_getinfo() read the content-type from the previous request.
795 Daniel (28 January 2002)
796 - Kjetil Jacobsen found a way to crash curl and after much debugging, it
797 turned out it was a IPv4-linux only problem introduced in 7.9.3 related to
800 - Andreas Damm posted a huge patch that made the curl_getdate() function fully
803 - Steve Marx pointed out that you couldn't mix CURLOPT_CUSTOMREQUEST with
804 CURLOPT_POSTFIELDS. You can now!
806 Daniel (25 January 2002)
807 - Krishnendu Majumdar pointed out that the header length counter was not reset
808 between multiple requests on the same handle.
810 - Pedro Neves rightfully questioned why curl always append \r\n to the data
811 that is sent in HTTP POST requests. Unfortunately, this broke the test suite
812 as the test HTTP server is lame enough not to deal with this... :-O
814 - Following Location: headers when the connection didn't close didn't work as
815 libcurl didn't properly stop reading. This problem was added in 7.9.3 due to
816 the restructured internals. 'Frank' posted a bug report about this.
818 Daniel (24 January 2002)
819 - Kevin Roth very quickly spotted that we wrongly installed the example
820 programs that were built in the multi directory, when 'make install' was
825 Daniel (23 January 2002)
826 - Andrés García found a persistancy problem when doing HTTP HEAD, that made
827 curl "hang" until the connection was closed by the server. This problem has
828 been introduced in 7.9.3 due to internal rewrites, this was not present in
833 Daniel (19 January 2002)
834 - Antonio filed bug report #505514 and provided a fix! When doing multipart
835 formposts, libcurl would include an error text in the actual post if a
836 specified file wasn't found. This is not libcurl's job. Instead we add an
839 Daniel (18 January 2002)
840 - Played around with stricter compiler warnings for gcc (when ./configure
841 --enable-debug is used) and changed some minor things to stop the warnings.
843 - Commented out the 'long long' and 'long double' checks in configure.in, as
844 we don't currently use them anyway and the code in lib/mprintf.c that use
845 them causes warnings.
847 - Saul Good and jonatan pointed out Mac OS X build problems with pre3 and how
848 to correct them. Two compiler warnings were removed as well.
850 - Andrés García fixed two minor mingw32 building problems.
854 Daniel (17 January 2002)
855 - docs/libcurl-the-guide is a new tutorial for our libcurl programming
858 - Richard Archer brought back the ability to compile and build with OpenSSL
859 versions before 0.9.5.
860 [http://sourceforge.net/tracker/?func=detail&atid=100976&aid=504163&group_id=976]
862 - The DNS cache code didn't take the port number into account, which made it
863 work rather bad on IPv6-enabled hosts (especially when doing passive
864 FTP). Sterling fixed it.
866 Daniel (16 January 2002)
867 - Georg Horn could make a transfer time-out without error text. I found it and
870 - SSL writes didn't work, they return an uninitialized value that caused
871 havoc all over. Georg Horn experienced this.
873 - Kevin Roth patched the curl_version() function to use the proper OpenSSL
874 function for version information. This way, curl will report the version of
875 the SSL library actually running right now, not the one that had its headers
876 installed when libcurl was built. Mainly intersting when running with shared
881 Daniel (16 January 2002)
882 - Mofied the main transfer loop and related stuff to deal with non-blocking
883 sockets in the upload section. While doing this, I've now separated the
884 connection oriented buffers to have one for downloads and one for uploads
885 (as two can happen simultaneously). I also shrunk the buffers to 20K
886 each. As we have a scratch buffer twice the size of the upload buffer, we
887 arrived at 80K for buffers compared with the previous 150K.
889 - Added the --cc option to curl-config command as it enables so very cool
890 one-liners. Have a go a this one, building the simple.c example:
892 $ `curl-config --cc --cflags --libs` -o example simple.c
894 Daniel (14 January 2002)
895 - I made all socket reads (recv) handle EWOULDBLOCK. I hope nicely. Now we
896 only need to address all writes (send) too and then I'm ready for another
899 - Stoned Elipot patched the in_addr_t configure test to make it work better on
902 Daniel (9 January 2002)
903 - Cris Bailiff found out that filling up curl's SSL session cache caused a
906 - Posted the curl questionnaire on the web site. If you haven't posted your
907 opinions there yet, go there and do it now while it is still there:
909 http://curl.haxx.se/q/
911 - Georg Horn quickly found out that the SSL reading no longer worked as
912 supposed since the switch to non-blocking sockets. I've made a quick patch
913 (for reading only) but we should improve it even further.
917 Daniel (7 January 2002)
918 - I made the 'bool' typedef use an "unsigned char". It makes it the same on
919 all platforms, no matter what the platform thinks the default format for
920 char is. This was noticed since we made a silly comparison involving such a
921 bool variable, and only one compiler/platform combination (on Debian Linux)
922 complained about it (that happened to have its char unsigned by default).
924 - Bug report #495290 identified a cookie parsing problem that was corrected.
925 When a Set-Cookie: line is received without a trailing semicolon, libcurl
926 didn't read the last "name=value" pair of the line, leading to confusions...
928 - Sterling committed his updated DNS cache code.
930 - I worked with Georg Horn and comments from Götz Babin-Ebell and switched
931 curl's socket operations completely over to non-blocking for the entire
932 operation (previously we used non-blocking only for the connection phase).
933 We had to do this to make the SSL connection phase timeout properly without
934 the use of signals. A little extra code to deal with this was added.
936 - T. Bharath pointed out a slightly obscure cookie engine flaw.
938 - Pete Su pointed out that libcurl didn't treat HTTP code 204 as it should.
939 204-replies never provides a response-body. This resulted in bad persistant
940 behavior when 204 was received.
942 Daniel (5 January 2002)
943 - SM updated the VC++ library Makefiles for the new source files.
945 Daniel (4 January 2002)
946 - I discovered that we wrongly used inet_ntoa() (instead of inet_ntoa_r() in
947 two places in the source code). One happened with VERBOSE set on connects,
948 and the other when VERBOSE was on and krb4 over nat was used... I honestly
949 don't think anyone has suffered from these mistakes.
951 - I replaced a lot of silly occurances of printf() to instead use the more
952 appropriate Curl_infof() or Curl_failf(). The krb4 and telnet code were
955 - Philip Gladstone found a few more problems with 64-bit archs (the 64-bit
958 - After discussions on the libcurl list with Raoul Cridlig, I just made FTP
959 response lines get passed to the header callback if such a one is
960 registered. It'll make it possible for any application to get all the
961 responses an FTP server sends to libcurl.
963 Daniel (3 January 2002)
964 - Sterling Hughes brought a few buckets of code. Now, libcurl will
965 automatically cache DNS lookups and re-use the previous results first if any
966 such is available. It greatly improves speed when doing many repeated
967 operations to the same host.
969 - As the test case uses --include and then --head, I had to modify src/main.c
970 to deal with this situation slightly better than previously. When done, we
971 have 100% good tests again in the main branch.
973 Daniel (2 January 2002)
974 - Made test case 25 run again in the multi-dev branch. But it seems that the
975 changes done on dec-20 made test case 104 cease to work (in both branches).
977 - Philip Gladstone pointed out a few portability problems in the source code
978 that didn't compile on 64-bit sparcs using Sun's native