5 \___|\___/|_| \_\_____|
10 - Added multi-post.c to the examples directory. I got the basic source for
14 - CURL_MAX_WRITE_SIZE is now an exported #define in the curl/curl.h header and
15 can be used to figure out the maximum buffer size your write callback can
18 - CURLOPT_READDATA is now an alias for CURLOPT_INFILE and CURLOPT_WRITEDATE is
19 an alias for CURLOPT_FILE. These two were added for conformity. Most other
20 callback function's userdata are provided with options using a similar name-
23 - Added "--trace [file]" to the command line tool. It makes a very detailed
24 trace dump get stored, with a full protocol dump that includes all received
25 and transmitted data. This could be a very effective tool for debugging what
26 goes wrong. This dump includes every byte the way it is sent to/received
27 from the server. The dump is the plain-text version, so SSL transfers will
30 - I found out that the DEBUGFUNCTION was not called properly everywhere as we
31 wanted it to. I fixed it.
33 - -D now stores all headers to the same file if multiple URLs are given on the
34 command line! Kevin Roth made me aware of that it didn't already do this!
36 - Gustaf Hui wrote an excellent formpost example that used the multi
37 interface. Unfortunately, it didn't work due to several bugs in how
38 transfers were made when the multi interface was used.
41 - Hanno Kranzhoff found out that when doing multiple transfers on the same
42 easy handle, the progress meter would show a bad "currently downloaded
43 value" when the transfer starts.
46 - Applied another patch by Jacky Lam to make the name resolve info realloc()
49 Daniel (28 April 2002)
50 - curl_multi_info_read() is now implemented!
52 Daniel (27 April 2002)
53 - Updated BUGS, TODO, FAQ, INSTALL and added BINDINGS.
55 - I think I fixed the DNS cache prune crach Jacky Lam found and reported.
57 - I cleaned up the name prefix stuff in the hash and llist modules.
59 - FTP responses should now be better on timing out properly. The timeout value
60 is maximum timeout for the entire request operation, but before this, the
61 timeout was used as a maximum allowed time between two reads...
63 Daniel (26 April 2002)
64 - Fixed the test suite http server to not use snprintf() anymore due to better
67 Daniel (25 April 2002)
68 - With Sterling Hughes' new DNS pruning, Jacky Lam asked if this wouldn't
69 cause problems since the pruning is only checking the entry time, and it
70 sure could cause problems. Therefor, I've now added and changed code so that
71 this should not be a problem. Nowhere in the code will be store name
72 resolved information around so that a sunsequent DNS cache prune should
73 cause a problem. This of course called for some mild internal changes.
75 Daniel (23 April 2002)
76 - Improved the 'no_proxy' check, as using port numbers in the URL confused it
77 previously. Reported by Erwan Legrand in bug report #547484.
79 - The --interface option now works even on IPv6 enabled builds. Reported by
82 Daniel (22 April 2002)
83 - The #defines names starting with TIMECOND now has CURL_ prefixes. (The old
84 names are still #defined too.) Pointed out by Robert Olson.
86 - Jacky Lam brought code that lets the name resolve function only use as much
87 memory as it actually needs. This only works on certain operating systems,
88 but is totally transparant to all users.
90 Daniel (19 April 2002)
91 - Bjorn Reese fixed pack_hostent to work properly with 64 bit pointers.
93 Daniel (18 April 2002)
94 - Sterling Hughes added code to prune old DNS cache entries, since Jacky Lam
95 experienced very big caches.
97 Daniel (17 April 2002)
98 - Dirk Manske patched the 301 response to work against the RFC but more like
99 common browsers do. If a POST get a 301 back, it'll switch to GET in the
100 next request (if location-following is enabled).
102 Daniel (16 April 2002)
103 - Dirk Manske posted a patch originally written by Ingo Wilken that introduced
104 two new CURLINFO_* values: CURLINFO_REDIRECT_TIME and
105 CURLINFO_REDIRECT_COUNT.
107 Daniel (15 April 2002)
108 - Jonatan Lander patched the verbose text 'Disables POST, goes with GET' to
109 reflect reality better, like when the first request isn't POST and when
110 the second isn't GET... :-)
112 - Craig Davison pointed out that when curl_formadd()ing a file that doesn't
113 exist, libcurl doesn't return error. Now, curl_easy_perform() will return
114 CURLE_READ_ERROR if that is the case. Test 41 was added to verify this.
118 Daniel (14 April 2002)
119 - Dirk Manske brought a fix that makes libcurl strip off white spaces from the
120 beginning of cookie contents.
122 - Had to patch include/curl/curl.h since MSVC doesn't set the __STDC__ define.
123 Moonesamy pointed out the problem, Bjorn Reese the solution.
127 Daniel (12 April 2002)
128 - Fixed the TIMER_CONNECT to be more accurate for FTP transfers. Previously
129 FTP transfers got the "connect done" time set after the initial FTP commands
130 and not directly after the TCP/IP connect as it should.
132 I also made the time stamp get set even if the connect itself fails, which
133 it didn't do previously.
135 - Jean-Philippe Barrette-LaPierre provided his patch that introduces
136 CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA. They allow a program to a set a
137 callback to receive debug/information data. That includes headers and data
138 that is received and sent. CURLOPT_VERBOSE still controls it.
140 By default, there is an internal debugfunction that will make things look
141 and work as before if not changed.
143 Daniel (10 April 2002)
144 - Sebastien Willemijns found out that -x didn't use the default port number as
145 is documented. It does now.
147 - libcurl-errors.3 is a new man page attempting to document all libcurl error
150 - Added two new error codes and changed the behaviour of two old ones
154 This error was returned *both* for errors that occured when writing
155 received data to a local file, as well as when we get problems writing data
156 to a remote server. CURLE_SEND_ERROR has now been added for the latter
160 This error was similarly returned *both* for errors when reading a local
161 file, as well as when getting problems when reading network data.
162 CURLE_RECV_ERROR has now been added for the latter error.
164 (Two test cases were adjusted accordingly.)
166 Daniel (9 April 2002)
167 - runtests.pl now sets the HOME variable before running curl, to prevent any
168 actual ~/.curlrc file to fool the tests!
172 Daniel (8 April 2002)
173 - Michael Curtis provided new functionality for curl on some platforms. Using
174 the --environment option, curl will *set* a bunch of environment variables
175 to values. The names are the same ones as for the -w/--writeout option.
177 For now, this only works on the RISC OS version, as this feature relies on
178 both OS support and that it matches OS paradigms.
180 - Jacky Lam provided a fix for getting headers-only when the reply is HTTP/1.0
181 and 304, I edited it slightly.
183 Daniel (5 April 2002)
184 - As requested by Jay Graves, the '.curlrc' file (or _curlrc as it is called
185 when used in windows), is now loaded from the current directory if the HOME
186 environment variable isn't set (or if it is too long). I also enlarged the
187 array used to store the full file path in, to 512 bytes.
189 - Kevin Roth pointed out to me why the "19 March" change regarding -G and -I
190 was stupid and the change was reverted. Added test case 48 to verify the
195 Daniel (4 April 2002)
196 - Jonatan Lander brought a patch that makes curl/curl.h compile nicely on
197 pre-ISO compilers, like when using gcc -traditional.
199 Daniel (3 April 2002)
200 - Jacky Lam identified a glitch when getting headers-only, where libcurl would
201 "hang" 1 second in vain in the select() loop before returning back.
203 - Tor Arntsen brought a patch for multipart formposts. It turned out that the
204 "CGI_Lite Perl package" makes some bad assumptions on what letters that may
205 be used in boundary strings and thus curl could confuse it by including '+'
206 and '/'. While this is standards-compliant, we change the behavior to work
207 smoothly with existing software based on that package.
209 Daniel (2 April 2002)
210 - Gerhard Herre filed bug report #536238 where he pointed out a crash in
211 verbose FTP passive transfers for AIX.
213 - Clarence Gardner pointed out a minor flaw in how libcurl didn't properly
214 take care of all errors that SSL_read() could return.
216 - Jacky Lam fixed a MALLOCDEBUG problem in lib/getinfo.c
218 Daniel (27 March 2002)
219 - T. Bharath pointed out a flaw in the connection re-use function that didn't
220 check proxy connections properly for "deadness" before they were re-used.
222 - Pedro Neves found out that HTTP POSTing with --data-binary did not properly
223 work under Windows as the file specified wasn't read fully binary!
225 Daniel (25 March 2002)
226 - Jacky Lam brought a fix that improves treatment of cookies using identical
227 domains but with leading dots properly.
229 Daniel (22 March 2002)
230 - Miklos Nemeth updated the windows section of the docs/INSTALL file and the
233 - Jon Dillon provided us with several good-looking curl images for
234 promotion. View them here http://curl.haxx.se/icons.html
236 Daniel (20 March 2002)
237 - Peter Verhas found out that CRLF replacement in uploads was not working. I
238 fixed it, and added test case 128 that verifies the functionality.
240 - The list formerly known as curl-main is now named curl-users and is hosted
241 by sourceforge. Susbcribe to the new list, get off the old one.
245 Daniel (19 March 2002)
246 - Made -G and -I on the same command line cause an error.
248 - Moved the multi.h file to the "public" include directory and made it get
249 included by curl.h so that no extra include files will be necessary to use
252 Added docs and man pages for the multi interface to the release archive.
253 Added the three example source codes too.
255 Necessary steps in my campaign to sneak in the multi interface... ;-)
257 - Updated the year in all copyright notices in all C and H files.
259 Daniel (18 March 2002)
260 - Tomas Szepe found out that -d and -G didn't mix as they should. I broke this
261 in 7.9.5... Added test case 32 for this.
265 Daniel (16 March 2002)
266 - Peter Verhas pointed out that the curl_escape and curl_unscape man pages
267 contained factual errors.
269 - Albert Choy found and corrected a problem with the verbose output when doing
270 PASV ftp transfers. It could make libcurl crash.
272 Details in bug report #530562:
273 http://sourceforge.net/tracker/?func=detail&atid=100976&aid=530562&group_id=976
275 Daniel (15 March 2002)
276 - Jun-ichiro itojun Hagino filed bug report #530204 that clearly pointed out
277 the PF_INET fix from February 19 as a not-very-good fix as it broke IPv6
278 capability! That patch is now reverted.
280 The problem with slow name lookups with getaddrinfo() on non-IPv6 enabled
281 hosts are instead made by first checking if the stack is IPv6-enabled and if
282 not, the PF_INET is used and otherwise we go with the full PF_UNSPEC.
284 - T. Bharath pointed out that when we return an "error" from a WRITEFUNCTION
285 as described in the man page, libcurl did not return the documented error
286 code (CURLE_WRITE_ERROR) but would instead return CURLE_READ_ERROR. This is
289 Daniel (14 March 2002)
290 - Setting CURLOPT_POST without setting CURLOPT_POSTFIELDS now read the POST-
291 data from the callback.
293 - The GOPHER support seems to be broken. I don't think I'll even start fixing
294 it until someone else finds out... :-)
296 Daniel (13 March 2002)
297 - Trying 'curl -I ftp.sunet.se' or similar did a SIZE on a silly "(nil)"
298 string. If such a file would be present, curl returned the size of it! Now
301 - Curl_sendf() was fixed to deal with situation where Curl_write() would've
302 blocked and thus return -1.
304 - Setting CURLOPT_PROGRESSFUNCTION to NULL now restores the internal function.
306 - All CURLFORM_* options can now be used in a CURLFORM_ARRAY except the
307 CURLFORM_ARRAY itself. This was necessary since we couldn't expand the
308 CURLFORM_* list proprely and unrestricted until this was the case. It was
309 also a bit peculiar to users why some options could be used in an array
310 while others couldn't.
312 - Removed some silly CRLF lines that had accidentally slipped into src/main.c
313 Nico Baggus pointed them out to me.
315 Daniel (11 March 2002)
316 - CURLFORM_FILENAME was added. This can be set when creating a file upload
317 part, to set the 'filename' field to a custom value. If this isn't used,
318 the actually used filename will be included instead (as libcurl always has
319 done). curl was adjusted accordingly, and now -F accepts a 'filename=' field
320 too, and allows constructs such as:
322 -F 'name=@filename;filename=/dev/null'
324 and this can be combined with type= too, in a manner similar to:
326 -F "file=@log/test39.txt;filename=fakerfile;type=moo/foobar"
328 Test case 39 was added to verify this functionality.
330 - The struct formerly known as HttpPost is now named curl_httppost to properly
331 use the curl name space. I added a #define for the old name to make existing
332 programs compile even when this new include file is used.
334 Daniel (8 March 2002)
335 - Clifford also discovered that if the client code failed early, as when doing
336 "curl -O" only, it would do fclose(NULL) which caused a segmentation fault
339 - Clifford Wolf provided a patch that made --progress-bar work again.
341 - I closed bug report #527032 by making sure that we add a newline after a
342 transfer when --progress-bar has been used. Before, without the newline, it
343 made the subsequent text come out wrong.
347 Daniel (7 March 2002)
348 - Added docs/KNOWN_BUGS to the release archive.
350 Daniel (6 March 2002)
351 - Kevin Roth corrected a flaw in the curl client globbing code that made it
352 mess up backslashes. This was most notable on windows (cygwin) machines when
355 - Brad provided another fix for building outside the source-tree.
357 - Ralph Mitchell patched away a few compiler warnings in tests/server/sws.c
359 Daniel (5 March 2002)
360 - I noticed that the typedef in curl.h for the progress callback prototype was
361 wrong and thus applications that used it would not get the proper input
362 data. It used size_t where the implementation actually uses doubles!
364 I wish I could blame someone else, but this was my fault. Again.
368 Daniel (4 March 2002)
369 - Cut off the changes done during 2001 from this changelog file and put them
370 in a separate file (CHANGES.2001), available from CVS of course.
372 - I removed the multi directory. The example sources were moved to the
373 docs/examples directory where they belong.
375 - Wrote 7 new man pages for the current functions in the new multi interface.
376 They're all still pretty basic, but we can use them as a start and add more
377 contents to them when we figure out what to write. The large amount of man
378 pages for libcurl now present made me decide to put them in a new separate
379 subdirectory in the docs directory. Named libcurl.
381 - Giuseppe Corbelli provided a template file for the EPM package manager, it
382 gets generated nicely by the configure script now.
386 Daniel (1 March 2002)
387 - Moved the memanalyze.pl script into the tests/ dir and added it to the
388 release archives. It was previously only present in the CVS tree.
390 - Modified the February 17th Host: fix, as bug report #523718 pointed out that
393 - Nico Baggus added more error codes to the VMS stuff.
395 - Wesley Laxton brought the code that introduced the new CURLOPT_PREQUOTE
396 option. It is just another FTP quote option that allows the user to specify
397 a list of FTP commands to issue *just before* the transfer command (RETR or
398 STOR etc). It has turned up a few systems that really need this.
400 The curl command line tool can also take advantage of this by prefixing the
401 quote commands with a plus (+) in similar style that post transfer quote
402 commands are specified.
404 This is not yet documented. There is no test case for this yet.
406 Daniel (28 February 2002)
407 - Ralph Mitchell made some serious efforts and put a lot of sweat in setting
408 up scripts and things for me to be able to repeat his problems, and I
409 finally could. I found a problem with the header byte counter that wasn't
410 increased properly and thus we could return CURLE_GOT_NOTHING when we in
411 fact had received data.
413 Daniel (27 February 2002)
414 - I had to revert the non-space parsing cookie fix I posted to the mailing
415 list. Expire dates do have spaces and still need to get parsed properly!
416 Instead we just ignore trailing white space and it seems to work...
418 Daniel (26 February 2002)
419 - Made the cookie property 'Max-Age' work, just since we already tried to
420 support it, it is better to do it right. No one uses this anyway.
422 - The cookie parser could crash if a really weird (illegal) cookie line was
423 received. I also made it better discard really oddly formatted lines better.
425 Made the cookie jar store the second field from the left using the syntax
426 that Netscape and Mozilla probably like. Curl itself ignores it.
428 Added test case 31 for these cases.
430 Clay Loveless' email regarding some cookie issues started my cleanup.
432 - Kevin Roth pointed out that my automake fiddles broke the ability to build
433 outside the source-tree and I posted a patch to the mailing list that brings
438 Daniel (25 February 2002)
439 - Fiddled with the automake files to make all source files in the lib
440 directory not have ../src in the include path, and the src sources shouldn't
443 - All 79 test cases ran OK under Linux and Solaris using the new HTTP server
444 in the test suite. The new HTTP server was first donated by Georg Horn and
445 subsequently modified to work with the test suite. It is currently still not
446 portable enough to run on "all over" but this is a start and I can run all
447 curl tests on my machines. This is an important requirement for the upcoming
450 - Using -d and -I on the same command line now reports an error, as it implies
451 two different HTTP requests that can't be mixed.
453 - Jeffrey Pohlmeyer provided a patch that made the -w/--write-out option
454 support %{content_type} to get the content type of the recent download.
456 - Kevin Roth reported that pre2 and pre3 didn't compile properly on cygwin,
457 and this was because I used #ifdef HAVE_WINSOCK_H in lib/multi.h to figure
458 out if we could include winsock.h which turns out not to be a wise choice to
459 do on cygwin since it has the file but can't include it!
461 Daniel (22 February 2002)
462 - Added src/config-vms.h to the release archive.
464 - Fixed the connection timeout value again, the change from February 18 wasn't
469 Daniel (21 February 2002)
470 - Kevin Roth and Andrés García both found out that lib/config.h.in was missing
471 in the pre-release archive and thus the configure script failed.
475 Daniel (20 February 2002)
476 - Andrés García provided a solution to bug report #515228. the total time
477 counter was not set correctly when -I was used during some conditions (all
478 headers were read in one single read).
480 - Nico Baggus provided a huge patch with minor tweaks all over to make curl
481 compile nicely on VMS.
483 Daniel (19 February 2002)
484 - Rick Richardson found out that by replacing PF_UNSPEC with PF_INET in the
485 getaddrinfo() calls, he could speed up some name resolving calls with an
486 order of magnitudes on his Redhat Linux 7.2.
488 - Philip Gladstone found a second INADDR_NONE problem where we used long
489 intead of in_addr_t which caused 64bit problemos. We really shouldn't define
490 that on two different places.
492 Daniel (18 February 2002)
493 - Philip Gladstone found a problem in how HTTP requests were sent if the
494 request couldn't be sent all at once.
496 - Emil found and corrected a bad connection timeout comparison that made curl
497 use the longest of connect-timeout and timout as a timeout value, instead of
498 the shortest as it was supposed to!
500 - Aron Roberts provided updated information about LDAP URL syntax to go into
501 the manual as a replacement for the old references.
503 Daniel (17 February 2002)
504 - Philip Gladstone pointed out two missing include files that made curl core
505 dump on 64bit architectures. We need to pay more attention on these details.
506 It is *lethal* to for example forget the malloc() prototype, as 'int' is
507 32bit and malloc() must return a 64bit pointer on these platforms.
509 - Giaslas Georgios fixed a problem with Host: headers on repeated requests on
510 the same handle using a proxy.
512 Daniel (8 February 2002)
513 - Hanno L. Kranzhoff accurately found out that disabling the Expect: header
514 when doing multipart formposts didn't work very well. It disabled other
515 parts of the request header too, resulting in a broken header. When I fixed
516 this, I also noticed that the Content-Type wasn't possible to disable. It is
517 now, even though it probably is really stupid to try to do this (because of
518 the boundary string that is included in the internally generated header,
519 used as form part separator.)
521 Daniel (7 February 2002)
522 - I moved the config*.h files from the root directory to the lib/ directory.
524 - I've added the new test suite HTTP server to the CVS repository, It seems to
525 work pretty good now, but we must make it get used by the test scripts
526 properly and then we need to make sure that it compiles, builds and runs on
527 most operating systems.
531 Daniel (6 February 2002)
532 - Miklos Nemeth provided updated windows makefiles and INSTALL docs.
534 - Mr Larry Fahnoe found a problem with formposts and I managed to track down
535 and patch this bug. This was actually two bugs, as the posted size was also
536 said to be two bytes too large.
538 - Brent Beardsley found out and brought a correction for the
539 CURLINFO_CONTENT_TYPE parser that was off one byte. This was my fault, I
540 accidentaly broke Giaslas Georgios' patch.
542 Daniel (5 February 2002)
543 - Kevin Roth found yet another SSL download problem.
547 - no changes since pre-release
551 Daniel (3 February 2002)
552 - Eric Melville provided a few spelling corrections in the curl man page.
554 Daniel (1 February 2002)
555 - Andreas Damm corrected the unconditional use of gmtime() in getdate, it now
556 uses gmtime_r() on all hosts that have it.
558 Daniel (31 January 2002)
559 - An anonymous bug report identified a problem in the DNS caching which made it
560 sometimes allocate one byte too little to store the cache entry in. This
561 happened when the port number started with 1!
563 - Albert Chin provided a patch that improves the gethostbyname_r() configure
564 check on HP-UX 11.00.
568 Daniel (30 January 2002)
569 - Georg Horn found another way the SSL reading failed due to the non-blocking
570 state of the sockets! I fixed.
572 Daniel (29 January 2002)
573 - Multipart formposts now send the full request properly, including the CRLF.
574 They were previously treated as part of the post data.
576 - The upload byte counter bugged.
578 - T. Bharath pointed out that we seed SSL on every connect, which is a time-
579 consuming operation that should only be needed to do once. We patched
580 libcurl to now only seed on the first connect when unseeded. The seeded
581 status is global so it'll now only happen once during a program's life time.
583 If the random_file or egdsocket is set, the seed will be re-made though.
585 - Giaslas Georgios introduced CURLINFO_CONTENT_TYPE that lets
586 curl_easy_getinfo() read the content-type from the previous request.
588 Daniel (28 January 2002)
589 - Kjetil Jacobsen found a way to crash curl and after much debugging, it
590 turned out it was a IPv4-linux only problem introduced in 7.9.3 related to
593 - Andreas Damm posted a huge patch that made the curl_getdate() function fully
596 - Steve Marx pointed out that you couldn't mix CURLOPT_CUSTOMREQUEST with
597 CURLOPT_POSTFIELDS. You can now!
599 Daniel (25 January 2002)
600 - Krishnendu Majumdar pointed out that the header length counter was not reset
601 between multiple requests on the same handle.
603 - Pedro Neves rightfully questioned why curl always append \r\n to the data
604 that is sent in HTTP POST requests. Unfortunately, this broke the test suite
605 as the test HTTP server is lame enough not to deal with this... :-O
607 - Following Location: headers when the connection didn't close didn't work as
608 libcurl didn't properly stop reading. This problem was added in 7.9.3 due to
609 the restructured internals. 'Frank' posted a bug report about this.
611 Daniel (24 January 2002)
612 - Kevin Roth very quickly spotted that we wrongly installed the example
613 programs that were built in the multi directory, when 'make install' was
618 Daniel (23 January 2002)
619 - Andrés García found a persistancy problem when doing HTTP HEAD, that made
620 curl "hang" until the connection was closed by the server. This problem has
621 been introduced in 7.9.3 due to internal rewrites, this was not present in
626 Daniel (19 January 2002)
627 - Antonio filed bug report #505514 and provided a fix! When doing multipart
628 formposts, libcurl would include an error text in the actual post if a
629 specified file wasn't found. This is not libcurl's job. Instead we add an
632 Daniel (18 January 2002)
633 - Played around with stricter compiler warnings for gcc (when ./configure
634 --enable-debug is used) and changed some minor things to stop the warnings.
636 - Commented out the 'long long' and 'long double' checks in configure.in, as
637 we don't currently use them anyway and the code in lib/mprintf.c that use
638 them causes warnings.
640 - Saul Good and jonatan pointed out Mac OS X build problems with pre3 and how
641 to correct them. Two compiler warnings were removed as well.
643 - Andrés García fixed two minor mingw32 building problems.
647 Daniel (17 January 2002)
648 - docs/libcurl-the-guide is a new tutorial for our libcurl programming
651 - Richard Archer brought back the ability to compile and build with OpenSSL
652 versions before 0.9.5.
653 [http://sourceforge.net/tracker/?func=detail&atid=100976&aid=504163&group_id=976]
655 - The DNS cache code didn't take the port number into account, which made it
656 work rather bad on IPv6-enabled hosts (especially when doing passive
657 FTP). Sterling fixed it.
659 Daniel (16 January 2002)
660 - Georg Horn could make a transfer time-out without error text. I found it and
663 - SSL writes didn't work, they return an uninitialized value that caused
664 havoc all over. Georg Horn experienced this.
666 - Kevin Roth patched the curl_version() function to use the proper OpenSSL
667 function for version information. This way, curl will report the version of
668 the SSL library actually running right now, not the one that had its headers
669 installed when libcurl was built. Mainly intersting when running with shared
674 Daniel (16 January 2002)
675 - Mofied the main transfer loop and related stuff to deal with non-blocking
676 sockets in the upload section. While doing this, I've now separated the
677 connection oriented buffers to have one for downloads and one for uploads
678 (as two can happen simultaneously). I also shrunk the buffers to 20K
679 each. As we have a scratch buffer twice the size of the upload buffer, we
680 arrived at 80K for buffers compared with the previous 150K.
682 - Added the --cc option to curl-config command as it enables so very cool
683 one-liners. Have a go a this one, building the simple.c example:
685 $ `curl-config --cc --cflags --libs` -o example simple.c
687 Daniel (14 January 2002)
688 - I made all socket reads (recv) handle EWOULDBLOCK. I hope nicely. Now we
689 only need to address all writes (send) too and then I'm ready for another
692 - Stoned Elipot patched the in_addr_t configure test to make it work better on
695 Daniel (9 January 2002)
696 - Cris Bailiff found out that filling up curl's SSL session cache caused a
699 - Posted the curl questionnaire on the web site. If you haven't posted your
700 opinions there yet, go there and do it now while it is still there:
702 http://curl.haxx.se/q/
704 - Georg Horn quickly found out that the SSL reading no longer worked as
705 supposed since the switch to non-blocking sockets. I've made a quick patch
706 (for reading only) but we should improve it even further.
710 Daniel (7 January 2002)
711 - I made the 'bool' typedef use an "unsigned char". It makes it the same on
712 all platforms, no matter what the platform thinks the default format for
713 char is. This was noticed since we made a silly comparison involving such a
714 bool variable, and only one compiler/platform combination (on Debian Linux)
715 complained about it (that happened to have its char unsigned by default).
717 - Bug report #495290 identified a cookie parsing problem that was corrected.
718 When a Set-Cookie: line is received without a trailing semicolon, libcurl
719 didn't read the last "name=value" pair of the line, leading to confusions...
721 - Sterling committed his updated DNS cache code.
723 - I worked with Georg Horn and comments from Götz Babin-Ebell and switched
724 curl's socket operations completely over to non-blocking for the entire
725 operation (previously we used non-blocking only for the connection phase).
726 We had to do this to make the SSL connection phase timeout properly without
727 the use of signals. A little extra code to deal with this was added.
729 - T. Bharath pointed out a slightly obscure cookie engine flaw.
731 - Pete Su pointed out that libcurl didn't treat HTTP code 204 as it should.
732 204-replies never provides a response-body. This resulted in bad persistant
733 behavior when 204 was received.
735 Daniel (5 January 2002)
736 - SM updated the VC++ library Makefiles for the new source files.
738 Daniel (4 January 2002)
739 - I discovered that we wrongly used inet_ntoa() (instead of inet_ntoa_r() in
740 two places in the source code). One happened with VERBOSE set on connects,
741 and the other when VERBOSE was on and krb4 over nat was used... I honestly
742 don't think anyone has suffered from these mistakes.
744 - I replaced a lot of silly occurances of printf() to instead use the more
745 appropriate Curl_infof() or Curl_failf(). The krb4 and telnet code were
748 - Philip Gladstone found a few more problems with 64-bit archs (the 64-bit
751 - After discussions on the libcurl list with Raoul Cridlig, I just made FTP
752 response lines get passed to the header callback if such a one is
753 registered. It'll make it possible for any application to get all the
754 responses an FTP server sends to libcurl.
756 Daniel (3 January 2002)
757 - Sterling Hughes brought a few buckets of code. Now, libcurl will
758 automatically cache DNS lookups and re-use the previous results first if any
759 such is available. It greatly improves speed when doing many repeated
760 operations to the same host.
762 - As the test case uses --include and then --head, I had to modify src/main.c
763 to deal with this situation slightly better than previously. When done, we
764 have 100% good tests again in the main branch.
766 Daniel (2 January 2002)
767 - Made test case 25 run again in the multi-dev branch. But it seems that the
768 changes done on dec-20 made test case 104 cease to work (in both branches).
770 - Philip Gladstone pointed out a few portability problems in the source code
771 that didn't compile on 64-bit sparcs using Sun's native