aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-04fopen.c: re-indented, fixed previous mistakeDaniel Stenberg
I've made the code intended using curl-style now to look more like other examples. My previous "fix" was a bit too invasive but is now fixed again.
2010-11-04multi use: call multi_perform even on select() timeoutsDaniel Stenberg
2010-11-04example: add smtp-multi.cDaniel Stenberg
An example application source code sending SMTP mail with the multi interface. It is based on the code Alona Rossen provided, which in turn is based on existing example/test code, and I converted it even more into a decent example with a fair multi API use, put the info required to edit at the top and I added some comments.
2010-11-04CURLOPT_NOSIGNAL: add blurb about SIGPIPEDaniel Stenberg
2010-11-03Allow building test 580 out of treeDan Fandrich
2010-11-03dist: add symbol-scan.pl to the tarballDaniel Stenberg
2010-11-03test1119: verify symbols-in-versionsDaniel Stenberg
2010-11-03runtests: allow tests written as perl scriptsDaniel Stenberg
If a command is set type="perl", it can now specify a perl program that will be run instead of an ordinary curl or built tool. A perl test automatically disables memory and valgrind debugging.
2010-11-03symbol-scan: verifies symbols-in-versionsDaniel Stenberg
This new script scans for all enums and #defines used by the curl/curl.h and curl/multi.h headers. Then it reads all symbols mentioned in symbols-in-vesions and make sure that there's no entries missing in there. It then proceeds to verify that the entries that symbols-in-vesions mentions but aren't found in the sources are truly documented as removed. This script is used in the new test case 1119
2010-11-03symbols-in-versions: added 119 missing symbolsDaniel Stenberg
I've developed a script I call symbol-scan.pl that scans the curl.h and multi.h header files and compare the symbols it finds in there with the symbols symbols-in-versions documents and outputs a report on the differences. Using this I've dug through the history to fill up symbols-in-versions with all the symbols my script found mismatches for. I will commit symbol-scan.pl separatly and think of a way to put it to use in the build/tests so that we from now on will get this in-sync check automatically.
2010-11-02Added mk580.pl to the tar ballDan Fandrich
2010-11-02symbols-in-versions: added missing symbolsDaniel Stenberg
2010-11-02ignore: lib580.c is generated by mk580.plDaniel Stenberg
2010-11-02test: added test 580 - verifies symbols-in-versionsDaniel Stenberg
The new perl script mk580.pl generates a C table in a fresh source file named lib580.c and if that compiles fine we know that the file docs/libcurl/symbols-in-versions at least doesn't include any symbols that are misspelled. An additional feature would be to somehow scan curl/curl.h and compare with symbols-in-versions to see if there are symbols missing.
2010-11-02spellfix: CURLOPT_TFTP_BLKSIZE it isDaniel Stenberg
2010-10-29ftp: prevent server from hanging on closed data connectionKamil Dudka
Some FTP servers (e.g. Pure-ftpd) end up hanging if we close the data connection before transferring all the requested data. If we send ABOR in that case, it prevents the server from hanging. Bug: https://bugzilla.redhat.com/643656 Reported by: Pasi Karkkainen, Patrick Monnerat
2010-10-28Removed a leftover mention of FTP in an error messageDan Fandrich
2010-10-21Removed the native Makefile.riscos filesDan Fandrich
These haven't worked in at least 8 years due to missing source files, and most active RiscOS developers these days apparently cross-compile anyway. Signed-off-by: James Bursa <james@zamez.org>
2010-10-20Lightened the stack in wc_statemach to permit deeper recursionDan Fandrich
Also, added a few hints to help compilers to perform tail call recursion optimization.
2010-10-20SSH: use libssh2_session_handshake()Daniel Stenberg
In libssh2 1.2.8, libssh2_session_handshake() replaces libssh2_session_startup() to fix the previous portability problem with the socket type that was too small for win64 and thus easily could cause crashes and more.
2010-10-20SSH: avoid using the libssh2_ prefixDaniel Stenberg
It is a bad idea to use the public prefix used by another library and now we realize that libssh2 introduces a symbol in the upcoming version 1.2.8 that conflicts with our static function named libssh2_free.
2010-10-20formdata: provide error messageDaniel Stenberg
When failing to build form post due to an error, the code now does a proper failf(). Previously libcurl would report an error like "failed creating formpost data" when a file wasn't possible to open which was not easy for users to figure out. I also lower cased a function name to be named more curl-style and removed some unnecessary code.
2010-10-19URL-parsing: consider ? a dividerDaniel Stenberg
The URL parser got a little stricter as it now considers a ? to be a host name divider so that the slightly sloppier URLs work too. The problem that made me do this change was the reported problem with an URL like: www.example.com?email=name@example.com This form of URL is not really a legal URL (due to the missing slash after the host name) but is widely accepted by all major browsers and libcurl also already accepted it, it was just the '@' letter that triggered the problem now. The side-effect of this change is that now libcurl no longer accepts the ? letter as part of user-name or password when given in the URL, which it used to accept (and is tested in test 191). That letter is however mentioned in RFC3986 to be required to be percent encoded since it is used as a divider. Bug: http://curl.haxx.se/bug/view.cgi?id=3090268
2010-10-19curl_easy_setopt.3: spellfixDaniel Stenberg
2010-10-19curl_easy_setopt.3: CURLOPT_USE_SSL is not just for FTPDaniel Stenberg
It is for FTP, SMTP, POP3, IMAP at least.
2010-10-18krb4.h: removed unused prototypesDaniel Stenberg
2010-10-18krb4: make a few functions staticDaniel Stenberg
2010-10-17TODO-RELEASE: cleanup for 7.21.3 worksDaniel Stenberg
"SFTP resume with 4GB file does not work" is now removed as I'm sure this is really a libssh2 bug and not a libcurl bug. 7.21.2 is released already
2010-10-17RELEASE-NOTES: sync with 09a2d93a0f17caDaniel Stenberg
2010-10-17http_chunks: remove debug outputDaniel Stenberg
Accidentally left in there during my previous debugging of this
2010-10-14Curl_setopt: disallow CURLOPT_USE_SSL without SSL supportDaniel Stenberg
In order to avoid for example the pingpong protocols to issue STARTTLS (or equivalent) even though there's no SSL support built-in. Reported by: Sune Ahlgren Bug: http://curl.haxx.se/mail/archive-2010-10/0045.html
2010-10-14options: check for features for some optionsDaniel Stenberg
Some options, such as the automatic decompression and some SSL related ones now will bail out if the underlying libcurl doesn't have support for the particular feature needed.
2010-10-14Fixed the IPv6 host address in test1203Dan Fandrich
Reported by: Christian Weisgerber Bug: http://curl.haxx.se/bug/view.cgi?id=3087479
2010-10-14curl_easy_setopt.3: clarify CURLOPT_CRLFDaniel Stenberg
The option takes a parameter that should be 1 or 0 to enable or disable the feature. URL: http://curl.haxx.se/bug/view.cgi?id=3086428
2010-10-14Some more small Watcom makefile fixes.Guenter Knauf
2010-10-14Added --noconfigure switch to testcurl.pl.Guenter Knauf
2010-10-13Modified Watcom makefiles to work on Linux too.Guenter Knauf
2010-10-13Added MingW32 rtmp target; changed Watcom targets.Guenter Knauf
Modified Watcom targets to avoid backslashs so that they can work on Linux too.
2010-10-13gitignore: ignore Makefile.vc10.dist made by maketgzDaniel Stenberg
2010-10-13curlver.h: start over at 7.21.3Daniel Stenberg
2010-10-13RELEASE-NOTES: start over towards 7.21.3Daniel Stenberg
2010-10-13THANKS: added contributors from 7.21.2Daniel Stenberg
2010-10-12RELEASE-NOTES: synced with ecd624b8e774a85Daniel Stenberg
2010-10-12CMake: Build fix.Julien Chaffraix
Do not match the trailing '\n' in the regular expression as this would make us dump a ) parenthesis on a new line. This fixes the following error: would get transformed into: ) Bug: http://curl.haxx.se/mail/lib-2010-10/0065.html Reported by: Dimitre Dimitrov
2010-10-12header_callback: strip off file path separated with backslashesDaniel Stenberg
If the filename contains a backslash, only use filename portion. The idea is that even systems that don't handle backslashes as path separators probably want that path removed for convenience. This flaw is considered a security problem, see the curl security vulnerability http://curl.haxx.se/docs/adv_20101013.html
2010-10-12Get the curl source files for Amiga from Makefile.incDan Fandrich
This is similar to how it's done in the lib directory. The Amiga build appears to have been broken for a year because of a missing homedir.c
2010-10-12Added section on server-supplied names to security considerationsDan Fandrich
2010-10-12Fixed Watcom makefile.Guenter Knauf
2010-10-12Added build bits for librtmp / libssh2 to Watcom makefiles.Guenter Knauf
2010-10-12Added build bits for librtmp to NetWare makefiles.Guenter Knauf