5 \___|\___/|_| \_\_____|
9 Version 7.21.1 (11 Aug 2010)
11 Daniel Stenberg (11 Aug 2010)
12 - RELEASE-NOTES: mention the runtests fix as well
14 - runtests: clear old setenv remainders before test
16 Due to the layout of the singletest function there are situations where
17 it returns before it clears the environment variables that were
18 especially set for the single specific test case. That could lead to
19 subsequent tests getting executed with environment variables sticking
20 around from a previous test which could lead to badness.
22 This change makes sure to clear all custom variables that may be laying
23 around from a previous round, before running a test case.
25 Reported by: Kamil Dudka
26 Bug: http://curl.haxx.se/mail/lib-2010-08/0141.html
28 Guenter Knauf (11 Aug 2010)
29 - Added OpenSSL builds to Watcom makefiles.
31 Yang Tse (11 Aug 2010)
32 - configure: werror related adjustments
34 Daniel Stenberg (11 Aug 2010)
35 - FAQ: s/libcurl.so.3/libcurl.so.X
37 Dan Fandrich (10 Aug 2010)
38 - KNOWN_BUG #59 is fixed. Clarify support of IPv6 zone IDs.
40 - Fixed typo in Android configure command
42 Daniel Stenberg (11 Aug 2010)
43 - HISTORY: added stuff from recent years
45 - warning: silence the compiler
47 warning: conversion to 'long int' from 'time_t' may alter its value
49 ... on win64 when time_t is 64bit and long is 32bit.
51 - RELEASE-NOTES: synced, 3 additional bugfixes
53 - multi_socket_action: clarify how to kickstart it
55 The callbacks are called when curl_multi_socket_action() is called, not
56 when handles are added. This is now mentioned in the "TYPICAL USAGE"
59 - callbacks: acknowledge progress callback error returns
61 When the progress callback is called during the TCP connection, an error
62 return would accidentally not abort the operation as intended but would
63 instead be counted as a failure to connect to that particular IP and
64 libcurl would just continue to try the next. I made singleipconnect()
65 and trynextip() return CURLcode properly.
67 Added bonus: it corrected the error code for bad --interface usages,
68 like tested in test 1084 and test 1085.
70 Reported by: Adam Light
71 Bug: http://curl.haxx.se/mail/lib-2010-08/0105.html
73 Guenter Knauf (10 Aug 2010)
74 - More Watcom makefile fixes ...
76 Final fix (hopefully!) for dll wlink loader;
77 prefer faster internal rm if available.
79 - Fixed my wrong edit.
81 - More Watcom makefile fixes.
83 Added the -br switch to dynamic builds which fixes the issue I saw
84 with curl's --version output. Added debug info and symfile for debug
85 builds to linker opts. Added DLL loader for wlink back, but this time
86 dependend on wlink version.
87 Patch posted to the list by malak.jiri AT gmail.com.
89 - Changed test for -u switch in order to enable other wmake switches.
91 The var %MAKEFLAGS is only set in 3 cases: if set as environment
92 var or as macro definition from commandline, and either with the
93 -u or -ms switch. Since all these cases are unlikely for the average
94 user it should be safe to only test if %MAKEFLAGS is defined; this
95 has the benefit that now all other switches can be used again in
96 addition to the -u which was formerly not possible.
98 Daniel Stenberg (10 Aug 2010)
99 - llist: hide Curl_llist_init
101 Curl_llist_init is never used outside of llist.c and thus it should be
102 static. I also removed the protos for Curl_llist_insert_prev and
103 Curl_llist_remove_next which are functions we removed from llist.c ages
106 Guenter Knauf (10 Aug 2010)
107 - Added msys Perl since git for Win32 comes with own Perl which identifies as msys.
109 - Updated lib dependency versions.
111 - Make testcurl.pl Watcom-aware.
113 Daniel Stenberg (10 Aug 2010)
114 - parse_remote_port: fix ;type= URL suffix over HTTP proxy
116 Test 563 is enabled now and verifies that the combo FTP type=A URL,
117 CURLOPT_PORT set and proxy work fine. As a bonus I managed to remove the
118 somewhat odd FTP check in parse_remote_port() and instead converted it
119 to a better and more generic 'slash_removed' struct field. Checking the
120 ->protocol field isn't right since when an FTP:// URL is sent over a
121 HTTP proxy, the protocol is HTTP but the URL was handled by the FTP code
122 and thus slash_removed is set TRUE for this case.
124 - indent: white space fixes only
126 Yang Tse (9 Aug 2010)
127 - build: fix previous push
129 - build: don't build libhostname unless shared libcurl is built
131 - build: libhostname and chkhostname linkage adjustments followup
133 Daniel Stenberg (8 Aug 2010)
134 - typo: remove duplicate semicolon
136 - multi: avoid a malloc() when a transfer is complete
138 The struct used for storing the message for a completed transfer is now
139 no longer allocated separatly but is kept within the main struct kept
140 for each easy handle so that we avoid one malloc (and the subsequent
143 Yang Tse (8 Aug 2010)
144 - build: libhostname linkage adjustments followup
146 Guenter Knauf (7 Aug 2010)
147 - Fix to overwrite libcurl name.
149 Yang Tse (7 Aug 2010)
150 - build: chkhostname build adjustments followup
152 U-D5B1PQ1J\Administrador (7 Aug 2010)
153 - build: allow NTLM tests to run on more build configurations
155 Daniel Stenberg (7 Aug 2010)
156 - curl_easy_setopt.3: rename stream to userdata
158 In some places where the name 'stream' has been used for naming a
159 function argument that is in fact settable with a setopt() option we now
160 call that argument 'userdata' to make it more obvious that it is in fact
161 possible to set by the application.
163 Suggested by: Jeff Pohlmeyer
165 Guenter Knauf (7 Aug 2010)
166 - Block created curlbuild.h for NetWare to avoid usage from other platforms.
168 Daniel Stenberg (7 Aug 2010)
169 - RELEASE-NOTES: synced with recent changes
171 Yang Tse (6 Aug 2010)
172 - build: ensure that libhostname doesn't get installed
174 Daniel Stenberg (6 Aug 2010)
175 - multi_socket: set timeout for 100-continue
177 When libcurl internally decided to wait for a 100-continue header, there
178 was no call to the timeout function so there was no timeout callback
179 called when the multi_socket API was used and thus applications became
180 either completely wrong or at least ineffecient depending on how they
181 handled the situation. We now set a timeout to get triggered.
183 Reported by: Ben Darnell
184 Bug: http://curl.haxx.se/bug/view.cgi?id=3039744
186 Guenter Knauf (6 Aug 2010)
187 - Some more Watcom makefile massage ...
189 For now removed the .autodepend directive until I've figured out
190 which of my changes broke it again.
192 Yang Tse (5 Aug 2010)
193 - build: fix libssh2_scp_send64() availability
195 - build: remove unneeded cast to (void *)
197 - build: remove unused file
199 Daniel Stenberg (4 Aug 2010)
200 - SCP: send large files properly with new enough libssh2
202 libssh2 1.2.6 and later handle >32bit file sizes properly even on 32bit
203 architectures and we make sure to use that ability.
205 Reported by: Mikael Johansson
206 Bug: http://curl.haxx.se/mail/lib-2010-08/0052.html
208 Yang Tse (3 Aug 2010)
209 - build: add missing new files to non-configure target build files
211 - md4: replace bcopy usage with memcpy
213 Daniel Stenberg (3 Aug 2010)
214 - RELEASE-NOTES: synced with recent changes
216 - TODO-RELEASE: clear, file not really used ATM
218 - typecheck-gcc: add checks for recently added options
220 I added all OBJECTPOINT curl_easy_setopt() options from 178 to 202. Left
221 to add: the five FUNCTIONPOINT (callbacks) options added since:
229 - .gitignore: ignore all built examples
231 - example: fix code to build warning-free
233 - Curl_connected_proxy: skip the bits.tcpconnect check
235 Simply because the TCP might be connected already we cannot skip the
236 proxy connect procedure. We need to be careful to not overload more
237 meaning to the bits.tcpconnect field like this.
239 With this fix, SOCKS proxies work again when the multi interface is
240 used. I believe this regression was added with commit 4b351d018e,
243 Left todo: add a test case that verifies this functionality that
244 prevents us from breaking it again in the future!
246 Reported by: Robin Cornelius
247 Bug: http://curl.haxx.se/bug/view.cgi?id=3033966
249 - sethostname: provide local prototype for gethostname
251 This is only to avoid warnings on some systems.
253 - build: add typecast to avoid warning
255 There is an implicit conversion from "unsigned long" to "long";
256 rounding, sign extension, or loss of accuracy may result.
258 Guenter Knauf (2 Aug 2010)
259 - Rename CURL_SOURCES macro; revert previous rename of curl_SOURCES macro.
261 - Removed ugly dependency lists since wmake knows the .autodepend directive.
263 - Use suffix search path for sources in lib folder.
265 - Changed src/Makefile.Watcom to use CURL_SOURCES from src/Makefile.inc.
267 - Renamed curl_SOURCES to CURL_ALLFILES to overcome wmake's case-insensitivity.
269 - Removed wlink from DLL loader list because it doesnt work with Watcom < 1.8.
271 - Moved the LDAP API defines from Makefile.Watcom to config-win32.h.
273 These defines are only needed for older Watcom versions (< 1280).
275 Daniel Stenberg (2 Aug 2010)
276 - retry: consider retrying even if -f is used
278 The --retry logic does retry HTTP when some specific response codes are
279 returned, but because the -f option sets the CURLOPT_FAILONERROR to
280 libcurl, the return codes are different for such situations and then the
281 curl tool failed to consider it for retrying.
283 Reported by: Mike Power
284 Bug: http://curl.haxx.se/bug/view.cgi?id=3037362
286 - multi: fix FTPS connecting the data connection with OpenSSL
288 Commit 496002ea1cd76af7f (released in 7.20.1) broke FTPS when using the
289 multi interface and OpenSSL was used. The condition for the non-blocking
290 connect was incorrect.
292 Reported by: Georg Lippitsch
293 Bug: http://curl.haxx.se/mail/lib-2010-07/0270.html
295 Guenter Knauf (1 Aug 2010)
296 - Fixed curlbuild.h rule.
298 - Added rule to create curlbuild.h if not present (for builds from git).
300 - Added dependend libs for curl static linking.
302 - Fixed curl.exe static linking.
304 Daniel Stenberg (30 Jul 2010)
305 - warning: silence a win64 compiler warning
307 conversion from 'size_t' to 'curl_socklen_t', possible loss of data
309 Reported by: Adam Light
311 - KNOWN_BUG: The SOCKET type in Win64 is 64 bits
313 The SOCKET type in Win64 is 64 bits large (and thus so is curl_socket_t
314 on that platform), and long is only 32 bits. It makes it impossible for
315 curl_easy_getinfo() to return a socket properly with the
316 CURLINFO_LASTSOCKET option as for all other operating systems.
318 - smtp_connect: always provide host name buffer
320 Previously the host name buffer was only used if gethostname() exists,
321 but since we converted that into a curl private function that function
322 always exists and will be used so the buffer needs to exist for all
325 - sethostname: avoid including unistd.h to duck for warnings
327 - sethostname: ISO C does not allow extra `;' outside of a function
329 - [Kamil Dudka brought this change]
331 NTLM tests: boost coverage by forcing the hostname
333 A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM
334 test-cases to override the system implementation of gethostname(). It
335 makes it possible to test the NTLM authentication for exact match, and
336 this way test the implementation of MD4 and DES.
338 If LD_PRELOAD doesn't work, a debug build willl also workk as debug
339 builds are now made to prefer a specific environment variable and will
340 then return that content as host name instead of the actual one.
342 Kamil wrote the bulk of this, Daniel Stenberg polished it.
344 Guenter Knauf (29 Jul 2010)
345 - Added a comment with an alternate idea to avoid the backslash line contination character.
347 - Changed comparison to match size_t var type.
349 - Removed unused vars to avoid compiler warnings.
351 - Make Watcom makefiles use Makefile.inc to reduce future maintainance.
353 lib/Makefile.Watcom works fine already, for src/Makefile.Watcom we
354 need first to tweak src/Makefile.inc a bit - therefore the handtweaked
355 list still exists for now.
357 - Watcom makefiles overhaul.
359 - make both libcurl and curl makefiles use register calling convention
360 (previously libcurl had stack calling convention).
361 - added include paths to the Watcom headers so its no longer required
362 to set the environment vars for this.
363 - added -wcd=201 to supress compiler warning about unreachable code.
364 - use macros for all tools, and removed dependency on GNU tools like rm.
365 - make ipv6 and debug builds controlable via env vars and so make them
366 optional instead of default.
367 - commented WINLDAPAPI and WINBERAPI since they broke with OW 1.8, and
368 it seems they're not needed (anymore?).
369 - added rule for hugehelp.c.cvs so that it will be created when not
370 already exist - this is required for building from a release tarball
371 since there we have no hugehelp.c.cvs, thus compilation broke.
372 - removed C_ARG creation from lib/Makefile.Watcom and use CFLAGS
373 directly as done too in src/Makefile.Watcom - this has the benefit
374 that we will see all active cflags and defines during compile.
375 - added LINK-ARG to src/Makefile.Watcom in order to better control
377 - a couple of other minor makefile tweaks here and there ...
378 - added largefile support for Watcom builds to config-win32.h. Not yet
379 tested if it really works, but should since Win32 supports it.
380 - added loaddll stuff to speed up builds if supported.
382 - some cosmetic changes.
384 Dan Fandrich (26 Jul 2010)
385 - Added md4.c to the Watcom makefile
387 - Added PolarSSL to the docs
389 Daniel Stenberg (25 Jul 2010)
390 - curl-config: --built-shared returns shared info
392 The curl-config now features a --built-shared command line option that
393 will output 'yes' or 'no' depending if the build process was asked to
394 build shared library/libraries or not.
396 It is primarily made to offer more details to the test suite to know
397 what kind of stunts it can expect to work.
399 - add_buffer_send: fix compiler warning
401 Win64's 32 bit long but 64 bit size_t caused a warning that we avoid
402 with a typecast. A small whitespace indent fix was also applied.
404 Reported by: Adam Light
406 Guenter Knauf (22 Jul 2010)
407 - Updated library versions.
409 - Fixed script version which was still based on CVS Revision tag.
411 Dan Fandrich (21 Jul 2010)
412 - FAQ: Why doesn't cURL error out when the cable is unplugged?
414 This one was long overdue to be mentioned in the FAQ. Also, mention the
415 new ftp wildcard downloading feature.
417 Daniel Stenberg (21 Jul 2010)
418 - [Ben Greear brought this change]
420 ssh: Fix compile error on 64-bit systems.
422 Signed-off-by: Ben Greear <greearb@candelatech.com>
424 - [Ben Greear brought this change]
426 build: Enable configure --enable-werror
428 This passes -Werror to gcc when building curl and libcurl,
429 allowing easy dection of compile warnings.
431 Signed-off-by: Ben Greear <greearb@candelatech.com>
433 - [Ben Greear brought this change]
435 pingpong: Fix indentation (whitespace change only)
437 Signed-off-by: Ben Greear <greearb@candelatech.com>
439 - [Jan Van Boghout brought this change]
441 CUSTOMREQUEST: shouldn't be disabled when HTTP is disabled
443 ... since FTP is using it as well, and potentially other protocols!
445 Also, an #endif CURL_DISABLE_HTTP was incorrectly marked, as it seems to
446 end the proxy block instead.
448 - [Jan Van Boghout brought this change]
450 pingpong: response_time is milliseconds
452 Fixed the comment/document for the response_time struct member.
454 - [Jan Van Boghout brought this change]
456 ftp: response timeout bug in "quote" sending
458 The FTP implementation was missing a timestamp reset point, making the
459 waiting for responses after sending a post-transfer "QUOTE" command not
460 working as supposedly. This bug was introduced in 7.20.0
462 - [Jeff Pohlmeyer brought this change]
464 remote-header-name: chop filename at next semicolon
466 The --remote-header-name option for the command-line tool assumes that
467 everything beyond the filename= field is part of the filename, but that
468 might not always be the case, for example:
470 Content-Disposition: attachment; filename=file.txt; modification-date=...
472 This fix chops the filename off at the next semicolon, if there is one.
474 - --retry: access violation with URL part sets continued
476 When getting multiple URLs, curl didn't properly reset the byte counter
477 after a successful transfer so if the subsequent transfer failed it
478 would wrongly use the previous byte counter and behave badly (segfault)
479 because of that. The code assumes that the byte counter and the 'stream'
480 pointer is well in synch.
482 Reported by: Jon Sargeant
483 Bug: http://curl.haxx.se/bug/view.cgi?id=3028241
485 - releasnote: synch up with commit f3b77e5611d
487 - [Constantine Sapuntzakis brought this change]
489 examples: add curl_multi_timeout
491 Make the multi-interface using examples use curl_multi_timeout to
492 properly educate users how to do things.
494 - configure: document the STATICLIB variable
496 - [Constantine Sapuntzakis brought this change]
498 multi: fix condition that remove timers before trigger
500 curl_multi perform has two phases: run through every easy handle calling
501 multi_runsingle and remove expired timers (timer removal).
503 If a small timer (e.g. 1-10ms) is set during multi_runsingle, then it's
504 possible that the timer has passed by when the timer removal runs. The
505 timer which was just added is then removed. This will potentially cause
506 the timer list to be empty and cause the next call to curl_multi_timeout
507 to return -1. Ideally, curl_multi_timeout should return 0 in this case.
509 One way to fix this is to move the struct timeval now = Curl_tvnow(); to
510 the top of curl_multi_perform. The change does that.
512 - [Constantine Sapuntzakis brought this change]
514 threaded resolver: fix timeout issue
516 Reset old timer first so we can set a new one further in the future.
518 - configure: allow environments variable to override internals
520 configure checks for grep, egrep, sed and ar and set the variables GREP,
521 EGREP, SED and AR accordingly. We now let already set variables override
522 the internal choices to let users make decisions when they know the
523 right choice already. This is a regression as our configure script used
524 to allow this back before commit 0b57c475 (up to 7.18.2).
526 Reported by: "kdekker"
527 Bug: http://curl.haxx.se/bug/view.cgi?id=3028318
529 Dan Fandrich (9 Jul 2010)
530 - Improved the Android build instructions
532 Daniel Stenberg (7 Jul 2010)
533 - [Tor Arntsen brought this change]
535 upload: Avoid infinite loop when checking for auth bits
537 The test would loop forever if authtype bit 0 wasn't set.
539 - upload: warn users trying to upload from stdin with anyauth
541 Since uploading from stdin is very likely to not work with anyauth and
542 its multi-phase probing for what authentication to actually use, alert
543 the user about it. Multi-phase negotiate almost certainly will involve
544 sending data and thus libcurl will need to rewind the stream to send
545 again, and it cannot do that with stdin.
547 - http: don't enable chunked during authentication negotiations
549 As mentioned in bug report #2956968, the HTTP code wouldn't send the
550 first empty chunk during the auth negotiation phase of the HTTP request
551 sending, so the server would wait for data to come and libcurl would
552 wait for data to arrive... I've made the code not enable chunked
553 encoding until the auth negotiation is done and thus this scenario
554 doesn't occur anymore.
556 Reported by: Sidney San MartÃn
557 Bug: http://curl.haxx.se/bug/view.cgi?id=2956968
559 - --libcurl: list the tricky options instead of using [REMARK]
561 I think the [REMARK] and commented function calls cluttered the code a
562 bit too much and made the generated code ugly to read. Now we instead
563 track the remarks one specially and just lists them at the end of the
564 generated code more as additional information.
566 - curl: avoid setting libcurl options to its default
568 it makes the --libcurl output easier to follow.
570 - --libcurl: hide setopt() calls setting default options
572 And additionally, don't show function or object pointers actual value
573 since they make no sense to anyone. Show 'functionpointer' and
574 'objectpointer' instead.
576 - --libcurl: use *_LARGE options with typecasted constants
578 In the generated code --libcurl makes, all calls to curl_easy_setopt()
579 that use *_LARGE options now have the value typecasted to curl_off_t, so
580 that it works correctly for 32bit systems with 64bit curl_off_t type.
582 - multi: CURLINFO_LASTSOCKET doesn't work after remove_handle
584 When curl_multi_remove_handle() is called and an easy handle is returned
585 to the connection cache held in the multi handle, then we cannot allow
586 CURLINFO_LASTSOCKET to extract it since that will more or less encourage
587 that the user uses the socket while it can get used by libcurl again.
589 Without this fix, we'd get a segfault in Curl_getconnectinfo() trying to
590 dereference the NULL pointer in 'data->state.connc'.
592 Bug: http://curl.haxx.se/bug/view.cgi?id=3023840
594 - [Pierre Joye brought this change]
596 build: add enable IPV6 option for the VC makefiles
598 - FAQ: the threaded resolver works universally now
600 Kamil Dudka (30 Jun 2010)
601 - http_ntlm: add support for NSS
603 When configured with '--without-ssl --with-nss', NTLM authentication
604 now uses NSS crypto library for MD5 and DES. For MD4 we have a local
605 implementation in that case. More details are available at
606 https://bugzilla.redhat.com/603783
608 In order to get it working, curl_global_init() must be called with
609 CURL_GLOBAL_SSL or CURL_GLOBAL_ALL. That's necessary because NSS needs
610 to be initialized globally and we do so only when the NSS library is
611 actually required by protocol. The mentioned call of curl_global_init()
612 is responsible for creating of the initialization mutex.
614 There was also slightly changed the NSS initialization scenario, in
615 particular, loading of the NSS PEM module. It used to be loaded always
616 right after the NSS library was initialized. Now the library is
617 initialized as soon as any SSL or NTLM is required, while the PEM module
618 is prevented from being loaded until the SSL is actually required.
620 Daniel Stenberg (29 Jun 2010)
621 - glob: backslash escaping bug
623 curl didn't properly handle escaping characters in a URL with the use of
624 backslash. It did an attempt, but that failed as reported in bug
625 3022551. The described example was using the URL
626 "http://example.com?{AB,C\,D}".
628 I've now removed the special-handling of letters following the backslash
629 and I also removed the bad extra check that triggered this particular
632 Bug: http://curl.haxx.se/bug/view.cgi?id=3022551
633 Reported by: Jon Sargeant
635 - release-notes: sync up with recent commits
637 - CONTRIBUTE: the git commit message line length is 72 columns
639 - [Pavel Raiskup brought this change]
641 ftp wildcard: FTP LIST parser FIX
643 There was a problem when a UNIX-like server returned information
644 about directory size (total NNNNNN) at the first line of
647 - [Pavel Raiskup brought this change]
649 examples: new FTP wildcard showcase
651 - multi_socket: re-use of same socket without notifying app
653 When a hostname resolves to multiple IP addresses and the first one
654 tried doesn't work, the socket for the second attempt may get dropped on
655 the floor, causing the request to eventually time out. The issue is that
656 when using kqueue (as on mac and bsd platforms) instead of select, the
657 kernel removes the first fd from kqueue when it is closed (in trynextip,
658 connect.c:503). Trynextip() then goes on to open a new socket, which
659 gets assigned the same number as the one it just closed. Later in
660 multi.c, socket_cb is not called because the fd is already in
661 multi->sockhash, so the new socket is never added to kqueue.
663 The correct fix is to ensure that socket_cb is called to remove the fd
664 when trynextip() closes the socket, and again to re-add it after
665 singleipsocket(). I'm not sure how to cleanly do that, but the attached
666 patch works around the problem in an admittedly kludgy way by delaying
667 the close to ensure that the newly-opened socket gets a different fd.
669 Daniel's added comment: I didn't spot a way to easily do a nicer fix so
670 I've proceeded with Ben's patch.
672 Bug: http://curl.haxx.se/bug/view.cgi?id=3017819
673 Patch by: Ben Darnell
675 Kamil Dudka (24 Jun 2010)
676 - [Pavel Raiskup brought this change]
678 ftp-wildcard: avoid tight loop when used without any pattern
680 It was broken for URLs like "ftp://example.com/".
682 Daniel Stenberg (21 Jun 2010)
683 - maketgz: produce CHANGES automatically with the 1000 most recent commits
685 It passes the git log output through 'log2changes.pl' to produce
688 - ignore: CHANGES.dist gets generated by maketgz
690 - CHANGES: move all contents from CHANGES to CHANGES.0
692 CHANGES is no longer used for manually edited content. It is to
693 be generated automatically by maketgz when we make release
696 - log2changes: correct command line, fix tag usage, change Version output
698 --decorate=full is needed with my git 1.7.1 to get the necessary
699 output so that the previous edit would work to extract the
702 ... but I had to edit how the refs/tags was extracted since it
703 had a little flaw that made it miss the 7.20.1 output.
705 Finally, I changed so that Version is outputted even more similar
706 to how CHANGES does it.
708 Dan Fandrich (21 Jun 2010)
709 - Make the output of log2changes.pl even more closely match CHANGES
711 Add the ASCII art header, and list version commits by decoding
712 the ref tag names, when available (using the git log --decorate
715 Daniel Stenberg (19 Jun 2010)
716 - log2changes: first version of the git log to CHANGES conversion script
718 $ git log --pretty=fuller --no-color --date=short | ./log2changes.pl
720 Of course, limiting the log output with a range like with
721 "[tag]..HEAD" appended can be very useful too.
723 - sendrecv: treat all negative values from send/recv as errors
725 For example the libssh2 based functions return other negative
726 values than -1 to signal errors and it is important that we catch
727 them properly. Right before this, various failures from libssh2
728 were treated as negative download amounts which caused havoc.
730 - multi: prevent NULL pointer dereference
732 My additional call to Curl_pgrsUpdate() would sometimes get
733 called even though there's no connection (left) so a NULL pointer
734 would get passed, causing a segfault.
736 - smtp: fixed a few uses of size_t that seemed to believe it was signed
738 Reported-by: Steven M. Schweda
740 Dan Fandrich (17 Jun 2010)
741 - Fixed an OOM memory leak in the FTP wildcard code
743 Kamil Dudka (17 Jun 2010)
744 - test575: do not fail with threaded DNS resolver
746 Daniel Stenberg (17 Jun 2010)
747 - [Krister Johansen brought this change]
749 multi: unmark handle as used when no longer head of pipeline
751 - multi: call the progress function only once and allow abort
753 1) no need to call the progress function twice when in the
754 CURLM_STATE_TOOFAST state.
756 2) Make sure that the progress callback's return code is
757 acknowledged when used
759 - multi: call the progress callback in all states
761 As long as no error is reported, the progress function can get
762 called. This may be a little TOO often so we should keep an eye
763 on this and possibly make this conditional somehow.
765 - configure: spell --disable-threaded-resolver correctly
767 Previously we only accepted the option when named
768 --disable-threaded-resover, which wasn't quite intended.
770 Reported by: Helwing Lutz
772 - release: start on 7.21.1, bump contributor count
774 - version: start working on the 7.21.1-dev version
776 - THANKS: added contributors from the 7.21.0 release
778 Version 7.21.0 (16 Jun 2010)
780 Daniel Stenberg (16 Jun 2010)
783 Yang Tse (10 Jun 2010)
784 - remove unused 'tmpdata' and 'backup' ftp_parselist_data struct members
786 - replace isprint() with ISPRINT()
788 - ensure that Curl_wildcard_dtor() leaves WildcardData struct zero initialized
790 Patrick Monnerat (9 Jun 2010)
791 - ILE/RPG binding updated to current curl.h definitions.
793 Yang Tse (9 Jun 2010)
794 - code simplification
796 - add Curl_ prefix to conform with cURL naming standards
798 - Merge branch 'master' of git@github.com:bagder/curl
800 - fix compiler warning using curl_socket_t to store socket descriptor
802 Daniel Stenberg (8 Jun 2010)
803 - inet_pton: warnings: use size_t to store pointer deltas
805 Yang Tse (8 Jun 2010)
806 - avoid redundant work when reusing same connection
808 - fix function result checking
810 Daniel Stenberg (8 Jun 2010)
811 - transfer: warning: implicit conversion
813 There is an implicit conversion from "unsigned long" to "long";
814 rounding, sign extension, or loss of accuracy may result.
816 Fixed by an added typecast.
818 - TFTP: fix compiler warning
820 Curl_fillreadbuffer()'s second argument takes an int, so
821 typecasting to another is a bad idea.
823 - TFTP: fix warning for sendto() usage on non-POSIX systems
825 Older unixes want an 'int' instead of 'size_t' as the 3rd
826 argumment so before this change it would cause warnings such as:
828 There is an implicit conversion from "unsigned long" to "int";
829 rounding, sign extension, or loss of accuracy may result.
831 Dan Fandrich (7 Jun 2010)
832 - Include Makefile.inc to get the list of source files for Amiga
834 Signed-off-by: Diego Casorran <dcasorran@gmail.com>
836 Yang Tse (7 Jun 2010)
837 - Curl_updateconninfo() error handling fix
839 Daniel Stenberg (5 Jun 2010)
840 - [Constantine Sapuntzakis brought this change]
842 OpenSSL: fix spurious SSL connection aborts
844 Was seeing spurious SSL connection aborts using libcurl and
845 OpenSSL. I tracked it down to uncleared error state on the
846 OpenSSL error stack - patch attached deals with that.
848 Rough idea of problem:
850 Code that uses libcurl calls some library that uses OpenSSL but
851 don't clear the OpenSSL error stack after an error.
853 ssluse.c calls SSL_read which eventually gets an EWOULDBLOCK from
854 the OS. Returns -1 to indicate an error
856 ssluse.c calls SSL_get_error. First thing, SSL_get_error calls
857 ERR_get_error to check the OpenSSL error stack, finds an old
858 error and returns SSL_ERROR_SSL instead of SSL_ERROR_WANT_READ or
859 SSL_ERROR_WANT_WRITE.
861 ssluse.c returns an error and aborts the connection
865 Clear the openssl error stack before calling SSL_* operation if
866 we're going to call SSL_get_error afterwards.
870 This is much more likely to happen with multi because it's easier
871 to intersperse other calls to the OpenSSL library in the same
874 Yang Tse (5 Jun 2010)
875 - replace socklen_t with curl_socklen_t
877 Daniel Stenberg (5 Jun 2010)
878 - [Frank Meier brought this change]
880 getinfo: added *_PRIMARY_PORT, *_LOCAL_IP and *_LOCAL_PORT
882 - RELEASE-NOTES: add contributors not mentioned
884 Yang Tse (4 Jun 2010)
885 - Enable OpenLDAP support for cygwin builds.
887 Enable OpenLDAP support for cygwin builds. This support was disabled back
888 in 2008 due to incompatibilities between OpenSSL and OpenLDAP headers.
889 cygwin's OpenSSL 0.9.8l and OpenLDAP 2.3.43 versions on cygwin 1.5.25
890 allow building an OpenLDAP enabled libcurl supporting back to Windows 95.
892 Remove non-functional CURL_LDAP_HYBRID code and references.
894 Kamil Dudka (2 Jun 2010)
895 - ftplistparser.c: oops, fix typo in the last commit
897 - ftplistparser.c: avoid some invalid dereferences
899 - lib: eliminate some dead code
901 Daniel Stenberg (2 Jun 2010)
902 - SSH: corrected the inability to respect the timeout
904 Jason McDonald posted bug report #3006786 when he found that the
905 SFTP code didn't timeout properly in several places in the code
906 even if a timeout was set properly.
908 Based on his suggested patch, I wrote a different implementation
909 that I think addressed the issue better and also uses the connect
910 timeout for the initial part of the SSH/SFTP done during the
911 "protocol connect" phase.
913 (http://curl.haxx.se/bug/view.cgi?id=3006786)
915 Yang Tse (2 Jun 2010)
916 - mention last changes
918 - add missing new files to non-configure target build files
920 - include libcurl standard internal headers
922 Daniel Stenberg (2 Jun 2010)
923 - TODO: add multi interface improvement remove ldap select
925 Yang Tse (2 Jun 2010)
926 - make setup.h first included file
928 - fix spnego memory leak
930 - openldap header inclusions fix
932 Daniel Stenberg (1 Jun 2010)
933 - multi_socket: handles timer inaccuracy better for timeouts
935 Igor Novoseltsev reported a problem with the multi socket API and
936 using timeouts and timers. It boiled down to a problem with
937 libcurl's use of GetTickCount() interally to figure out the
938 current time, while Igor's own application code used another
941 It made his app call the socket API timeout function a bit
942 _before_ libcurl would consider the timeout to trigger, and that
943 could easily lead to timeouts or stalls in the app. It seems
944 GetTickCount() in general often has no better resolution than
945 16ms and switching to the alternative function
946 QueryPerformanceCounter has its share of problems:
947 http://www.virtualdub.org/blog/pivot/entry.php?id=106
949 We address this problem by simply having libcurl treat timers
950 that already has occured or will occur within 40ms subject for
951 treatment. I'm confident that there are other implementations and
952 operating systems with similarly in accurate timer functions so
953 it makes sense to have applied generically and I don't believe we
954 sacrifice much by adding a 40ms inaccuracy on these timeouts.
956 Yang Tse (1 Jun 2010)
957 - fix ldaps option issue
959 - fix ldap related compilation issues
961 - fix compiler warning: enumerated type mixed with another type
963 - fix compiler warning: enumerated type mixed with another type
965 Patrick Monnerat (31 May 2010)
966 - smtp_authenticate: avoid compiler warnings
968 Yang Tse (31 May 2010)
969 - fix compiler warning: enumerated type mixed with another type
971 - fix compiler warning: enumerated type mixed with another type
973 - fix compiler warning: enumerated type mixed with another type
975 - fix compiler warning: external declaration in primary source file
977 - fix compiler warning: variable was set but never used
979 - fix compiler warning: enumerated type mixed with another type
981 - fix compiler warning: external declaration in primary source file
983 - update year in copyright notice
985 Kamil Dudka (29 May 2010)
986 - strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN
988 ... and CURL_LLONG_MAX -> CURL_OFF_T_MAX
990 - CURL_LLONG_MAX: avoid constant overflow
992 ... when (CURL_SIZEOF_CURL_OFF_T == 4)
994 Daniel Stenberg (28 May 2010)
995 - [Howard Chu brought this change]
997 LDAPS: list availability depending on SSL's presence
999 - [Howard Chu brought this change]
1001 LDAP: make it build without SSL if no such support is available
1003 of course it also goes for the case where SSL is explicitly
1006 - TODO: removed fixed items
1008 These two items are now actually implemented:
1010 11.1 Content-Disposition
1011 11.5 ftp wildcard download
1013 Kamil Dudka (28 May 2010)
1014 - lib: eliminate 'statement not reached' warnings
1016 Daniel Stenberg (28 May 2010)
1017 - test1115: verify that unexpected 1xx responses work fine
1019 Kamil Dudka (28 May 2010)
1020 - lib577: avoid redefinition of ERROR
1022 - test313: a new test for CRL support
1024 - tests/certs: re-generated because of lost pass-phrase
1026 - tests/certs/scripts: generate also CRL
1028 ... and make it possible to do so without any user interaction
1030 Daniel Stenberg (27 May 2010)
1031 - [Howard Chu brought this change]
1033 openldap: fix compiler warnings
1035 - indent: some whitespace edits
1037 Kamil Dudka (27 May 2010)
1038 - wildcard.c: add missing include of "setup.h"
1040 - [Tor Arntsen brought this change]
1042 lib573: do not compare double for exact match
1044 - [Pavel Raiskup brought this change]
1046 wildcard.c: add missing include of "curl_memory.h"
1048 - [Tor Arntsen brought this change]
1050 setup_once: use enum type for 'bool' on non-C99 platforms
1052 An enum will catch non-bool assignments to bool on platforms with
1053 a strict compiler, e.g MIPSPro.
1055 Signed-off-by: Kamil Dudka <kdudka@redhat.com>
1057 - url.c: avoid implied cast to bool
1059 - [Tor Arntsen brought this change]
1061 curl_fnmatch: remove use of register keyword
1063 Using the 'register' keyword rarely improves anything with modern
1064 compilers and architectures.
1066 Daniel Stenberg (26 May 2010)
1067 - [Julien Chaffraix brought this change]
1069 RTMP: Fix compiler warnings
1071 - [Julien Chaffraix brought this change]
1073 OOM fixes in http_negociate.c and lib/splay.c
1075 Fix 2 OOM errors: a missing NULL-check in lib/http_negociate.c
1076 and a potential NULL dereferencing in lib/splay.c
1078 - [Howard Chu brought this change]
1080 LDAP: properly implemented as a curl_handler
1082 makes the LDAP code much cleaner, nicer and in general being a
1083 better libcurl citizen. If a new enough OpenLDAP version is
1084 detect, the new and shiny lib/openldap.c code is then used
1085 instead of the old cruft
1087 Code by Howard, minor cleanups by Daniel.
1089 - [Tor Arntsen brought this change]
1091 curl_fnmatch: Use int not bool when function returns int
1093 bool in curl internals is unsigned char and should not be used
1094 to receive return value from functions returning int - this fails
1095 when using IBM VisualAge and Tru64 compilers.
1097 - TFTP: send legal timeout value
1099 Eric Mertens posted bug #3003705: when we made TFTP use the
1100 correct timeout option when sent to the server (fixed May 18th
1101 2010) it became obvious that libcurl used invalid timeout values
1102 (300 by default while the RFC allows nothing above 255). While of
1103 course it is obvious that as TFTP has worked thus far without
1104 being able to set timeout at all, just removing the setting
1105 wouldn't make any difference in behavior. I decided to still keep
1106 it (but fix the problem) as it now actually allows for easier
1107 (future) customization of the timeout.
1109 (http://curl.haxx.se/bug/view.cgi?id=3003705)
1111 - TFTP: don't ack if wrong block num is received
1113 If an unexpected block number was received, break out of the
1116 - TFTP: block id wrap bug fix
1118 In a normal expression, doing [unsigned short] + 1 will not wrap
1119 at 16 bits so the comparisons and outputs were done wrong. I
1120 added a macro do make sure it gets done right.
1122 Douglas Kilpatrick filed bug report #3004787 about it:
1123 http://curl.haxx.se/bug/view.cgi?id=3004787
1125 - [Ben Greear brought this change]
1129 Signed-off-by: Ben Greear <greearb@candelatech.com>
1131 - [Ben Greear brought this change]
1133 setopt: Fix setting of set.is_fwrite_set
1135 Signed-off-by: Ben Greear <greearb@candelatech.com>
1137 - [Tanguy Fautre brought this change]
1139 build: allow curl to build with Microsoft VC10
1141 By undefing a bunch of E* defines that VC10 has started to define
1142 but that we redefine internally to their WSA* alternatives when
1143 building for Windows.
1145 Kamil Dudka (20 May 2010)
1146 - [Tor Arntsen brought this change]
1148 Test 573: Use correct type for CURLINFO_CONNECT_TIME
1150 curl_easy_getinfo() called with a pointer to long instead of double
1151 would sigbus on RISC processors (e.g. MIPS) due to wrong alignment
1154 - [Tor Arntsen brought this change]
1156 lib: Fix AIX build failure
1158 Dan Fandrich (19 May 2010)
1159 - Fixed some memory leaks in the POP3 torture tests
1161 - Fixed a memory leak in the SMTP torture tests
1163 Daniel Stenberg (18 May 2010)
1164 - TFTP: send timeout option correctly
1166 Eric Mertens posted bug report #3003005 pointing out that the
1167 libcurl TFTP code was not sending the timeout option properly to
1168 the server, and suggested a fix.
1170 (http://curl.haxx.se/bug/view.cgi?id=3003005)
1172 Kamil Dudka (16 May 2010)
1173 - [Tor Arntsen brought this change]
1175 lib: Change some CRLF line endings to LF
1177 An update had added a couple of lines with DOS line endings,
1178 and some compilers will choke on that (e.g. the Tru64 compiler).
1180 - ftp wildcard: a new option CURLOPT_FNMATCH_DATA
1182 Daniel Stenberg (15 May 2010)
1183 - [Howard Chu brought this change]
1185 RMTP: the version code is now rtmp aware
1187 - [Howard Chu brought this change]
1189 RTMP: fix wrong #ifdef
1191 - [Pavel Raiskup brought this change]
1193 ftp wildcard: fix int32_t and size/group mixups
1195 Dan Fandrich (14 May 2010)
1196 - Fixed test 577 to work when --enable-hidden-symbols is configured
1198 Daniel Stenberg (14 May 2010)
1199 - OpenSSL: multi interface handshake could hang
1201 John-Mark Bell filed bug #3000052 that identified a problem (with
1202 an associated patch) with the OpenSSL handshake state machine
1203 when the multi interface is used:
1205 Performing an https request using a curl multi handle and using
1206 select or epoll to wait for events results in a hang. It appears
1207 that the cause is the fix for bug #2958179, which makes
1208 ossl_connect_common unconditionally return from the step 2 loop
1209 when fetching from a multi handle.
1211 When ossl_connect_step2 has completed, it updates
1212 connssl->connecting_state to ssl_connect_3. ossl_connect_common
1213 will then return to the caller, as a multi handle is in
1214 use. Eventually, the client code will call curl_multi_fdset to
1215 obtain an updated fdset to select or epoll on. For https
1216 requests, curl_multi_fdset will cause https_getsock to be called.
1217 https_getsock will only return a socket handle if the
1218 connecting_state is ssl_connect_2_reading or
1219 ssl_connect_2_writing. Therefore, the client will never obtain a
1220 valid fdset, and thus not drive the multi handle, resulting in a
1223 (http://curl.haxx.se/bug/view.cgi?id=3000052)
1225 - changelog: add link to bug report
1227 Dan Fandrich (14 May 2010)
1228 - Added directories.pm to the source tar ball
1230 Daniel Stenberg (14 May 2010)
1231 - follow redirect: ignore response-body on redirect even if compressed
1233 Sebastian V reported bug #3000056 identifying a problem with
1234 redirect following. It showed that when curl followed redirects
1235 it didn't properly ignore the response body of the 30X response
1236 if that response was using compressed Content-Encoding!
1238 (http://curl.haxx.se/bug/view.cgi?id=3000056)
1240 - version: we're now going for 7.21.0
1242 - [Hoi-Ho Chan brought this change]
1244 Remove support for BSD version of PolarSSL
1246 "The BSD version of PolarSSL was made for migratory purposes only and is not
1247 maintained. The GPL version of PolarSSL is actually the only actively
1248 developed version, so I would be very reluctant to use the BSD version." /
1249 Paul Bakker, PolarSSL hacker.
1251 Signed-off-by: Hoi-Ho Chan <hoiho.chan@gmail.com>
1253 Dan Fandrich (12 May 2010)
1254 - Added Polar SSL and RTMP files to the non-autoconf build files
1256 I didn't bother with a few that have little hope of running the required
1257 dependent libraries.
1259 - Added the new ftp source files to the non-autoconf build files
1261 - Copy the license file so it's seen by the Android build system
1263 Daniel Stenberg (13 May 2010)
1264 - updated with symbols added in recent commits for 7.21.0
1266 - changelogs: mention RTMP and the FTP wildcard support
1268 - ftp wildcards: mention they're added in 7.21.0
1270 - style: minor whitespace change
1274 - [Pavel Raiskup brought this change]
1276 FTP: WILDCARDMATCH/CHUNKING/FNMATCH added
1278 - [Howard Chu brought this change]
1280 RTMP: initial support added, powered by librtmp
1282 librtmp is found at http://rtmpdump.mplayerhq.hu/
1284 - [Howard Chu brought this change]
1286 sendrecv: make them two pairs of send/recv to properly deal with FTPS
1288 FTP(S) use two connections that can be set to different recv and
1289 send functions independently, so by introducing recv+send pairs
1290 in the same manner we already have sockets/connections we can
1291 work with FTPS fine.
1293 This commit fixes the FTPS regression introduced in change d64bd82.
1295 Kamil Dudka (11 May 2010)
1296 - changelog: fixed CRL support in libcurl-NSS
1298 - nss: make it possible to read ASCII and DER CRL
1300 - nss: add CRL to cache instead of read-only NSS db
1302 Daniel Stenberg (10 May 2010)
1303 - git: how to write a fine commit message
1305 - findtool: file name as a full path requires a slash
1307 Kalle Vahlman's patch applied a while ago broke how the findtool
1308 function searches for tools, as it would always check if "$file"
1309 was present first, which thus made the bad assumption that a file
1310 in the current directory would be a match.
1312 I noticed when it found 'libtool' in the current directory but
1313 libtoolize is not there, which confused the script.
1316 - moved vars into conditional since seems that winsock implementation doesnt use them.
1318 Daniel Stenberg (7 May 2010)
1319 - multi interface: missed storing connection time
1321 Dirk Manske reported a regression. When connecting with the multi
1322 interface, there were situations where libcurl wouldn't store
1323 connect time correctly as it used to (and is documented to) do.
1325 Using his fine sample program we could repeat it, and I wrote up
1326 test case 573 using that code. The problem does not easily show
1327 itself using the local test suite though.
1329 The fix, also as suggested by Dirk, is a bit on the ugly side as
1330 it adds yet another call to Curl_verboseconnect() and setting the
1331 TIMER_CONNECT time. That situation is subject for some closer
1332 inspection in the future.
1334 - verboseconnect: so the verbose checking within the function
1336 As the function is used more than once and libcurl can be built
1337 without it, do the conditional check within the verboseconnect()
1340 - changelogs: split the I/O handling
1342 - [Howard Chu brought this change]
1344 sendrecv: split the I/O handling into private handler
1346 Howard Chu brought the bulk work of this patch that properly
1347 moves out the sending and recving of data to the parts of the
1348 code that are properly responsible for the various ways of doing
1351 Daniel Stenberg assisted with polishing a few bits and fixed some
1352 minor flaws in the original patch.
1354 Another upside of this patch is that we now abuse CURLcodes less
1355 with the "magic" -1 return codes and instead use CURLE_AGAIN more
1358 - changelog: PolarSSL
1360 - [Hoi-Ho Chan brought this change]
1362 PolarSSL: initial support added
1364 This is Hoi-Ho Chan's patch with some minor fixes by me. There
1365 are some potential issues in this, but none worse than we can
1366 sort out on the list and over time.
1368 - TODO: we've done PRET already, consider HOST for the future
1370 ... and GnuTLS connects are non-blocking, TFTP is better
1371 integrated as a "real" protocol and RTSP is supported.
1373 - TODO: GnuTLS connects are now non-blocking
1375 Since commit c288860 by Jerome Vouillon
1377 - INTERNALS: tftp is decent now, ldap is not
1379 It's not quite fair to list TFTP is a "crappy" member of the
1380 libcurl family so I removed its mentioning.
1382 - changelog: mention Ben Greear's telnet work
1384 - [Ben Greear brought this change]
1386 telnet: Allow programatic use of telnet.
1388 The main change is to allow input from user-specified methods,
1389 when they are specified with CURLOPT_READFUNCTION.
1390 All calls to fflush(stdout) in telnet.c were removed, which makes
1391 using 'curl telnet://foo.com' painful since prompts and other data
1392 are not always returned to the user promptly. Use
1393 'curl --no-buffer telnet://foo.com' instead. In general,
1394 the user should have their CURLOPT_WRITEFUNCTION do a fflush
1395 for interactive use.
1397 Also fix assumption that reading from stdin never returns < 0.
1398 Old code could crash in that case.
1400 Call progress functions in telnet main loop.
1402 Signed-off-by: Ben Greear <greearb@candelatech.com>
1404 - test: enable valgrind for 604, seems to work
1406 Kamil Dudka (28 Apr 2010)
1407 - [Paul Howarth brought this change]
1409 add 1s post-command delay to tests 513 and 514
1411 addressing http://curl.haxx.se/mail/lib-2009-12/0031.html
1413 Daniel Stenberg (26 Apr 2010)
1414 - [Kalle Vahlman brought this change]
1416 Allow tools to be defined with full path in buildconf
1418 This is required in Scratchbox where
1419 LIBTOOL=/targets/links/arch_tools/bin/libtool
1420 is set in the environment.
1422 - progress callback: can be called more than once per sec
1424 - SSH: init and cleanup libssh2 in global_init/cleanup
1426 The necessary libssh2 functions require libssh2 1.2.5 or later.
1428 - new configure option --enable-threaded-resolver
1430 - configure: check for libssh2_init and libssh2_exit
1432 Kamil Dudka (24 Apr 2010)
1433 - nss: fix SSL handshake timeout underflow
1435 Guenter Knauf (24 Apr 2010)
1436 - encourage users to take latest lib dependencies.
1438 Daniel Stenberg (24 Apr 2010)
1439 - socks5: please static code analyzer
1441 Make sure we don't call memcpy() if the argument is NULL even
1442 though we also passed a zero length then, as the clang analyzer
1443 whined and we want to limit warnings (even false positives) when
1444 they're this easy to fix.
1446 The change of (char) to (unsigned char) will fix long user names
1447 and passwords on systems that have the char type signed by
1450 - gzip: Value stored to 'data' is never read
1452 - RELEASE-NOTES: update top numbers
1454 - changelog: added the --proto and -proto-redir options
1456 - [Alex Bligh brought this change]
1458 curl: added --proto and --proto-redir
1460 --proto tells curl to use the listed protocols for its initial
1463 --proto-redir tells curl to use the listed protocols after a
1466 Kamil Dudka (24 Apr 2010)
1467 - test536: do not fail with threaded DNS resolver
1469 Also tweaked comments in certain examples using curl_multi_fdset().
1471 Daniel Stenberg (21 Apr 2010)
1472 - curl: -O crash on windows
1474 The -O option caused curl to crash on windows and DOS due to the
1475 tool writing out of boundary memory.
1477 Yang Tse (20 Apr 2010)
1478 - hmac.c related compilation adjustment
1480 - hmac.c related compilation adjustment
1482 monnerat (20 Apr 2010)
1483 - Add compilation directives for hmac in Watcom,riscos and vc6 platform-specific makefiles.
1485 Yang Tse (20 Apr 2010)
1486 - [Ruslan Gazizov brought this change]
1488 replaced wsock32.lib usage with ws2_32.lib in MSVC makefiles
1490 monnerat (19 Apr 2010)
1491 - Merge branch 'master' of github.com:bagder/curl
1493 - Remove null-effect leftover code.
1495 Daniel Stenberg (19 Apr 2010)
1496 - changelog: -J/--remote-header-name strips CRLF
1498 - parse_filename: strip trailing CRs and LFs
1500 The feature that uses the file name given in a
1501 Content-disposition: header didn't properly skip trailing
1502 carriage returns and linefeed characters from the end of the file
1503 name when it was given without quotes.
1505 - Curl_HMAC_MD5: fix the array init to not warn with picky compilers
1507 monnerat (19 Apr 2010)
1508 - Fix GnuTLS compilation problem in md5.c
1510 - Fix compilation problem: declare Curl_HMAC_MD5 as extern in include file.
1512 - Merge branch 'master' of github.com:bagder/curl
1514 - Implement SMTP authentication
1516 Daniel Stenberg (17 Apr 2010)
1517 - parseconfig: Value stored to 'line' is never read
1519 Make the function call with (void) as we don't care about the
1522 - parsedate: Value stored to 'found' is never read
1524 - check_gzip_header: Value stored to 'data' is never read
1526 - dprintf_formatf: Value stored to 'left' is never read
1528 - curl_version: remove superfluous assignments
1530 - FTP PORT: Value stored to 'rc' is never read
1532 - Curl_setup_transfer: no longer returns anything
1534 This function could only return CURLE_OK and by changing it to
1535 a void instead, we can simplify code all over.
1537 - PASV response: Value stored to 'rc' is never read
1539 - Curl_perform: Value stored to 'res2' is never read
1541 - sftp range: remove unnecessary check for NULL pointer
1543 - ftp_range: remove unnecessary check for NULL pointer
1545 - file_range: remove unnecessary check for NULL pointer
1547 - SOCKS4: Value stored to 'rc' is never read
1549 - FTP PASV: Value stored to 'rc' is never read
1551 - ftp_range: Value stored to 'totalsize' is never read
1553 Simplified the code by removing a local variable completely.
1555 - SOCKS5: when name resolves fail return immediately
1557 This makes the code flow more obvious and reacts on the return
1558 code properly, even if the code acted the same way before.
1560 - POP3: when USER command fails, don't even try PASS
1562 - tftp_rx: Value stored to 'sbytes' is never read
1564 - file_range: Value stored to 'totalsize' is never read
1566 - changelog: GnuTLS: SSL handshake phase is non-blocking
1568 - [Jerome Vouillon brought this change]
1570 GnuTLS: make the connection phase non-blocking
1572 When multi interface is used, the SSL handshake is no longer
1573 blocking when GnuTLS is used.
1575 - krb5_auth: fix my previous change to compile
1577 unknown (16 Apr 2010)
1578 - OS400 version V5R2M0 not supported anymore by IBM: default target release changed to V5R3M0.
1580 Daniel Stenberg (16 Apr 2010)
1581 - changelog: GnuTLS fix, no reverse loopkups and fixed GSS detection
1583 - SSL_RECV: EOF is not an error here
1585 The recent overhaul of the SSL recv function made this treat a
1586 zero returned from gnutls_record_recv() as an error, and this
1587 caused our HTTPS test cases to fail. We leave it to upper layer
1588 code to detect if an EOF is a problem or not.
1590 - [Paul Howarth brought this change]
1592 configure: GSSAPI detection on ancient Linux distros
1594 On some ancient distributions such as RHEL-3, <gssapi/gssapi_krb5.h> needs
1595 to be processed after <gssapi/gssapi.h>, but does not include it itself.
1596 This patch checks for <gssapi/gssapi.h> first and then includes it
1597 in the test for <gssapi/gssapi_krb5.h>, resolving the problem.
1599 Without the patch, <gssapi/gssapi_krb5.h> is "present but cannot be
1602 - resolvers: no more using AI_CANONNAME
1604 No resolver anymore needs to use AI_CANONNAME and do reverse
1605 lookups. We should work hard to avoid having code that relies on
1608 - KRB5: use given host name instead of reverse lookup'ed name
1610 This code would previously use dns_entry->addr->ai_canonname
1611 instead of the given host name, which caused us grief and
1612 problems since not all our resolver options do the reverse lookup
1613 and I would also guess that it caused problems with KRB5/GSS with
1614 virtual name-based hosts. Now the host name from the URL is used.
1616 Dan Fandrich (15 Apr 2010)
1617 - Remove redundant conditional
1619 - Eliminated an unlikely race condition in some tests.
1621 Based on a patch from the FreeBSD ports by Peter Pentchev.
1623 Daniel Stenberg (15 Apr 2010)
1624 - changelog: prevent needless reverse name lookups
1626 - Curl_ipv4_resolve_r: only set AI_CANONNAME when needed
1628 As reported in bug report #2987196, the code for ipv6 already did
1629 the setting of this bit correctly so we copied that logic into
1630 the Curl_ipv4_resolve_r() function as well. KRB code is the only
1631 code we know that might need the cannonical name so only resolve
1632 it for such requests!
1634 - IGNORE: files generated by maketgz
1636 - bumped to start the journey towards 7.20.2
1638 - added contributors from the 7.20.1 RELEASE-NOTES
1640 - ignore files generated by 'maketgz'
1642 Version 7.20.1 (14 Apr 2010)
1644 Daniel Stenberg (14 Apr 2010)
1645 - 7.20.1: 14 April 2010
1647 Guenter Knauf (13 Apr 2010)
1648 - Use correct directory for c-ares git pull
1649 Signed-off-by: Tor Arntsen <tor@spacetec.no>
1651 Yang Tse (13 Apr 2010)
1652 - fix compiler warning: variable might be clobbered by longjmp or vfork
1654 Guenter Knauf (13 Apr 2010)
1655 - added last git commit output for c-ares too.
1657 - changed the git update block to take care of c-ares repo if detected.
1659 - updated timestamp of the script.
1661 - removed obsolete var in gitpull() function
1662 no need to create a var - lets just return the status var itself.
1664 - added a cast to silent compiler warning with 64bit systems.
1666 - fixed a path typo in src/Makefile.netware.
1668 Daniel Stenberg (12 Apr 2010)
1669 - Added text for How To Make a Patch with git
1671 - update the section on timeouts
1673 The section that describes how to work with timeouts was
1674 misleading and could easily trick users to use the wrong API.
1676 - update URL and cut out wrong info on ipv6
1678 c-ares has had its own URL for a while and we should point
1679 people to that. It also works with IPv6 since a long time.
1681 - refer to CURLMOPT_TIMERFUNCTION for multi_socket users
1683 curl_multi_timeout(3) is simply the wrong function to use
1684 if you're using the multi_socket API and this document now
1685 states this pretty clearly to help guiding users.
1689 - modified to use the git file, not cvs
1691 I've done this blindly, and the last piece that works with ares
1692 should possibly be done differently now that c-ares isn't a
1693 subtree within the curl tree anymore...
1695 - mention missing test servers for <server>
1697 - FTP quote commands prefixed with '*' now can fail without aborting
1699 Prefixing the FTP quote commands with an asterisk really only
1700 worked for the postquote actions. This is now fixed and test case
1701 227 has been extended to verify.
1703 Kamil Dudka (7 Apr 2010)
1704 - qssl: reflect recent code changes in SSL interface
1706 Reported by Guenter Knauf.
1708 - nss: handle client certificate related errors
1710 - [Ben Greear brought this change]
1712 ssl: Fix build when SSL isn't enabled
1714 Signed-off-by: Ben Greear <greearb@candelatech.com>
1716 - refactorize interface of Curl_ssl_recv/Curl_ssl_send
1718 - simplify code of Curl_resolv_timeout()
1720 - eliminate a race condition in Curl_resolv_timeout()
1722 Daniel Stenberg (2 Apr 2010)
1723 - [Ben Greear brought this change]
1725 fixed compiler warnings
1727 - updated contributor count
1729 - add contributors from the 7.20.0 release notes
1731 - fix SFTP download hang
1733 Matt Wixson found and fixed a bug in the SCP/SFTP area where the
1734 code treated a 0 return code from libssh2 to be the same as
1735 EAGAIN while in reality it isn't. The problem caused a hang in
1736 SFTP transfers from a MessageWay server.
1738 Dan Fandrich (31 Mar 2010)
1739 - Fixed misleading test message
1741 Daniel Stenberg (31 Mar 2010)
1742 - update the generic copyright year range
1744 - removed README.cmake due to the improved situation
1746 Guenter Knauf (31 Mar 2010)
1747 - fix compiler warning with a cast.
1749 - make folks use latest available dependent libraries.
1751 Dan Fandrich (30 Mar 2010)
1752 - Call curl_global_cleanup() in test 560 to avoid a memory leak
1754 - Allow test 538 to run even when proxy support is disabled
1756 Daniel Stenberg (29 Mar 2010)
1757 - use (s)size_t for string lengths to fix compiler warns
1759 - use size_t to hold string length
1761 using int is not fine on 64bit systems
1763 - [Ben Greear brought this change]
1765 Fix compile warnings in ssh.c
1767 strlen() returns size_t, but ssh libraries are wanting 'unsigned int'. Add
1768 explicit casts and use _ex versions of the ssh library calls.
1770 Signed-off-by: Ben Greear <greearb@candelatech.com>
1772 - [Ben Greear brought this change]
1774 fix smtp compile warning
1776 Use ssize_t instead of int for the Curl_smtp_escape_eob nread
1779 Signed-off-by: Ben Greear <greearb@candelatech.com>
1783 - [Ben Greear brought this change]
1785 pop3: Get message listing if no mailbox in URL
1787 If you pass a URL to pop3 that does not contain a message ID as
1788 part of the URL, it will currently ask for 'INBOX' which just
1789 causes the pop3 server to return an error.
1791 The change makes libcurl treat en empty message ID as a request
1792 for LIST (list of pop3 message IDs). User's code could then
1793 parse this and download individual messages as desired.
1795 - [Ben Greear brought this change]
1797 Allow running ./tests/testcurl.pl from within git repo.
1799 My first instinct was to run the test script within the checked out
1800 repository. This small change to the script allows that to work as
1803 Signed-off-by: Ben Greear <greearb@candelatech.com>
1805 - minor language fix
1807 - [Ben Greear brought this change]
1809 allow user+password in the URL for all protocols
1811 Ben Greear brought a patch that from now on allows all protocols
1812 to specify name and user within the URL, in the same manner HTTP
1813 and FTP have been allowed to in the past - although far from all
1814 of the libcurl supported protocols actually have that feature in
1815 their URL definition spec.
1817 - ignore pid files and stunnel.conf
1819 all used while running tests
1821 - make sure git pull is actually done!
1823 - changelogged: smoother rate limiting
1825 - [Ben Greear brought this change]
1827 Make rate-limitation logic smoother
1829 This gives a smoother rate limitation performance by using
1830 sub-second pauses and also taking the buffer sizes into
1833 - remove all .cvsignore files
1835 - PROT_CLOSEACTION should not include TFTP
1837 TFTP is not a protocol that uses close actions so it should
1838 not be set in that bitmask!
1840 - [Tor Arntsen brought this change]
1842 Avoid double newline for the 'last commits' log in testcurl.pl
1844 The backtick command which extracts 'git log' lines come with a
1845 newline, so chomp the newline before calling logit(), as the logit
1846 function adds a newline by itself.
1848 - [Tor Arntsen brought this change]
1850 Change to version-independent git option for 'git log --oneline'
1852 'git log --oneline' is a relatively recent Git function. It is
1853 documented to be the same as 'git log --pretty=oneline --abbrev-commit',
1854 so use that instead. It works all the way back to Git 1.5.0.
1856 - show 5 commits even if no git pull was made
1858 - don't touch ares/aclocal.m4 and show recent git commits
1860 since c-ares no longer embedded, we must not touch such files
1863 we show the 5 last git commits if git was proven in use, to help
1864 us see exactly what's being tested
1866 - use CURL_SIZEOF_LONG instead of SIZEOF_LONG
1868 That's the symbol we have or generate in include/curl/curlbuild.h
1870 - s/CVS/DEV in the version string from the git repo
1872 Bill Hoffman (24 Mar 2010)
1873 - Merge branch 'master' of github.com:bagder/curl
1875 - Add .gitattributes files to turn off CRLF translation for some files
1877 Daniel Stenberg (24 Mar 2010)
1878 - provide a version number as today's date
1880 It should at least help visualize which autobuilds that are
1883 - testcurl now uses git instead of CVS
1885 Bill Hoffman (24 Mar 2010)
1886 - Merge branch 'master' of github.com:bagder/curl
1888 - Enable LDAP by default since it is now disabled when ldap.h is not found,
1890 - CMake fixes for Linux.
1892 Make sure <sys/socket.h> is included if around when testing/using
1893 socklen_t. Also, disable LDAP if LDAP_H is not found on the system.
1895 Daniel Stenberg (24 Mar 2010)
1896 - [Bob Richmond brought this change]
1898 fix: timeout after last data chunk was handled
1900 Bob Richmond: There's an annoying situation where libcurl will
1901 read new HTTP response data from a socket, then check if it's a
1902 timeout if one is set. If the last packet received constitutes
1903 the end of the response body, libcurl still treats it as a
1904 timeout condition and reports a message like:
1906 "Operation timed out after 3000 milliseconds with 876 out of 876
1909 It should only a timeout if the timer lapsed and we DIDN'T
1910 receive the end of the response body yet.
1912 - avoid compiler warning without USE_ALARM_TIMEOUT
1914 Bill Hoffman (24 Mar 2010)
1915 - Fix curl CMake build.
1917 This commit fixes the cmake build of curl, and cleans up the
1918 cmake code a little. It removes some commented out code and
1919 some trailing whitespace. To get curl to build the binary
1920 tree include/curl directory needed to be added to the include
1921 path. Also, SIZEOF_SHORT needed to be added. A check for the
1922 lack of defines of SIZEOF_* for warnless.c was added.
1924 Daniel Stenberg (24 Mar 2010)
1925 - [Chris Conroy brought this change]
1927 remove debug printfs
1929 - RTSP GET_PARAMETER fix
1931 Christopher Conroy fixed a problem with RTSP and GET_PARAMETER
1932 reported to us by Massimo Callegari. There's a new test case 572
1933 that verifies this now.
1935 - remove trace of CVS
1937 - [Chris Conroy brought this change]
1939 Fix RTSP GET_PARAMETER empty and non-empty operation.
1941 Test coverage included. Thanks to Massimo Callegari for the bug report
1943 - s/CVS/DEV/ in the version string for repo versions
1945 - scrapped all left-over TODOs
1947 In order to get back on track, I've removed all the plans for
1948 stuff I had in the queue. I will instead focus on fixing bugs and
1949 relying on that people who truly want things added will come back
1950 on the mailing list and nag and provide patches.
1952 7.20.1 should be possible to release in April 2010
1954 - restore executable bits on some files
1956 - remove the CVSish $Id$ lines
1958 - The 'ares' subtree has been removed from the source repository
1962 - update to current state
1964 - remove the ares subtree
1966 c-ares is now hosted entirely separate from the curl project
1967 see http://c-ares.haxx.se/ for all details concerning c-ares,
1968 its source repository and more.
1970 - mark connection as connected
1972 Kenny To filed the bug report #2963679 with patch to fix a
1973 problem he experienced with doing multi interface HTTP POST over
1974 a proxy using PROXYTUNNEL. He found a case where it would connect
1975 fine but bits.tcpconnect was not set correct so libcurl didn't
1978 (http://curl.haxx.se/bug/view.cgi?id=2963679)
1982 I ran it now successfully and it helped to pinpoint a libssh2
1985 Dan Fandrich (23 Mar 2010)
1986 - Updated Symbian notes
1988 Daniel Stenberg (23 Mar 2010)
1989 - chunked-encoding with Content-Length: header problem
1991 Akos Pasztory filed debian bug report #572276
1992 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276
1993 mentioning a problem with a resource that returns chunked-encoded
1994 _and_ with a Content-Length and libcurl failed to properly ignore
1995 the latter information.
1997 - delayed easy handle kill caused double Curl_close() call
1999 Hauke Duden provided an example program that made the multi
2000 interface crash. His example simply used the multi interface and
2001 did first one FTP transfer and after completion it used a second
2002 easy handle and did another FTP transfer on the same FTP server.
2004 This triggered a bug in the "delayed easy handle kill" system
2005 that curl uses: when an FTP connection is left alive it must keep
2006 an easy handle around internally - only for the purpose of having
2007 an easy handle when it later disconnects it. The code assumed
2008 that when the easy handle was removed and an internal reference
2009 was made, that version could be killed later on when a new easy
2010 handle came using the same connection. This was wrong as Hauke's
2011 example showed that the removed handle wasn't killed for real
2012 until later. This caused a double close attempt => segfault.
2014 - ignore more files generated when tests run in the source tree
2016 - Thomas Lopatic fixed the alarm()-based DNS timeout
2018 - [Thomas Lopatic brought this change]
2020 fix the alarm()-based DNS timeout
2022 Looking at the code of Curl_resolv_timeout() in hostip.c, I think
2023 that in case of a timeout, the signal handler for SIGALRM never
2024 gets removed. I think that in my case it gets executed at some
2025 point later on when execution has long left Curl_resolv_timeout()
2026 or even the cURL library.
2028 The code that is jumped to with siglongjmp() simply sets the
2029 error message to "name lookup timed out" and then returns with
2030 CURLRESOLV_ERROR. I guess that instead of simply returning
2031 without cleaning up, the code should have a goto that jumps to
2032 the spot right after the call to Curl_resolv().
2034 - [Daniel Johnson brought this change]
2036 Fix warnings for clang
2038 - Merge branch 'master' of github.com:bagder/curl
2040 Kamil Dudka (22 Mar 2010)
2041 - [douglas steinwand brought this change]
2043 Fix insufficient initialization in Curl_clone_ssl_config()
2045 which could have caused a double free when reusing curl handle.
2047 Daniel Stenberg (22 Mar 2010)
2048 - we never used this file anyway
2052 - various changes of CVS to git
2054 - remove references to CVS in the code and use DEV instead
2056 - Ben Greear's two fixes explained
2058 - [Ben Greear brought this change]
2060 Fix tftp return codes and tsize upload handling
2062 Error codes were not properly returned to the main curl code (and on to apps
2065 tftp was crapping out when tsize == 0 on upload, but I see no reason to fail
2066 to upload just because the remote file is zero-length. Ignore tsize option on
2069 - more files to ignore
2071 - provide an initial set of .gitignore files
2073 Kamil Dudka (19 Mar 2010)
2074 - - Improved Curl_read() to not ignore the error returned from Curl_ssl_recv().
2076 Daniel Stenberg (18 Mar 2010)
2077 - fix warning about conversions between curl_off_t and long
2079 Yang Tse (18 Mar 2010)
2080 - another shot at the ftp_init() icc 9.1 optimizer issue
2082 - replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing
2084 - update outdated serial number
2086 Dan Fandrich (16 Mar 2010)
2087 - Factored out some code into a few independent functions
2089 Daniel Stenberg (15 Mar 2010)
2090 - - Constantine Sapuntzakis brought a patch:
2092 The problem mentioned on Dec 10 2009
2093 (http://curl.haxx.se/bug/view.cgi?id=2905220) was only partially fixed.
2094 Partially because an easy handle can be associated with many connections in
2095 the cache (e.g. if there is a redirect during the lifetime of the easy
2096 handle). The previous patch only cleaned up the first one. The new fix now
2097 removes the easy handle from all connections, not just the first one.
2099 Yang Tse (11 Mar 2010)
2100 - fix compiler warning
2102 Dan Fandrich (11 Mar 2010)
2103 - SSL should now be working out-of-the-box on Symbian S60.
2105 - Enable Symbian zlib support by default.
2107 - Allow compilation even when OpenSSL has been configured without MD4 support.
2109 - A few Symbian build changes
2111 Yang Tse (9 Mar 2010)
2112 - watt32 compilation fix
2114 Daniel Stenberg (6 Mar 2010)
2115 - - Ben Greear brought a patch that fixed the rate limiting logic for TFTP when
2116 the easy interface was used.
2118 - indent fix by Ben Greear, I removed some braces for single-line conditional
2121 Yang Tse (6 Mar 2010)
2122 - Added another VS10 version string
2126 - removed usage of 's6_addr', fixing compilation issue triggered with no
2127 longer using 'in6_addr' but only our 'ares_in6_addr' struct
2129 Daniel Stenberg (5 Mar 2010)
2130 - Daniel Johnson provided fixes for building with the clang compiler
2132 Yang Tse (5 Mar 2010)
2133 - Added IPv6 name servers support
2135 Gisle Vanem (5 Mar 2010)
2136 - Ops!. Readded ares_nowarn.h.
2138 - Added ares_nowarn.c.
2140 Yang Tse (5 Mar 2010)
2141 - Constantine Sapuntzakis detected and fixed a double free in builds done
2142 with threaded resolver enabled (Windows default configuration) that would
2143 get triggered when a curl handle is closed while doing DNS resolution.
2145 - Added SIZEOF_INT and SIZEOF_SHORT definitions for VMS configuration file
2147 Daniel Stenberg (4 Mar 2010)
2148 - Julien Chaffraix clarified CURLOPT_HEADERFUNCTION and made
2149 CURLOPT_HEADERFUNCTION and CURLOPT_WRITEFUNCTION more consistent
2151 - - [Daniel Johnson] I've been trying to build libcurl with clang on Darwin and
2152 ran into some issues with the GSSAPI tests in configure.ac. The tests first
2153 try to determine the include dirs and libs and set CPPFLAGS and LIBS
2154 accordingly. It then checks for the headers and finally sets LIBS a second
2155 time, causing the libs to be included twice. The first setting of LIBS seems
2156 redundant and should be left out, since the first part is otherwise just
2157 about finding headers.
2159 My second issue is that 'krb5-config --libs gssapi' on Darwin is less than
2160 useless and returns junk that, while it happens to work with gcc, causes
2161 clang to choke. For example, --libs returns $CFLAGS along with the libs,
2162 which is really retarded. Simply setting 'LIBS="$LIBS -lgssapi_krb5
2163 -lresolv"' on Darwin is sufficient.
2165 - - Based on patch provided by Jacob Moshenko, the transfer logic now properly
2166 makes sure that when using sub-second timeouts, there's no final bad 1000ms
2167 wait. Previously, a sub-second timeout would often make the elapsed time end
2168 up the time rounded up to the nearest second (e.g. 1s for 200ms timeout)
2170 - update the generic copyright year range to include 2010
2172 - - Andrei Benea filed bug report #2956698 and pointed out that the
2173 CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function
2174 call. He provided the patch to fix it too.
2176 http://curl.haxx.se/bug/view.cgi?id=2956698
2178 - - Markus Duft pointed out in bug #2961796 that even though Interix has a
2179 poll() function it doesn't quite work the way we want it so we must disable
2180 it, and he also provided a patch for it.
2182 http://curl.haxx.se/bug/view.cgi?id=2961796
2184 - - Made the pingpong timeout code properly deal with the response timeout AND
2185 the global timeout if set. Also, as was reported in the bug report #2956437
2186 by Ryan Chan, the time stamp to use as basis for the per command timeout was
2187 not set properly in the DONE phase for FTP (and not for SMTP) so I fixed
2188 that just now. This was a regression compared to 7.19.7 due to the
2189 conversion of FTP code over to the generic pingpong concepts.
2191 http://curl.haxx.se/bug/view.cgi?id=2956437
2193 - remove assignment never used
2195 - - Ben Greear provided an update for TFTP that fixes upload.
2199 - - Wesley Miaw reported bug #2958179 which identified a case of looping during
2200 OpenSSL based SSL handshaking even though the multi interface was used and
2201 there was no good reason for it.
2203 http://curl.haxx.se/bug/view.cgi?id=2958179
2205 Yang Tse (28 Feb 2010)
2206 - Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
2208 - Added ares_nowarn.* to VC6 project file
2210 Daniel Stenberg (26 Feb 2010)
2211 - spellchecked by Stéphane Fillod
2213 - - Pat Ray in bug #2958474 pointed out an off-by-one case when receiving a
2214 chunked-encoding trailer.
2216 http://curl.haxx.se/bug/view.cgi?id=2958474
2218 Dan Fandrich (26 Feb 2010)
2219 - Fixed a couple of out of memory leaks and a segfault in the IMAP code.
2221 Yang Tse (26 Feb 2010)
2224 - Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
2226 - Added SIZEOF_INT definition
2228 - fix compiler warning
2230 - fix compiler warning
2232 - fix compiler warning
2234 Dan Fandrich (25 Feb 2010)
2235 - Fixed a couple of out of memory leaks and a segfault in the SMTP code.
2237 Yang Tse (25 Feb 2010)
2240 - Fixed bug report #2958074 indicating
2241 (http://curl.haxx.se/bug/view.cgi?id=2958074) that curl on Windows with
2242 option --trace-time did not use local time when timestamping trace lines.
2243 This could also happen on other systems depending on time souurce.
2245 - enable 802 and 803
2247 - fix compiler warning
2249 - fix compiler warning
2251 - fix compiler warning
2253 - fix socket data type
2255 - fix socket data type and logging format in debug tracking socket functions
2257 - convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() and
2258 curlx_ultouc(), exposing them through curlx.h to allow proper code reuse
2259 later in our test harness.
2263 Patrick Monnerat (22 Feb 2010)
2264 - _ Adjusted RFC821 HELO fallback and enabled test804
2266 - - Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account.
2267 - SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required).
2268 - Use of true local host name (i.e.: via gethostname()) when available, as default argument to SMTP HELO/EHLO.
2269 - Test case 804 for HELO fallback.
2271 Yang Tse (22 Feb 2010)
2272 - add header inclusion
2274 - fix compiler warning
2276 - fix compiler warning
2278 Daniel Stenberg (21 Feb 2010)
2279 - clarify more details on section "2.1 More non-blocking"
2281 - TFTP transfers are not blocking since 7.20.0
2283 - - Fixed the SMTP compliance by making sure RCPT TO addresses are specified
2284 properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now
2285 get angle bracket wrapping automatically by libcurl unless the recipient
2286 starts with an angle bracket as then the app is assumed to deal with that
2287 properly on its own.
2289 - - I made the SMTP code expect a 250 response back from the server after the
2290 full DATA has been sent, and I modified the test SMTP server to also send
2291 that response. As usual, the DONE operation that is made after a completed
2292 transfer is still not doable in a non-blocking way so this waiting for 250
2293 is unfortunately made blockingly.
2295 - corected a comment and wrapped a few longish lines
2297 Yang Tse (20 Feb 2010)
2298 - fix compiler warning
2300 - fix compiler warning
2302 - fix compiler warning
2304 - fix compiler warning
2306 - fix compiler warning
2308 Daniel Stenberg (17 Feb 2010)
2311 - To allow an app to force a re-read of /etc/resolv.conf etc, pretty much
2312 like the res_init() resolver function offers
2314 - use curl standard indentation and line lengths
2316 Yang Tse (16 Feb 2010)
2317 - replaced tabs with spaces
2319 - fix Content-Length validation
2321 Daniel Stenberg (15 Feb 2010)
2322 - use (void) in front of fwrite() calls that ignore the return code
2324 Yang Tse (15 Feb 2010)
2325 - fix compiler warning: conversion from "long" to "size_t" may lose sign
2327 - fix compiler warning: conversion from "long" to "size_t" may lose sign
2329 Daniel Stenberg (15 Feb 2010)
2330 - -w speed_download and speed_upload are measured in bytes per second
2332 - 75. NTLM authentication involving unicode user name or password.
2333 http://curl.haxx.se/mail/lib-2009-10/0024.html
2334 http://curl.haxx.se/bug/view.cgi?id=2944325
2336 Yang Tse (14 Feb 2010)
2337 - removed trailing whitespace
2339 - fix compiler warning
2341 - Overhauled test suite getpart() function. Fixing potential out of bounds
2342 stack and memory overwrites triggered with huge test case definitions.
2344 Daniel Stenberg (13 Feb 2010)
2345 - - Martin Hager reported and fixed a problem with a missing quote in libcurl.m4
2347 (http://curl.haxx.se/bug/view.cgi?id=2951319)
2349 Gunter Knauf (13 Feb 2010)
2350 - used allways #ifdef / #ifndef;
2351 moved gethostbyname_thread() to #else case to avoid 'not used' compiler warning.
2353 - replaced tabs by spaces, removed trailing tabs/spaces.
2355 Daniel Stenberg (13 Feb 2010)
2356 - - Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake.
2358 - - Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses
2359 in the same RCPT TO line, when they should be sent in separate single
2360 commands. I updated test case 802 to verify this.
2362 - I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl
2363 tool which made it try to output it as string for the --libcurl feature
2364 which could lead to crashes.
2366 - CURLOPT_MAIL_RCPT is *not* a string so we must not try to printf() it
2368 - free --mail-from strings properly
2370 Patrick Monnerat (11 Feb 2010)
2371 - _ Make it compilable again on OS400.
2372 _ Upgrade OS400 EBCDIC wrappers for new options.
2373 _ Upgrade ILE/RPG bindings to current state.
2375 Yang Tse (11 Feb 2010)
2376 - mention last changes
2378 - Steven M. Schweda updated VMS readme file
2380 - Steven M. Schweda removed batch_compile.com and defines.com
2382 - Steven M. Schweda fixed:
2384 VMS builder bad behavior when used in a batch job.
2386 Various ".LIS" and ".MAP" files created without being requested
2387 by a "LIST" command-line option, and in the wrong place, too.
2389 Some minor typographical changes.
2391 Dan Fandrich (10 Feb 2010)
2392 - Mention the minimum size of CURL_MAX_WRITE_SIZE
2394 Yang Tse (10 Feb 2010)
2395 - - remove extra "\r\n" from doc404_RTSP
2397 - avoid memory alignment issue when setting RTSP packet length
2399 Dan Fandrich (9 Feb 2010)
2400 - Removed some erroneous "compressed" key words
2402 Daniel Stenberg (9 Feb 2010)
2403 - start working on 7.20.1
2405 Version 7.20.0 (9 Feb 2010)
2407 Daniel Stenberg (9 Feb 2010)
2410 - - When downloading compressed content over HTTP and the app as asked libcurl
2411 to automatically uncompress it with the CURLOPT_ENCODING option, libcurl
2412 could wrongly provide the callback with more data than what the maximum
2413 documented amount. An application could thus get tricked into badness if the
2414 maximum limit was trusted to be enforced by libcurl itself (as it is
2417 This is further detailed and explained in the libcurl security advisory
2420 http://curl.haxx.se/docs/adv_20100209.html
2422 - set VERSIONINFO accordingly for the 7.20.0 release
2424 Yang Tse (6 Feb 2010)
2431 - fix compiler warning
2433 - fix compiler warning
2435 - fix compiler warning
2437 - Addes OOM handling for curl_easy_setopt() calls in test
2439 - - avoid OpenSSL 0.9.8 ENGINE_by_id memory leak
2441 - cleanup parenthesis usage in return statements
2443 - - attempt to workaround icc 9.1 optimizer issue
2445 - fix printf-style format strings
2447 - Validate server port argument
2449 - Fix variable initialization
2451 - Modified test case 557 to additionally verify libcurl's internal curl_m*printf()
2452 functions formatting functionality when handling signed and unsigned shorts.
2454 - Added size check for 'short' data type
2456 - Fix compiler warning: unused variable
2458 - added an additional second to allow test to pass on heavily loaded servers
2460 Dan Fandrich (3 Feb 2010)
2461 - Changed the Watcom makefiles to make them easier to keep in sync with
2462 Makefile.inc since that can't be included directly.
2464 Daniel Stenberg (3 Feb 2010)
2465 - more symbols added in 7.20.0
2467 Yang Tse (3 Feb 2010)
2470 - Fix progressmode Configurable struct member data type. Changed to
2471 'int' which fits better with existing CURL_PROGRESS_* definitions.
2473 - Fix portability issue related with unaligned memory access
2475 - Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data
2477 - cookies with same path length might get sorted in different order when
2478 using different qsort implementations. In order to make this test give
2479 same results on different systems, paths now have different lengths.
2481 - added an additional second to allow test to pass on heavily loaded servers
2483 - Fix compiler warning: conditional expression is constant
2485 - Fix compiler warning: local variable may be used without having been initialized.
2487 - Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data
2489 - Fix compiler warnings:
2491 (1) conversion from 'const int ' to 'unsigned char ', possible loss of data
2492 (2) conditional expression is constant
2494 - mention a couple of changes back from November
2496 - mention run time statistics options
2498 - - Symbol CURL_FORMAT_OFF_T now obsoleted, will be removed in a future release,
2499 symbol will not be available when building with CURL_NO_OLDIES defined. Use
2500 of CURL_FORMAT_CURL_OFF_T is preferred since 7.19.0
2502 - avoid possibility of using obsoleted stuff
2504 - remove setup.h inclusion which is already done from test.h inclusion
2506 Kamil Dudka (2 Feb 2010)
2507 - mention SOCKS related problems in the curl(1) man page
2509 Yang Tse (2 Feb 2010)
2510 - Fix compiler warning: variable was set but never used
2512 Simplify preprocessor symbol checking
2514 Daniel Stenberg (2 Feb 2010)
2515 - Julien Chaffraix pointed out a comment mistake, and I re-indented the code
2516 slightly while editing
2518 Yang Tse (2 Feb 2010)
2521 - Conroy added a check to the coded message size since the docs stipulate
2522 that each call will contain a full protocol packet.
2524 - Conroy's fix to make the code match with the RTP documentation regarding
2525 writing out the whole header. The docs say it writes the whole header,
2526 but the code (before this patch) did not write out the leading $.
2528 Daniel Stenberg (1 Feb 2010)
2529 - We introduce a loop in lib/multi.c around all calls to multi_runsingle() and
2530 simply check for CURLM_CALL_MULTI_PERFORM internally. This has the added
2531 benefit that this goes in line with my long-term wishes to get rid of the
2532 CURLM_CALL_MULTI_PERFORM all together from the public API.
2534 Yang Tse (1 Feb 2010)
2535 - update rtsp server header field from SWS to RTSPD
2537 - Test suite support for RTSP
2539 - Make Curl_pop3_write() additionally truncate trailing POP3_EOB from received
2540 string buffer, otherwise Curl_client_write() call with zero size would write
2541 to the end of string buffer including matched POP3_EOB.
2543 - WIN32 fix, _beginthreadex() may return either 0 or -1L upon failure
2545 - fix errno usage for WIN32 builds
2547 - fix printf-style format strings
2549 - Chris Conroy fixed test #568 issues with carriage returns
2551 - RTSP followup fix. Both the pipelined and non-pipelined case need to
2552 check for (excess > 0 && !k->ignorebody).
2554 Daniel Stenberg (28 Jan 2010)
2555 - - Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't
2556 check for broken connections like ares_process() did. Based on that, I
2557 merged the two functions into a single generic one with two front-ends.
2559 Yang Tse (28 Jan 2010)
2560 - fix printf-style format strings
2562 - Use 'size_t' for GETNAMEINFO_TYPE_ARG2 definition for VMS.
2564 http://curl.haxx.se/mail/lib-2009-12/0293.html
2568 - fix printf-style format strings
2570 - Known bug #64 fixed by Constantine Sapuntzakis and Joshua Kwan in 7.20.0
2572 - Chris Conroy provided first RTSP tests
2574 - RTSP tests disabled until test harness RTSP support is updated
2576 - Chris Conroy's RTSP followup fixes
2578 - mention asynchronous DNS lookups enhancements
2580 - Restore normal operation:
2582 c-ares is only enabled when specifically requested.
2584 Consequently, c-ares default setting is disabled.
2586 - fix c-ares assumed check being skipped
2588 - fix compiler warning
2590 - fix LDFLAGS preservation in CURL_CHECK_LIB_ARES
2592 Daniel Stenberg (26 Jan 2010)
2593 - no need to take precautiono for how things were before 7.16.0 since that
2594 is now a very long time ago
2596 - - Mike Crowe made libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the
2597 proxy that cannot be resolved when using c-ares. This matches the behaviour
2598 when not using c-ares.
2600 Dan Fandrich (26 Jan 2010)
2601 - Added curl_threads.c to a few more non-configure build files
2603 Yang Tse (26 Jan 2010)
2604 - minor fixes for --enable-ares configure option
2606 Daniel Stenberg (26 Jan 2010)
2607 - Andre Guibert de Bruet improved the libssh2 error code translation
2609 Yang Tse (26 Jan 2010)
2610 - resolver selection for non-configure Windows builds, default is threaded DNS
2612 - add curl_threads.c to non-configure target build files
2614 - onstantine Sapuntzakis threaded resolver enhancements
2616 - Constantine Sapuntzakis threaded resolver enhancements
2618 - Constantine Sapuntzakis provided initial thread abstraction layer
2620 - make Curl_handler_*_proxy definition static
2622 Dan Fandrich (25 Jan 2010)
2623 - Updated minimum library sizes
2625 Yang Tse (25 Jan 2010)
2626 - fix compiler warning
2628 Daniel Stenberg (24 Jan 2010)
2629 - Julien Chaffraix corrected bad #elif lines to silence warnings
2631 Yang Tse (24 Jan 2010)
2632 - HAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 builds
2634 Bjorn Stenberg (23 Jan 2010)
2637 - Added -J/--remote-header-name.
2639 Daniel Stenberg (23 Jan 2010)
2640 - "remove progress meter from libcurl" at next API break
2642 Yang Tse (23 Jan 2010)
2643 - add inclusion of curl_memory.h
2645 - adjust preprocessor symbol definition check relative to resolver specialty
2647 - PKTSIZE might have been already defined in arpa/tftp.h
2649 Dan Fandrich (23 Jan 2010)
2650 - Include "curl_memory.h" to get the strdup replacement when necessary
2652 Daniel Stenberg (22 Jan 2010)
2653 - wrap long lines and do some indent policing
2655 Yang Tse (22 Jan 2010)
2656 - Definitions of resolver specialty compile-time defines CURLRES_* moved
2657 from hostip.h to setup.h in order to allow proper inclusion in any file.
2659 This represents no functional change at all in which resolver is used,
2660 everything still works as usual, internally and externally there is no
2661 difference in behavior.
2663 - adjust rtsp protocol support in curl-config and libcurl.pc when http is disabled
2665 - deal with the possibility that CURL_DISABLE_RTSP may already be defined
2667 - fix compiler warning: statement is unreachable
2669 - fix compilation when http is disabled
2671 - disabling of rtsp when http isn't enabled required here for non-configure systems
2673 Daniel Stenberg (22 Jan 2010)
2674 - wrap long lines, remove (very old) attribution from code
2676 - cleanups by Julien Chaffraix
2678 - alphabetically sort the list of supported protocols
2680 - In spite claiming to tbe disabled by default, RTSP is enabled and it now
2681 also says so. I also made the list of protocols get sorted.
2683 - expanded to provide info about the newer protocols too
2685 - s/RTPFUNCTION/INTERLEAVEFUNCTION/
2686 s/RTPDATA/INTERLEAVEDATA/
2688 - keep lines shorter than 80 columns, and reduce/remove the use of the word
2689 'note' in most description as it is mostly useless.
2691 Yang Tse (22 Jan 2010)
2692 - Julien Chaffraix adjusted "<name> section" line length
2694 - Constantine Sapuntzakis refactoring of async callbacks, allowing
2695 removal of Curl_addrinfo_copy(), Curl_addrinfo6_callback(), and
2696 Curl_addrinfo4_callback()
2698 Dan Fandrich (21 Jan 2010)
2699 - Added rtsp.c to the non-configure target build files
2701 Yang Tse (21 Jan 2010)
2702 - fix compiler warning
2704 - make tftp_translate_code() static, it is only used from within tftp.c
2706 - fix warning triggered when debugging on cygwin
2708 - allow exporting of exe_ext() sub
2710 - improve displaylogcontent() sub fixing a warning
2712 Daniel Stenberg (21 Jan 2010)
2713 - remove typedef we ended up not using
2715 - Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new
2716 libcurl options for controlling what to get and how to receive posssibly
2717 interleaved RTP data. Initial commit.
2719 - Julien Chaffraix fixed line lengths
2721 - Julien Chaffraix removed an old obsolete typedef
2723 - Yun Fu pointed out a flaw in the loop that checks handles, and I indented
2724 the code more curl-style
2726 - "5.3 Sort outgoing cookies" removed, we now sort them
2728 Yang Tse (20 Jan 2010)
2729 - SIGTERM is the signal to trap here, SIGKILL can't be caught.
2731 - Use killsockfilters() to kill sockfilter processes, this ensures that when
2732 killing a sockfilter process the actual PID from the pid file is used and
2733 not the one returned by open2() which might be different.
2735 - Allow killsockfilters() to take a 5th optional parameter that when provided
2736 indicates that only one of the two possible sockfilter processes should be
2737 killed. Valid values for this parameter are 'main' and 'data'.
2739 - Use delete() to unset environment variables instead of assigning undef which
2740 generates warning 'Use of uninitialized value in scalar assignment' with perl
2741 versions older than 5.10
2743 - Adjust valgrind logs file name detection.
2745 Adjust environment vars setting and restoring from test definition.
2747 Avoid using strftime in torture sub.
2749 Daniel Stenberg (20 Jan 2010)
2750 - modified test case 8 to also make sure that we deal with cookies using
2751 identical names but different paths properly
2753 - - As was pointed out on the http-state mailing list, the order of cookies in a
2754 HTTP Cookie: header _needs_ to be sorted on the path length in the cases
2755 where two cookies using the same name are set more than once using
2756 (overlapping) paths. Realizing this, identically named cookies must be
2757 sorted correctly. But detecting only identically named cookies and take care
2758 of them individually is harder than just to blindly and unconditionally sort
2759 all cookies based on their path lengths. All major browsers also already do
2760 this, so this makes our behavior one step closer to them in the cookie area.
2762 Test case 8 was the only one that broke due to this change and I updated it
2765 - oops, I forgot to cvs add this before my previous commit (Dan Fandrich
2766 pointed it out to me)
2768 - - David McCreedy brought a fix and a new test case (129) to make libcurl work
2769 again when downloading files over FTP using ASCII and it turns out that the
2770 final size of the file is not the same as the initial size the server
2771 reported. This is very common since servers don't take the newline
2772 conversions into account.
2774 - "260 - IMAP, POP3 and SMTP support" done!
2776 - avoid "Use of uninitialized value $l in concatenation"
2778 Yang Tse (19 Jan 2010)
2779 - Fail harder when curl coredumps trying to verify http and ftp servers.
2781 Add some debug messages to see what's going on with valgrind logs.
2783 - prevent %runcert hash growth when clearing items
2785 - update copyright year notice
2787 - Constantine Sapuntzakis enhancements to make memory tracking log file writing
2788 of messages atomic, on systems where an fwrite of a memory buffer is atomic.
2790 Dan Fandrich (18 Jan 2010)
2791 - Added PEM certificate keyword
2793 Yang Tse (18 Jan 2010)
2796 - Stop ssl running server when cert file currently used by server is
2797 different than the one specified in test definition for same server
2801 - - Remove QD restarting of https servers. Proper fixing required.
2802 This will make tests 310 311 and 312 fail while fixing.
2804 - Remove some debug messages
2806 - make verifyhttp use different file names depending on server characteristics
2808 - add serverfactors() sub which returns server characterization factors
2816 - add some debug messages
2818 - use servername_id() from serverhelp.pm
2820 - refactored stopping of test harness servers
2822 - Store now this file in CVS with unix line endings.
2824 maketgz already converts this file to DOS style with an awk filter.
2826 - Declaration of $sshdlog is done in sshhelp.pm
2828 - Start using the centralized pidfile and logfile name generation
2829 subroutines for ssh and socks test suite servers.
2831 Dan Fandrich (15 Jan 2010)
2832 - Added the new protocol source files to the non-autoconf build files
2834 Yang Tse (14 Jan 2010)
2835 - Squeeze slack time when killing more than one server from
2836 the <killserver> section of test harness definition files.
2838 Kamil Dudka (14 Jan 2010)
2839 - - Suppressed side effect of OpenSSL configure checks, which prevented NSS from
2840 being properly detected under certain circumstances. It had been caused by
2841 strange behavior of pkg-config when handling PKG_CONFIG_LIBDIR. pkg-config
2842 distinguishes among empty and non-existent environment variable in that case.
2844 Yang Tse (13 Jan 2010)
2845 - Give the test a bit mote time to run so it passes on slow machines
2847 Kamil Dudka (13 Jan 2010)
2848 - remove trailing spaces from configure.ac
2850 Yang Tse (12 Jan 2010)
2851 - Added test case #1112 which does an FTPS download with strict timeout
2852 and slow data transfer in a similar way as test case #1086 does for FTP.
2854 This also exercises <killserver> section for the FTPS server.
2856 - Make runtests.pl actually support any (valid) server specification
2857 for the <killserver> section of test harness definition files.
2859 - Fix tftp and sftp supported protocols in servername_str()
2861 - Make sockfilter kill messages look alike server ones
2863 - Adjust vor VPATH builds
2865 Daniel Stenberg (11 Jan 2010)
2866 - - Gil Weber reported a peculiar flaw with the multi interface when doing SFTP
2867 transfers: curl_multi_fdset() would return -1 and not set and file
2868 descriptors several times during a transfer of a single file. It turned out
2869 to be due to two different flaws now fixed. Gil's excellent recipe helped me
2872 - ssh_statemach_act() is now modified to loop over the switch() to perform as
2873 much as possible in one go, as long as it doesn't block and hasn't reached the
2874 end of the state machine.
2875 This avoids spurious -1 returns from curl_multi_fdset() simply because
2876 previously it would return from this function without anything in EWOUDLBLOCK
2877 and thus basically it wasn't actually waiting for anything!!
2879 - After the TCP connect is confirmed in CURLM_STATE_WAITCONNECT and it changes
2880 state, we return CURLM_CALL_MULTI_PERFORM unconditionally then so that we
2881 can act faster like in the case the protocol-specific connect doesn't block
2882 on anything and we can just persue on the next action immediately. It also
2883 then avoids a case where curl_multi_fdset() would return -1.
2885 - progress callback called repeatedly during slow connects
2887 - - Made sure that the progress callback is repeatedly called at a regular
2888 interval even during very slow connects.
2890 - - The tests/runtests.pl script now checks to see if the test case that runs is
2891 present in the tests/data/Makefile.am and outputs a notice message on the
2892 screen if not. Each test file has to be included in that Makefile.am to get
2893 included in release archives and forgetting to add files there is a common
2894 mistake. This is an attempt to make it harder to forget.
2896 Yang Tse (11 Jan 2010)
2897 - secureserver.pl is now the test harness script used for SSL/TLS.
2899 - secureserver.pl is now the test harness script used for SSL/TLS.
2901 Start using the centralized pidfile and logfile name generation
2902 subroutines for https and ftps test suite servers.
2904 - Update error message to include port number
2906 - Previous commit adjustments
2908 - Start using the centralized pidfile and logfile name generation
2909 subroutines for ftp, pop3, imap and smtp test suite servers.
2911 Daniel Stenberg (9 Jan 2010)
2912 - struct Curl_sh_entry's 'inuse' member was no longer used and is now removed
2914 - - Johan van Selst found and fixed a OpenSSL session ref count leak:
2916 ossl_connect_step3() increments an SSL session handle reference counter on
2917 each call. When sessions are re-used this reference counter may be
2918 incremented many times, but it will be decremented only once when done (by
2919 Curl_ossl_session_free()); and the internal OpenSSL data will not be freed
2920 if this reference count remains positive. When a session is re-used the
2921 reference counter should be corrected by explicitly calling
2922 SSL_SESSION_free() after each consecutive SSL_get1_session() to avoid
2923 introducing a memory leak.
2925 (http://curl.haxx.se/bug/view.cgi?id=2926284)
2927 Yang Tse (8 Jan 2010)
2928 - Start using the centralized pidfile and logfile name generation
2929 subroutines for http and tftp test suite servers.
2931 - Remove extra line feed
2933 - Use '_stunnel.log' ending also for https test server log
2935 - sws and tftpd command line option naming adjustments
2937 Daniel Stenberg (7 Jan 2010)
2938 - removed a parameter from the Curl_http_readwrite_headers() prototype to remove
2939 the need for the struct forward declaration from http.h which caused problems
2940 with gcc 2.96 and quite frankly the parameter wasn't necessary anyway
2942 Claes Jakobsson (7 Jan 2010)
2943 - List fragment tests in Makefile.am and better provide better names
2945 Daniel Stenberg (7 Jan 2010)
2946 - removed Curl_http_header_append() prototype as it isn't used anymore, the
2947 function was moved to http.c and was made static and renamed
2949 - - Make sure the progress callback is called repeatedly even during very slow
2950 name resolves when c-ares is used for resolving.
2952 Yang Tse (6 Jan 2010)
2953 - Disable tests 802 and 803
2955 - Prevent detection of stdint.h on IRIX systems, even when available.
2957 IRIX MIPSpro 7.4 C++ compiler does not tolerate inclusion of stdint.h
2959 Claes Jakobsson (6 Jan 2010)
2960 - Julien Chaffraix fixed so that the fragment part in an URL is not sent to the server anymore
2962 Daniel Stenberg (4 Jan 2010)
2963 - use the modern name for this option
2965 Kamil Dudka (3 Jan 2010)
2966 - - Julien Chaffraix eliminated a duplicated initialization in singlesocket().
2968 Daniel Stenberg (2 Jan 2010)
2969 - - Make curl support --ssl and --ssl-reqd instead of the previous FTP-specific
2970 versions --ftp-ssl and --ftp-ssl-reqd as these options are now used to
2971 control SSL/TLS for IMAP, POP3 and SMTP as well in addition to FTP. The old
2972 option names are still working but the new ones are the prefered ones
2973 (listed and documented).
2975 - stop at once if the EOB marker shows up, even if something else might get
2978 - update copyright year since we are in 2010 now
2980 - added CURLOPT_FTP_USE_PRET
2982 - - Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. This
2983 command is a special "hack" used by the drftpd server, but even though it is
2984 a custom extension I've deemed it fine to add to libcurl since this server
2985 seems to survive and people keep using it and want libcurl to support
2986 it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also
2987 usable from the curl tool with --ftp-pret. Using this option on a server
2988 that doesn't support this command will make libcurl fail.
2990 - added descriptions for CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT
2992 - --mail-rcpt and --mail-from are starting to settle and work like this...
2994 - turned CURLOPT_MAIL_RCPT into a curl_slist list instead to support multiple
2995 receivers, and made the command line tool thus support the option specified
2998 Yang Tse (31 Dec 2009)
2999 - Use '_stunnel.log' file name ending for stunneled server logs
3001 - VMS adjustments by Steven M. Schweda
3003 - Subs for refactoring purposes
3005 Daniel Stenberg (30 Dec 2009)
3006 - CURLOPT_HEADERDATA was added in 7.10
3008 - s/CURLOPT_WRITEHEADER/CURLOPT_HEADERDATA simply because it is a better name
3010 - modified to get the EHLO domain from the path part of the URL instead of the
3013 - moved the SMTP payload escape function into Curl_smtp_escape_eob and put
3016 - (SMTP) support DATA better in the server and make sure to "escape" CRLF.CRLF
3017 sequences in uploaded data. The test server doesn't "decode" escaped dot-lines
3018 but instead test cases must be written to take them into account. Added test
3019 case 803 to verify dot-escaping.
3021 Yang Tse (30 Dec 2009)
3022 - Oops, should have removed 'not' in previous commit.
3024 - VMS build system enhancements by Steven M. Schweda and Craig A. Berry
3026 - VMS specific preprocessor symbol checking adjustments
3028 - VMS specific preprocessor symbol definition adjustments
3030 - Replaced stricmp() usage with our portable strequal()
3032 Daniel Stenberg (29 Dec 2009)
3033 - move HTTP-specific functions to http.c where they belong
3035 - test 802 is the first SMTP test, although not strictly SMTP yet...
3037 Yang Tse (29 Dec 2009)
3038 - Mention last changes
3040 - - Fix configure_socket() to use ares_socket_t instead of int data type.
3042 - - Where run-time error checks enabling compiler option /GZ was used it is now
3043 replaced with equivalent /RTCsu for Visual Studio 2003 and newer versions.
3045 - Compiler option /GX is now replaced with equivalent /EHsc for all versions.
3047 - Leftover from previous commit
3049 - Initial refactoring step for server name strings centralized generation
3051 Daniel Stenberg (27 Dec 2009)
3052 - Julien Chaffraix's clarifications
3054 Yang Tse (27 Dec 2009)
3055 - Adjust FreeBSD version check to follow FreeBSD Porter's Handbook
3057 http://www.freebsd.org/doc/en/books/porters-handbook/porting-versions.html
3059 Daniel Stenberg (26 Dec 2009)
3060 - symbols added in the CVS version meant for 7.20.0
3062 Yang Tse (26 Dec 2009)
3063 - global variables reordering/refactoring/commenting
3065 Daniel Stenberg (25 Dec 2009)
3066 - add pointer to the bug report
3068 - - Renato Botelho and Peter Pentchev brought a patch that makes the libcurl
3069 headers work correctly even on FreeBSD systems before v8.
3071 - first shot at actually doing the SMTP upload as well, not doing the proper
3072 end-of-body treatment
3074 - When verifying the SMTP server I had to add some hackery since SMTP in itself
3075 doesn't really return any body data to check so I made SMTP check "headers"
3078 - first basic SMTP support
3080 Yang Tse (24 Dec 2009)
3081 - Adjust test number mismatch
3089 - Back out some pingpong server stopping changes introduced last week in
3090 order to re-use 'classic' stopping and allow taking test-suite run time
3091 references from this state.
3093 - use Time::HiRes whenever available, independently of perl version
3095 - log a message when continuing once sleep time is over
3097 - - Ingmar Runge noticed that Windows config-win32.h configuration file
3098 did not include a definition for HAVE_CLOSESOCKET which resulted in
3099 function close() being inappropriately used to close sockets.
3101 - Make 'classic' output end of a test-suite run become again the end
3102 of output, even when run time statistics are shown.
3104 - Move stopping of servers instructed by test definition, after the removal of
3105 server logs advisor read lock and before test results verifications are done.
3107 When stopping a pingpong server, stop server before its slaves.
3109 Daniel Stenberg (21 Dec 2009)
3110 - test 566 was missing
3112 Yang Tse (21 Dec 2009)
3113 - dead_child_handler also takes care of reaping pingpong server dead child processes
3115 - Reap processes dead children ASAP without blocking
3117 - Reinstate hi resolution time logging since this is not what is
3118 now adding 90 extra seconds to the total time some autobuilds
3119 need to make a full test-run.
3121 Patrick Monnerat (21 Dec 2009)
3122 - Take new SMTP definitions into account in OS400 wrapper and RPG binding
3124 Daniel Stenberg (21 Dec 2009)
3125 - first small steps towards smtp
3127 Yang Tse (21 Dec 2009)
3128 - Replaced tabs with spaces
3130 Daniel Stenberg (20 Dec 2009)
3131 - remove some unused code
3133 Yang Tse (20 Dec 2009)
3134 - Improve delay command interruptability
3136 Daniel Stenberg (20 Dec 2009)
3137 - revert that, we already had a function named like that!
3139 - rename the verifyftp function to verifyserver since it is used to verify
3140 a wide variety of protocol servers
3142 - free the allocated mailbox name at disconnect
3144 - introducing the first IMAP FETCH test
3146 Yang Tse (20 Dec 2009)
3147 - - Attempt to fix script compilation failure on versions older than 5.007003,
3148 corelist -a Time::HiRes lists this as the first version released with it.
3150 - Ensure ftp check delay timer is always an integral number.
3152 Daniel Stenberg (19 Dec 2009)
3153 - support IMAP select and LOGOUT
3155 - fix the ftp check delay timer to never be set below 1 to work correctly
3156 in cases like test 190
3158 - fixed a precaution check in the cookie code, pointed out by Julien Chaffraix
3160 Yang Tse (19 Dec 2009)
3161 - Slack time reduction
3163 - Added runtests.pl '-r' option for run time statistics
3165 - server start and verification time as well as test preparation time
3166 data is required in order to closer match total test execution time.
3168 - Added test harness simple time execution stats
3170 - Comment out hi resolution time logging to verify if this is what might
3171 be contributing 90 additional seconds to the total time some autobuilds
3172 now need to make a full test-run.
3174 - Fix compilation failure
3176 - Test harness process control enhancements
3178 Daniel Stenberg (17 Dec 2009)
3179 - uh, assign the bool it points to properly
3181 - Stop overloading the conn->protocol field with the PROT_MISSING bit. It
3182 really didn't belong there and had no real point.
3184 - Remove pointless storing of the protocol as a string within the connectdata
3185 struct, and instead use the already stored string in the handler struct.
3187 - - David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when
3190 Yang Tse (17 Dec 2009)
3191 - gettimeofday() requires perl version newer than 5.6
3193 Daniel Stenberg (16 Dec 2009)
3194 - Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I
3195 was a bit too quick and broke test case 1101 with that change. The order of
3196 some of the setups is sensitive. I now changed it slightly again.
3198 Yang Tse (16 Dec 2009)
3199 - Test harness process control enhancements
3201 - Test #1106 needs an ftp enabled client
3203 - Test harness process control enhancements
3205 Daniel Stenberg (14 Dec 2009)
3206 - - Jon Nelson found a regression that turned out to be a flaw in how libcurl
3207 detects and uses proxies based on the environment variables. If the proxy
3208 was given as an explicit option it worked, but due to the setup order
3209 mistake proxies would not be used fine for a few protocols when picked up
3210 from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added
3211 test case 1106 that verifies this functionality.
3213 (http://curl.haxx.se/bug/view.cgi?id=2913886)
3215 Yang Tse (14 Dec 2009)
3216 - Fix compiler warning
3218 - Prevent perl script dying messages in output, since tearing down the pinpong
3219 server in this way, upon sysread failures, is part of the expected behavior.
3221 - Adjust uppercase protocol string usage
3223 - Fix compiler warnings
3225 - Fix compiler warnings
3227 - signal handling to cleanup on SIGINT and SIGTERM, followup
3229 - reapply diff between revisions 1.103 and 1.102
3231 Daniel Stenberg (12 Dec 2009)
3232 - updated with the new protocols
3234 - might as well output all supported protocols at the end of configure to
3235 make it more obvious how the output will be
3237 - show POP3S, IMAPS and SMTPS as protocols if SSL is enabled
3239 - support disabling POP3, IMAP and SMTP and now they also appear in curl-config
3242 - split out more protocol-specific structs from urldata.h into their own
3243 protocol-specific header files
3245 - IMAP, POP3 and SMTP support
3247 - introducing IMAP, POP3 and SMTP support (still lots of polish left to do)
3249 Yang Tse (11 Dec 2009)
3250 - Prevent rewinding unless pipelining.
3252 See http://curl.haxx.se/mail/lib-2009-12/0107.html
3254 - Removed function prototype without implementation
3256 Daniel Stenberg (10 Dec 2009)
3257 - - Siegfried Gyuricsko found out that the curl manual said --retry would retry
3258 on FTP errors in the transient 5xx range. Transient FTP errors are in the
3259 4xx range. The code itself only tried on 5xx errors that occured _at login_.
3260 Now the retry code retries on all FTP transfer failures that ended with a
3263 (http://curl.haxx.se/bug/view.cgi?id=2911279)
3265 - argh, use the correct bug id
3267 - - Constantine Sapuntzakis figured out a case which would lead to libcurl
3268 accessing alredy freed memory and thus crash when using HTTPS (with
3269 OpenSSL), multi interface and the CURLOPT_DEBUGFUNCTION and a certain order
3270 of cleaning things up. I fixed it.
3272 (http://curl.haxx.se/bug/view.cgi?id=2891591)
3274 - minor indent change
3276 Yang Tse (10 Dec 2009)
3277 - - Fixed curl erroneously reporting output stream write failures with disabled buffering
3279 - signal handling to cleanup on SIGINT and SIGTERM, followup
3281 Daniel Stenberg (7 Dec 2009)
3282 - - Martin Storsjo made libcurl use the Expect: 100-continue header for posts
3283 with unknown size. Previously it was only used for posts with a known size
3284 larger than 1024 bytes.
3286 - 74. The HTTP spec allows headers to be merged and become comma-separated
3287 instead of being repeated several times. This also include Authenticate: and
3288 Proxy-Authenticate: headers and while this hardly every happens in real life
3289 it will confuse libcurl which does not properly support it for all headers -
3290 like those Authenticate headers.
3292 Yang Tse (3 Dec 2009)
3293 - Fix 'uploaded' file descriptor leak
3295 - signal handling to cleanup on SIGINT and SIGTERM
3297 Kamil Dudka (2 Dec 2009)
3298 - lib/nss.c: avoid use of uninitialized value
3300 Yang Tse (2 Dec 2009)
3301 - signal handling to cleanup on SIGINT and SIGTERM
3303 - Set socket option SO_REUSEADDR=true on stunnel accept'ing port
3305 Daniel Stenberg (1 Dec 2009)
3306 - - If the Expect: 100-continue header has been set by the application through
3307 curl_easy_setopt with CURLOPT_HTTPHEADER, the library should set
3308 data->state.expect100header accordingly - the current code (in 7.19.7 at
3309 least) doesn't handle this properly. Martin Storsjo provided the fix!
3311 - start working on 1.7.1
3313 Yang Tse (30 Nov 2009)
3314 - - In order to better reflect that the returned pid is extracted from the
3315 given file, serverpid sub is renamed to pidfromfile. In addition it is
3316 enhanced to make sure that it always returns zero unless a numerical
3317 positive value is returned.
3319 - To better reflect that only process existance is actually checked,
3320 checkserver sub is renamed to processexists. In addition it is enhanced
3321 making it remove the given pid file when the extracted pid is no longer
3324 Daniel Stenberg (29 Nov 2009)
3325 - #71 "TFTP block size / better integration in transfer" is now expected to
3328 - a binding for Falcon
3330 Yang Tse (28 Nov 2009)
3331 - - Added Diffie-Hellman parameters to several test harness certificate files in
3332 PEM format. Required by several stunnel versions used by our test harness.
3334 - Use different log files for each protocol
3336 - s/socklen_t/curl_socklen_t/g
3338 - Fix compiler warning: unused variable `data'
3340 Daniel Stenberg (27 Nov 2009)
3341 - 7.20.0 is the planned next version number
3343 - document --tftp-blksize
3345 - - Markus Koetter provided a polished and updated version of Chad Monroe's TFTP
3346 rework patch that now integrates TFTP properly into libcurl so that it can
3347 be used non-blocking with the multi interface and more. BLKSIZE also works.
3349 The --tftp-blksize option was added to allow setting the TFTP BLKSIZE from
3352 Yang Tse (27 Nov 2009)
3353 - Attempt to enhance stunnel 3.X logging
3355 - Prevent running stunnel unless its version can be determined.
3357 - Log sws IPv version, port and pid when exiting due to SIGINT or SIGTERM.
3359 - To allow remote log inspection avoid redirecting messages to stderr.
3361 Set 0600 file permissions on certificate pem files.
3363 - Preserve empty line following last target
3365 - Log info for start up failures.
3367 Daniel Stenberg (26 Nov 2009)
3368 - - Extended and fixed the change I did on Dec 11 for the the progress
3369 meter/callback during FTP command/response sequences. It turned out it was
3370 really lame before and now the progress meter SHOULD get called at least
3373 Yang Tse (26 Nov 2009)
3374 - Only attempt to clear the server-logs lock when previously set by this same server.
3376 - signal handling to cleanup on SIGINT and SIGTERM
3378 - - Larry Lansing fixed ares_parse_srv_reply to properly parse replies
3379 which might contain non-SRV answers, skipping over potential non-SRV
3380 ones such as CNAMEs.
3382 - When using icc, compile with -fpic and link with intel dynamic libraries.
3384 Daniel Stenberg (24 Nov 2009)
3385 - clarify what a modern version of libcurl means
3387 Yang Tse (24 Nov 2009)
3388 - Added 'currently' in italics to insist on transient situation.
3392 Daniel Stenberg (24 Nov 2009)
3395 Yang Tse (23 Nov 2009)
3396 - - David Byron modified Makefile.dist vc8 and vc9 targets in order to allow
3397 finer granularity control when generating src and lib makefiles.
3399 - Enhance some debug messages for initialization failures.
3401 Fix compiler warning: conditional expression is constant.
3403 Daniel Stenberg (23 Nov 2009)
3404 - - Bjorn Augustsson reported a bug which made curl not report any problems even
3405 though it failed to write a very small download to disk (done in a single
3406 fwrite call). It turned out to be because fwrite() returned success, but
3407 there was insufficient error-checking for the fclose() call which tricked
3408 curl to believe things were fine.
3410 Yang Tse (23 Nov 2009)
3411 - Daniel wants upcoming release to be 1.7.0
3413 - Mention last changes
3415 - - Removed from external interface preprocessor symbol definition for
3416 CARES_HAVE_ARES_FREE_DATA. Current functionality of ares_free_data()
3417 makes it unnecessary.
3421 - Changed c-ares naming conventions when using MSVC as described in README.msvc
3423 Daniel Stenberg (23 Nov 2009)
3424 - fixed CURLOPT_TFTP_BLKSIZE typo
3426 Yang Tse (23 Nov 2009)
3427 - - Mention other recent changes
3429 - - Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl and
3430 ares_addr6ttl in order to prevent name space pollution, along with
3431 necessary changes to code base and man pages.This change does not break
3432 ABI, there is no need to recompile existing applications. But existing
3433 applications using these structs with the old name will need source code
3434 adjustments when recompiled using c-ares 1.6.1.
3436 - - Jakub Hrozek fixed more function prototypes in man pages to sync them
3437 with the ones declared in ares.h
3439 - Make configure remove the curlbuild.h file included in distribution tarballs
3440 for use by non-configure systems. As intended, configure would overwrite the
3441 distributed one when doing in-tree builds. But VPATH builds would end having
3442 two curlbuild.h files, one in the source tree and another in the build tree.
3444 - Make configure remove the ares_build.h file included in distribution tarballs.
3446 - Fix macro redefinition.
3448 - Fix name space pollution.
3450 - Allow using different extra import libraries for debug and release builds.
3452 - Add manifest stuff to msvc makefile
3454 Daniel Stenberg (20 Nov 2009)
3455 - - Constantine Sapuntzakis identified a write after close, as the sockets were
3456 closed by libcurl before the SSL lib were shutdown and they may write to its
3457 socket. Detected to at least happen with OpenSSL builds.
3459 Yang Tse (20 Nov 2009)
3460 - Sync man page with reality
3462 - Add missing external API decoration for ares_set_socket_callback()
3464 Daniel Stenberg (20 Nov 2009)
3465 - - Jad Chamcham pointed out a bug with connection re-use. If a connection had
3466 CURLOPT_HTTPPROXYTUNNEL enabled over a proxy, a subsequent request using the
3467 same proxy with the tunnel option disabled would still wrongly re-use that
3468 previous connection and the outcome would only be badness.
3470 Yang Tse (20 Nov 2009)
3471 - Add ares_free_data() man page.
3473 - - Provide in external interface preprocessor symbol definitions for
3474 CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
3480 - Add ares_data.c and ares_data.h
3482 - Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() API
3483 to return a linked lists of results. These were also modified to internally
3484 use the ares_data memory struct and as such its result must be free'ed with
3487 - Initial support for the generic ares_free_data() function that will allow
3488 applications to free memory allocated and returned by some c-ares funtions.
3490 - Explicit initialization of all FTP struct members in ftp_init()
3492 - Fix compiler warning: ISO C90 forbids mixed declarations and code
3494 - Make memory tracking system intolerant with zero sized malloc(),
3495 calloc() and realloc() function calls.
3497 - Make usage of calloc()'s arguments consistent with rest of code base
3499 - workaround icc 9.1 optimizer issue
3501 Daniel Stenberg (17 Nov 2009)
3502 - - Constantine Sapuntzakis provided another fix for the DNS cache that could
3503 end up with entries that wouldn't time-out:
3505 1. Set up a first web server that redirects (307) to a http://server:port
3507 2. Have curl connect to the first web server using curl multi
3509 After the curl_easy_cleanup call, there will be curl dns entries hanging
3510 around with in_use != 0.
3512 (http://curl.haxx.se/bug/view.cgi?id=2891591)
3514 - - Marc Kleine-Budde fixed: curl saved the LDFLAGS set during configure into
3515 its pkg-config file. So -Wl stuff ended up in the .pc file, which is really
3516 bad, and breaks if there are multiple -Wl in our LDFLAGS (which are in
3517 PTXdist). bug #2893592 (http://curl.haxx.se/bug/view.cgi?id=2893592)
3519 Yang Tse (16 Nov 2009)
3520 - Add icc fvisibility bug test
3522 - Fix icc 9.0 compiler warning: external definition with no prior declaration
3524 - Update serial number
3526 - Fix three var names
3528 - Add check for assert.h header file
3530 Kamil Dudka (15 Nov 2009)
3531 - - David Byron improved the configure script to use pkg-config to find OpenSSL
3532 (and in particular the list of required libraries) even if a path is given
3533 as argument to --with-ssl
3535 Yang Tse (15 Nov 2009)
3536 - getaddrinfo is fully thread safe on solaris versions which
3537 implement the function even when h_errno is not a macro.
3539 The h_errno macro test now only done on systems for which there
3540 is no hard coded knowledge about getaddrinfo's thread safeness.
3542 - Client certificate ENG file type requires OpenSSL 0.9.7 or newer
3544 - Remove files generated on previous buildconf/configure run
3546 - Add a couple of renamed files to the removal list
3548 - Remove enable-thread / disable-thread configure option. These were only placebo
3549 options. The library is always built as thread safe as possible on every system.
3551 Claes Jakobsson (14 Nov 2009)
3552 - Added '--configure' option to curl-config to display original configure arguments when curl was built
3554 Yang Tse (14 Nov 2009)
3555 - Refactor how preprocessor symbol _THREAD_SAFE definition is done.
3557 - OpenSSL 0.9.7 or newer required for ENGINE_CTRL_GET_CMD_FROM_NAME definition
3559 Daniel Stenberg (14 Nov 2009)
3560 - - Claes Jakobsson restored the configure functionality to detect NSS when
3561 --with-nss is set but not "yes".
3563 I think we can still improve that to check for pkg-config in that path etc,
3564 but at least this patch brings back the same functionality we had before.
3566 - - Camille Moncelier added support for the file type SSL_FILETYPE_ENGINE for
3567 the client certificate. It also disable the key name test as some engines
3568 can select a private key/cert automatically (When there is only one key
3569 and/or certificate on the hardware device used by the engine)
3571 Yang Tse (14 Nov 2009)
3572 - - Constantine Sapuntzakis provided the fix that ensures that an SSL connection
3573 won't be reused unless protection level for peer and host verification match.
3575 - Assume that getaddrinfo is thread safe, unless hard coded
3576 knowledge says the contrary or h_errno is not defined.
3578 - Related with the threadsafe capability of getaddrinfo:
3580 - Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2
3581 and newer have a threadsafe getaddrinfo.
3583 - Fix Dragonfly BSD triplet detection.
3585 - In case the hard-coded knowledge says that getaddrinfo is threadsafe,
3586 an additional check is done to verify that h_errno is also defined.
3587 If h_errno isn't defined, we finally assume that it isn't threadsafe.
3588 Jamie Lokier provided the inspiration for this extra check.
3590 - AIX 5.2 and newer have threadsafe getaddrinfo.
3592 Add some comments to better understand what the regex's pretend to achieve.
3594 - HP-UX 11.11 and later have threadsafe getaddrinfo
3596 - Constantine Sapuntzakis patch for hostip.c
3598 No need for a separate variable ndns.
3600 The memory leak detection will detect code that fails to release a dns reference.
3602 The DEBUGASSERT will detect code that releases too many references.
3604 - Check if getaddrinfo is threadsafe when function check allows it to be used
3606 - Add missing variable initialization
3608 Kamil Dudka (12 Nov 2009)
3609 - - libcurl-NSS now tries to reconnect with TLS disabled in case it detects
3610 a broken TLS server. However it does not happen if SSL version is selected
3611 manually. The approach was originally taken from PSM. Kaspar Brand helped me
3612 to complete the patch. Original bug reports:
3613 https://bugzilla.redhat.com/525496
3614 https://bugzilla.redhat.com/527771
3616 - - Kevin Baughman provided a fix preventing libcurl-NSS from crash on doubly
3617 closed NSPR descriptor. The issue was hard to find, reported several times
3618 before and always closed unresolved. More info at the RH bug:
3619 https://bugzilla.redhat.com/534176
3621 Yang Tse (12 Nov 2009)
3622 - Make hostip.c compile again
3624 Dan Fandrich (11 Nov 2009)
3625 - Made the path to the binaries absolute
3627 Yang Tse (11 Nov 2009)
3628 - Add last change credit
3630 - - Marco Maggi reported that compilation failed when configured --with-gssapi
3631 and GNU GSS installed due to a missing mutual exclusion of header files in
3632 the Kerberos 5 code path. He also verified that my patch worked for him.
3634 Daniel Stenberg (11 Nov 2009)
3635 - NSS SSL connections are also blocking
3637 - - Constantine Sapuntzakis posted bug #2891595
3638 (http://curl.haxx.se/bug/view.cgi?id=2891595) which identified how an entry
3639 in the DNS cache would linger too long if the request that added it was in
3640 use that long. He also provided the patch that now makes libcurl capable of
3641 still doing a request while the DNS hash entry may get timed out.
3643 - - Christian Schmitz noticed that the progress meter/callback was not properly
3644 used during the FTP connection phase (after the actual TCP connect), while
3645 it of course should be. I also made the speed check get called correctly so
3646 that really slow servers will trigger that properly too.
3648 Yang Tse (11 Nov 2009)
3649 - Renamed fpGetNetworkParams and fpSystemFunction036 to avoid namespace pollution with static library
3653 - Mention last changes
3655 - Reinstate copyright symbol lost in previous commit
3657 - Make some strings different in resource file for debug or release builds
3659 - Ignore more subdirs
3661 - Fix compiler warning: conditional expression is constant
3663 - Sync linker and resource compiler options with Makefile.msvc
3665 - Follow Makefile.msvc subdirectory naming scheme, and sync compiler options
3667 - Updated MSVC makefile that allows building dynamic and static
3668 c-ares libraries in debug and release flavours.
3670 Additionally each of the three sample programs is built against
3671 each of the four possible c-ares libraries, generating all this
3672 a total number of 12 executables and 4 libraries.
3674 - Test for USE_WINSOCK since it is more restrictive than WIN32
3676 - Make header inclusion depend on HAVE_*_H definition
3678 - Remove unneeded preprocessor directives
3680 Daniel Stenberg (7 Nov 2009)
3681 - Joshua Kwan added paragraph 4.18 about file:// URLs on windows etc
3683 Yang Tse (5 Nov 2009)
3684 - Adjust c-ares include paths for memory tracking enabled (--enable-curldebug) builds
3686 Kamil Dudka (5 Nov 2009)
3687 - - Dropped misleading timeouts in libcurl-NSS and made sure the SSL socket works
3688 in non-blocking mode.
3690 Yang Tse (5 Nov 2009)
3691 - I removed leading 'curl' path on the 'curlbuild.h' include statement in
3692 curl.h, adjusting auto-makefiles include path, to enhance portability to
3693 OS's without an orthogonal directory tree structure such as OS/400.
3695 - avoid division by zero
3697 Daniel Stenberg (4 Nov 2009)
3698 - - I fixed several problems with the transfer progress meter. It showed the
3699 wrong percentage for small files, most notable for <1000 bytes and could
3700 easily end up showing more than 100% at the end. It also didn't show any
3701 percentage, transfer size or estimated transfer times when transferring
3702 less than 100 bytes.
3704 Yang Tse (4 Nov 2009)
3705 - source files used by sample programs
3707 Daniel Stenberg (4 Nov 2009)
3708 - start over towards 7.19.8
3710 - updated with names from the 7.19.7 release notes
3712 Version 7.19.7 (4 Nov 2009)
3714 Daniel Stenberg (4 Nov 2009)
3715 - fix the find command line
3717 - avoid fiddling in the ares subdir since that isn't part of the release
3724 - I have next to no hope of fixing more bugs before 7.19.7 so all are now
3725 moved to 7.19.8. I removed the bugs already in KNOWN_BUGS (but they should
3726 of course still get fixed).
3728 Added three recent bugs. 7.19.8 is targetted to get shipped in Janurary 2010
3730 Dan Fandrich (4 Nov 2009)
3731 - Put the Symbian binaries into the more modern locations in ROM
3733 - Updated systems, bindings, NTLM support
3735 - Export the Symbian .iby files to make it easier to build a ROM
3737 Daniel Stenberg (2 Nov 2009)
3738 - strerror() => curl_easy_strerror()
3740 Yang Tse (2 Nov 2009)
3741 - include progress.h for Curl_pgrsSetDownloadCounter function prototype
3743 Daniel Stenberg (2 Nov 2009)
3744 - - As reported independent by both Stan van de Burgt and Didier Brisebourg,
3745 CURLINFO_SIZE_DOWNLOAD (the -w variable size_download) didn't work when
3746 getting data from ldap!
3748 - describe the cmake situation
3750 Yang Tse (2 Nov 2009)
3751 - Renamed c-ares setup.h to ares_setup.h
3753 - Adjust include paths to take in account that currently:
3755 c-ares with --enable-curldebug uses memdebug.h from libcurl's lib subdirectory.
3757 memdebug.h needs access to libcurl's setup.h from libcurl's lib subdirectory
3758 and also needs access to libcurl's generated curl_config.h
3760 - Undo old temporary change once used for testing purposes
3762 Daniel Stenberg (31 Oct 2009)
3763 - - Gabriel Kuri reported a problem with CURLINFO_CONTENT_LENGTH_DOWNLOAD if the
3764 download was 0 bytes, as libcurl would then return the size as unknown (-1)
3765 and not 0. I wrote a fix and test case 566 to verify it.
3767 Yang Tse (31 Oct 2009)
3768 - Mention many changes
3770 - Mention --enable-symbol-hiding configure option
3772 - Symbol hiding configure options renamed to the hopefully less ambiguous
3773 --enable-symbol-hiding and --disable-symbol-hiding as well as related
3774 macro names and some internal variables used for them.
3776 Related configuration file preprocessor symbols named to
3777 CARES_SYMBOL_HIDING and CARES_SYMBOL_SCOPE_EXTERN.
3779 Daniel Stenberg (30 Oct 2009)
3780 - Added test case 566 in an attempt to repeat bug 2884561
3781 (http://curl.haxx.se/bug/view.cgi?id=2884561) but it seems to work for me...
3783 - - Liza Alenchery mentioned a problem with re-used SCP connection when a bad
3784 auth is used, as it caused a crash. I failed to repeat the issue, but still
3785 made a change that now forces the TCP connection used for a freed SCP
3786 session to get closed and not be re-used.
3788 - - "Tom" posted a bug report that mentioned how libcurl did wrong when doing a
3789 POST using a read callback, with Digest authentication and
3790 "Transfer-Encoding: chunked" enforced. I would then cause the first request
3791 to be wrongly sent and then basically hang until the server closed the
3792 connection. I fixed the problem and added test case 565 to verify it.
3794 Yang Tse (30 Oct 2009)
3795 - Header inclusion depending on HAVE_* symbol.
3798 - Comparison of the Initial revision of this file with ares_parse_a_reply.c
3799 shows that this one is actually a modified copy of ares_parse_a_reply.c.
3801 In order to comply with ares_parse_a_reply.c's M.I.T. license, the old
3802 1998 M.I.T. copyright notice is now also preserved in this file the same
3803 as it is done in other ares_parse_*.c files.
3806 Fix identation of some license lines.
3812 - In no particular order, changed/fixed all of the following in
3813 ares_parse_txt_reply() current version:
3815 - Fixed a couple of potential double free's.
3817 - Fixed memory leaks upon out of memory condition.
3819 - Fixed pointer arithmetic.
3821 - Setting ntxtreply to zero upon entry for all failure cases.
3823 - Changed data type to size_t for variables substr_len, str_len and
3824 the length member of ares_txt_reply struct.
3826 - Avoided a couple of memcpy() calls.
3828 - Changed i data type to unsigned int to prevent compiler warnings.
3830 - Adjusted a comment.
3832 - Use ARES_SUCCESS literal for successfull completion.
3836 - Add c-ares DLL resource file to distribution archive
3842 - Updated MSVC 6.0 workspace and project files that allows building
3843 dynamic and static c-ares libraries in debug and release flavours.
3845 Additionally each of the three sample programs is built against
3846 each of the four possible c-ares libraries, generating all this
3847 a total number of 12 executables and 4 libraries.
3849 Daniel Stenberg (29 Oct 2009)
3850 - no need to check for NULL pointers before dereferencing, as the pointers
3851 MUST be valid and they are dereferenced further down in the function
3854 - shorten the descriptions somewhat
3856 - update to the new struct name
3858 - Jakub Hrozek added ares_parse_txt_reply() for TXT parsing
3860 - use 'ares_srv_reply' for proper name-spacing
3862 Yang Tse (29 Oct 2009)
3863 - Fix compiler warning: control reaches end of non-void function
3865 - Take in account c-ares 1.6.1 will use __declspec function decoration
3866 for Win32 and Symbian unless CARES_STATICLIB is defined to use static
3869 - Add reference for ares_parse_srv_reply.pdf
3871 - Add reference for ares_parse_srv_reply docs
3873 - External API function linkage decoration adjustment
3875 - External API function linkage decoration adjustment
3877 Daniel Stenberg (28 Oct 2009)
3878 - Since the NSS lib closes the socket the memory tracking system wrongly gets a
3879 false positive on a leaked socket, so this introduces a way to tell the system
3880 that the socket is indeed closed without explicitly closing it!
3882 Yang Tse (28 Oct 2009)
3883 - Initial step towards the ability to reduce c-ares exported symbols
3884 based on the 'visibility' attribute for GNUC and __global for Sun
3885 compilers, taking also in account __declspec function decoration
3886 for Win32 and Symbian DLL's.
3888 Introducing configure options --enable-hidden-symbols and
3889 --disable-hidden-symbols following libcurl's naming.
3891 - libssh2 detection changes mentioned in http://curl.haxx.se/mail/lib-2009-10/0343.html
3897 - Fix Pelles C Win32 target compilation issues
3899 Daniel Stenberg (26 Oct 2009)
3900 - grrr, removed the conflict markers
3902 - spell fix by Michael Wood
3904 - - Dima Barsky made the curl cookie parser accept cookies even with blank or
3905 unparsable expiry dates and then treat them as session cookies - previously
3906 libcurl would reject cookies with a date format it couldn't parse. Research
3907 shows that the major browser treat such cookies as session cookies. I
3908 modified test 8 and 31 to verify this.
3910 Dan Fandrich (24 Oct 2009)
3911 - Mention that Android works
3913 Daniel Stenberg (24 Oct 2009)
3914 - Fabian Keil's suggested wording
3916 Yang Tse (23 Oct 2009)
3917 - John Engelhart noticed an unreleased problem relative to a duplicate
3918 ARES_ECANCELLED error code value and missing error code description.
3920 Patrick Monnerat (23 Oct 2009)
3921 - OS400 install: Duplicate H include file to file CURL to support more include path forms.
3923 Daniel Stenberg (22 Oct 2009)
3924 - update the company sponsors part, as one company is no longer sponsoring
3925 and another is sponsoring more
3927 Yang Tse (21 Oct 2009)
3928 - Update MSVC 6 caveats section
3930 - Update memory tracking/debugging reference
3932 Daniel Stenberg (21 Oct 2009)
3933 - - Attempt to use pkg-config for finding out libssh2 installation details
3936 - mention bug 2848436 in regard to the TFTP problems
3938 - s/koresh/Johan van Selst/
3940 - add --crlfile to the man page
3942 - - A patch in bug report #2883177 (http://curl.haxx.se/bug/view.cgi?id=2883177)
3943 by user 'koresh' introduced the --crlfile option to curl, which makes curl
3944 tell libcurl about a file with CRL (certificate revocation list) data to
3947 - spelling corrections
3949 Yang Tse (21 Oct 2009)
3950 - Detect when msvc 6.0 is in use without PSDK installed, intentionally
3951 fail to build when this happens, and show an appropriate error.
3953 The brave of heart can circumvect this. Defining ALLOW_MSVC6_WITHOUT_PSDK
3954 in lib/config-win32.h, although absolutely discouraged and unsupported,
3955 this will allow the die hard MSVC hacker to build in such a discouraged
3958 The actually supported 'fix' is to install 'February 2003 Platform SDK'
3959 a.k.a. 'Windows Server 2003 PSDK' which can be freely downloaded from
3960 http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm
3962 Gunter Knauf (19 Oct 2009)
3963 - added cast macros to silent compiler warnings with 64-bit systems.
3965 Yang Tse (19 Oct 2009)
3966 - Fix compiler warning: local variable may be used without having been initialized
3968 - Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
3969 is only expanded and included once in the configure script.
3971 - Our _AS_PATH_SEPARATOR_PREPARE override is now m4_defun'd instead of m4_define'd
3972 due to autoconf 2.64 m4_require'ing it in _AS_SHELL_SANITIZE indirectly through
3975 Daniel Stenberg (18 Oct 2009)
3976 - - Ray Dassen provided a patch in Debian's bug tracker (bug number #551461)
3977 that now makes curl_getdate(3) actually handles RFC 822 formatted dates that
3978 use the "single letter military timezones".
3979 http://www.rfc-ref.org/RFC-TEXTS/822/chapter5.html has the details.
3981 Yang Tse (18 Oct 2009)
3982 - Check for basename() is now done the same as other function checks
3984 Daniel Stenberg (18 Oct 2009)
3985 - - Fixed memory leak in the SCP/SFTP code as it never freed the knownhosts
3988 - John Dennis filed bug report #2873666
3989 (http://curl.haxx.se/bug/view.cgi?id=2873666) which identified a problem which
3990 made libcurl loop infinitely when given incorrect credentials when using HTTP
3991 GSS negotiate authentication.