The original bug reported in this report seems to be fixed in rev 72906 (or maybe I just have a newer version of libcurl, since I'm now using Solaris 10). I will leave it to you to decide whether to close this report, since there are a number of other issues mentioned in this thread.