aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-02Added S_ISREG define for Win32.Guenter Knauf
2010-09-01multi: fixes for timing out handlesDaniel Stenberg
Add a timeout check for handles in the state machine so that they will timeout in all states disregarding what actions that may or may not happen. Fixed a bug in socket_action introduced recently when looping over timed out handles: it wouldn't assign the 'data' variable and thus it wouldn't properly take care of handles. In the update_timer function, the code now checks if the timeout has been removed and then it tells the application. Previously it would always let the remaining timeout(s) just linger to expire later on.
2010-09-01threaded resolver: no more expire 0 callsDaniel Stenberg
Curl_expire() set to 0 expires ALL timeouts so it should only be called if we truly and really want to remove all timeouts for the handle.
2010-09-01resolve_server: simplify codeDaniel Stenberg
Make use of the helper function Curl_timeleft() instead of duplicating code.
2010-08-31multi: make sure the next timeout is used when one expiresDaniel Stenberg
Each easy handle has a list of timeouts, so as soon as the main timeout for a handle expires, we must make sure to get the next entry from the list and re-add the handle to the splay tree. This was attempted previously but was done poorly in my commit 232ad6549a68450.
2010-08-30Added proxy keyword to allow skipping test in proxyless configsDan Fandrich
2010-08-29multi: set timeouts when transfer beginsDaniel Stenberg
When a new transfer is about to start we now set the proper timeouts to expire for the multi interface if they are set for the handle. This is a follow-up bugfix to make sure that easy handles timeout properly when the times expire and the multi interface is used. This also improves curl_multi_timeout().
2010-08-28CURLOPT_DIRLISTONLY: don't use with CURLOPT_WILDCARDMATCHDaniel Stenberg
2010-08-28FAQ: update list of supported protocolsDaniel Stenberg
2010-08-28In the m4 detection line, factor out the 2>dev/nullFabian Keil
2010-08-28If m4 doesn't support --version, try if gm4 does.Fabian Keil
2010-08-28If the m4 version isn't recognized at all, just say soFabian Keil
'm4 version found. You need a GNU m4 installed!' is a bit confusing.
2010-08-28HISTORY: mention the gopher storyDaniel Stenberg
2010-08-25Tweaked some test data filesDan Fandrich
Fixed some issues that caused xmllint failures, added features and keywords, fixed some quotes and removed some <strip> sections that unnecessarily limited test checking.
2010-08-25Added new source files to Symbian and TPF makefilesDan Fandrich
2010-08-25RELEASE-NOTES: sync from b980c9a02 to HEADDaniel Stenberg
2010-08-25Makefile: add gopher.c file to buildDaniel Stenberg
As the VC and RISCOS makefiles don't use the .inc file
2010-08-25runtests: fix uninitialized variable warningDaniel Stenberg
2010-08-25gopher tests: revert parts of gopher in the pingpong serverDaniel Stenberg
Introduced in the initial gopher commits, there was added logic to do GOPHER test serving in the pingpong server but as it resembles HTTP much more than FTP or SMTP, the gopher testing has been moved over to instead use the sws (HTTP) server. This change simply removes unused code.
2010-08-25gopher tests: use sws and adjusted to more standard styleDaniel Stenberg
2010-08-25sws: added basic gopher supportDaniel Stenberg
2010-08-25gopher: enable the header callback/verbosityDaniel Stenberg
2010-08-25gopher: fix test case line endingsDaniel Stenberg
Patches over email very easily lose CRLF line endings in files otherwise LF-only so I had to put them back where needed.
2010-08-25gopher: fix memory leak and busyloopDaniel Stenberg
The fix for the busyloop really only is a temporary work-around. It causes a BLOCKING behavior which is a NO-NO. This function should rather be split up in a do and a doing piece where the pieces that aren't possible to send now will be sent in the doing function repeatedly until the entire request is sent.
2010-08-25Gopher using Curl_write; test suite (4 tests)Cameron Kaiser
2010-08-25Remove url.c testCameron Kaiser
2010-08-25Forgot gopher.h in Makefile.incCameron Kaiser
2010-08-25Gopher protocol support (initial release)Cameron Kaiser
2010-08-25http: handle trailer headers in all chunked responsesDaniel Stenberg
HTTP allows that a server sends trailing headers after all the chunks have been sent WITHOUT signalling their presence in the first response headers. The "Trailer:" header is only a SHOULD there and as we need to handle the situation even without that header I made libcurl ignore Trailer: completely. Test case 1116 was added to verify this and to make sure we handle more than one trailer header properly. Reported by: Patrick McManus Bug: http://curl.haxx.se/bug/view.cgi?id=3052450
2010-08-25TODO: we now support RTMPDaniel Stenberg
2010-08-25TODO: done "NTLM with other crypto functions"Daniel Stenberg
Since NTLM was made to work with the NSS API as well, the primary SSL alternatives will be built with NTLM support in libcurl.
2010-08-25TODO: fixed "Make curl_multi_info_read faster"Daniel Stenberg
It is really fast now
2010-08-24Fixed a NULL pointer dereference in form postingDan Fandrich
It was introduced in commit eeb2cb05 along with the -F type= change. Also fixed a typo in the name of the magic filename= parameter. Tweaked tests 39 and 173 to better test this path.
2010-08-24multi: Fix compile warning on 64-bit systemsBen Greear
2010-08-23Mention PolarSSL in tutorial & add some URLs to INSTALLDan Fandrich
2010-08-23RESUME_FROM: clarify what ftp uploads doDaniel Stenberg
The numerical value passed to CURLOPT_RESUME_FROM for FTP uploads is interpreted and used as position where to resume the _reading_ of the local file and it will "blindly" append that data on the remote file. This was certainly not clear in the docs previously. Reported by: catalin Bug: http://curl.haxx.se/bug/view.cgi?id=3048174
2010-08-21Curl_is_connected: use correct errnoDirk Manske
The correctly extracted errno contents were mistakenly overwritten by a newer value that wasn't the correct error value. Bug: http://curl.haxx.se/mail/lib-2010-08/0242.html
2010-08-21cmdline: make -F type= accept ;charset=Daniel Stenberg
The -F option allows some custom parameters within the given string, and those strings are separated with semicolons. You can for example specify "name=daniel;type=text/plain" to set content-type for the field. However, the use of semicolons like that made it not work fine if you specified one within the content-type, like for: "name=daniel;type=text/plain;charset=UTF-8" ... as the second one would be seen as a separator and "charset" is no parameter curl knows anything about so it was just silently discarded. The new logic now checks if the semicolon and following keyword looks like a parameter it knows about and if it isn't it is assumed to be meant to be used within the content-type string itself. I modified test case 186 to verify that this works as intended. Reported by: Larry Stone Bug: http://curl.haxx.se/bug/view.cgi?id=3048988
2010-08-20Added mk-ca-bundle.vbs script.Guenter Knauf
The script works exactly same as the Perl one except for one thing: when the text descriptions generated with openssl are included then the md5 fingerprints are missing; seems openssl has either a bug or a feature which prints the md5 fingerprint output to stdout instead of writing them to specified file; this script could here do the same as what the Perl scripr does (redirect stdout into file) but this makes the script take up double the time because it needs to launch cmd.exe 140 times (fo each openssl call). So I think for now we just ommit the md5 fingerprints, and see if openssl will be fixed.
2010-08-20Trial to fix win32 autobuilds.Guenter Knauf
It seems that its time to look at some better ideas for the win32 non-configure builds; probably a prebuild target which copies config-win32.h to curl_config.h and appends also then feature defines like USE_ARES.
2010-08-19Use the S_ISREG macro to determine what is a regular fileDan Fandrich
2010-08-19AC_INIT: avoid a warning with autoconf 2.66Kamil Dudka
It was complaining about the '=>' operator, introduced in e3fc0d5.
2010-08-18Fixed a memory leak during OOM in the multi timeout codeDan Fandrich
2010-08-18Removed a C99ism & made an array constDan Fandrich
2010-08-19test: added test 579 to verify progress callback for chunked postJulien Chaffraix
The 66 bytes checked are those 38 bytes with the chunked encoding headers added: 8+8+10+35+5 = 66 The three-letter words become 8 bytes on the wire because they are sent like: "3\r\none\r\n" ... and there's the trailing 5 bytes write after the four lines since the final chunk is sent (which is "0\r\n\r\n").
2010-08-18multi: avoid sending multiple complete messagesDaniel Stenberg
I fell over this bug report that mentioned that libcurl could wrongly send more than one complete messages at the end of a transfer. Reading the code confirmed this, so I've added a new multi state to make it not happen. The mentioned bug report was made by Brad Jorsch but is (oddly enough) filed in Debian's bug tracker for the "wmweather+" tool. Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593390
2010-08-18FAQ: update the list of supported protocolsDaniel Stenberg
2010-08-18FAQ: added blurb about ECCNDaniel Stenberg
"1.13 curl's ECCN number" is a new section mostly made up from Alessandro Vesely's very informative ML post on the subject: http://curl.haxx.se/mail/lib-2008-03/0251.html
2010-08-18It is sufficient to pipe stderr to NUL to get rid of the nasty messages.Guenter Knauf
2010-08-18Added SSPI build to Watcom makefile.Guenter Knauf