summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Gopher protocol support (initial release)Cameron Kaiser2010-08-259-4/+231
|
* http: handle trailer headers in all chunked responsesDaniel Stenberg2010-08-256-104/+147
| | | | | | | | | | | | | | 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
* TODO: we now support RTMPDaniel Stenberg2010-08-251-7/+0
|
* TODO: done "NTLM with other crypto functions"Daniel Stenberg2010-08-251-9/+0
| | | | | Since NTLM was made to work with the NSS API as well, the primary SSL alternatives will be built with NTLM support in libcurl.
* TODO: fixed "Make curl_multi_info_read faster"Daniel Stenberg2010-08-251-6/+0
| | | | It is really fast now
* Fixed a NULL pointer dereference in form postingDan Fandrich2010-08-243-6/+18
| | | | | | 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.
* multi: Fix compile warning on 64-bit systemsBen Greear2010-08-241-1/+1
|
* Mention PolarSSL in tutorial & add some URLs to INSTALLDan Fandrich2010-08-232-4/+15
|
* RESUME_FROM: clarify what ftp uploads doDaniel Stenberg2010-08-231-0/+4
| | | | | | | | | | 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
* Curl_is_connected: use correct errnoDirk Manske2010-08-211-23/+22
| | | | | | | 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
* cmdline: make -F type= accept ;charset=Daniel Stenberg2010-08-212-3/+11
| | | | | | | | | | | | | | | | | | | | 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
* Added mk-ca-bundle.vbs script.Guenter Knauf2010-08-202-1/+273
| | | | | | | | | | | | 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.
* Trial to fix win32 autobuilds.Guenter Knauf2010-08-201-10/+11
| | | | | | | 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.
* Use the S_ISREG macro to determine what is a regular fileDan Fandrich2010-08-191-1/+1
|
* AC_INIT: avoid a warning with autoconf 2.66Kamil Dudka2010-08-191-1/+1
| | | | It was complaining about the '=>' operator, introduced in e3fc0d5.
* Fixed a memory leak during OOM in the multi timeout codeDan Fandrich2010-08-181-1/+3
|
* Removed a C99ism & made an array constDan Fandrich2010-08-181-3/+3
|
* test: added test 579 to verify progress callback for chunked postJulien Chaffraix2010-08-194-2/+238
| | | | | | | | | | | 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").
* multi: avoid sending multiple complete messagesDaniel Stenberg2010-08-181-5/+12
| | | | | | | | | | 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
* FAQ: update the list of supported protocolsDaniel Stenberg2010-08-181-4/+5
|
* FAQ: added blurb about ECCNDaniel Stenberg2010-08-181-1/+22
| | | | | | "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
* It is sufficient to pipe stderr to NUL to get rid of the nasty messages.Guenter Knauf2010-08-184-6/+6
|
* Added SSPI build to Watcom makefile.Guenter Knauf2010-08-181-0/+4
|
* progress: callback for POSTs less than MAX_INITIAL_POST_SIZEJulien Chaffraix2010-08-165-2/+148
| | | | | | | | Add a call to Curl_pgrsSetUploadSize in this case valided by a test case. Reported by: Никита Дорохин. Bug: http://curl.haxx.se/mail/lib-2010-04/0173.html
* Make the LD_PRELOAD path absolute in the tests that use itDan Fandrich2010-08-1623-23/+23
| | | | | | | | In some situations, libtool will change directories and perform a link step before executing the libtest test app. Since LD_PRELOAD is in effect for this entire process, the path to the binary must be absolute so it will be valid no matter in which directory the app is running.
* negotiation: Wrong proxy authorizationDaniel Stenberg2010-08-161-5/+10
| | | | | | | | | There's an error in http_negotiation.c where a mistake is using only userpwd even for proxy requests. Ludek provided a patch, but I decided to write the fix slightly different using his patch as inspiration. Reported by: Ludek Finstrle Bug: http://curl.haxx.se/bug/view.cgi?id=3046066
* Clear stdout and stderr files on each test runDan Fandrich2010-08-161-1/+1
| | | | | This allows a test to be run several times in the same test session even when the -k option is given.
* Syncroniszed vclean target; fixed some comments.Guenter Knauf2010-08-156-12/+10
|
* THANKS: added contributors from 7.21.1Daniel Stenberg2010-08-151-0/+9
|
* multi: two fixes doneDaniel Stenberg2010-08-151-2/+3
|
* multi: use timeouts properly for MAX_RECV/SEND_SPEEDDaniel Stenberg2010-08-151-72/+91
| | | | | | | | | When detecting that the send or recv speed, the multi interface changes state to TOOFAST and previously there was no timeout set that would force a recheck but it would rely on the application to somehow call libcurl anyway. This now sets a timeout for a suitable future time to check again if the average transfer speed is then below the threshold again.
* multi: support timeoutsDaniel Stenberg2010-08-155-28/+134
| | | | | | | | | | | | | | | | | | | Curl_expire() is now expanded to hold a list of timeouts for each easy handle. Only the closest in time will be the one used as the primary timeout for the handle and will be used for the splay tree (which sorts and lists all handles within the multi handle). When the main timeout has triggered/expired, the next timeout in time that is kept in the list will be moved to the main timeout position and used as the key to splay with. This way, all timeouts that are set with Curl_expire() internally will end up as a proper timeout. Previously any Curl_expire() that set a _later_ timeout than what was already set was just silently ignored and thus missed. Setting Curl_expire() with timeout 0 (zero) will cancel all previously added timeouts. Corrects known bug #62.
* Curl_llist_insert_next: allow insertion first in the listDaniel Stenberg2010-08-151-4/+16
| | | | | When we specify the "insert after" entry as NULL, this function now inserts the new entry first in the list.
* multi: make curl_multi_info_read perform O(1)Daniel Stenberg2010-08-151-40/+94
| | | | | | | | Instead of looping over all attached easy handles, this now keeps a list of messages in the multi handle. It allows curl_multi_info_read() to perform O(1) no matter how many easy handles that are handled. This is of importance since this function may be polled very frequently by apps using the multi interface.
* curl -T: ignore file size of special filesKamil Dudka2010-08-152-2/+5
| | | | original bug report at https://bugzilla.redhat.com/622520
* Reset environment variables before starting serversDan Fandrich2010-08-131-10/+10
| | | | | Otherwise, variables from tests could affect the servers themselves.
* typecheck-gcc: work around gcc upstream bug #32061Kamil Dudka2010-08-121-56/+79
| | | | original bug report at https://bugzilla.redhat.com/617757
* release cycle loop: start over toward 7.21.2Daniel Stenberg2010-08-112-52/+8
|
* RELEASE-NOTES: mention the runtests fix as wellcurl-7_21_1Daniel Stenberg2010-08-111-0/+1
|
* runtests: clear old setenv remainders before testDaniel Stenberg2010-08-111-1/+13
| | | | | | | | | | | | | | Due to the layout of the singletest function there are situations where it returns before it clears the environment variables that were especially set for the single specific test case. That could lead to subsequent tests getting executed with environment variables sticking around from a previous test which could lead to badness. This change makes sure to clear all custom variables that may be laying around from a previous round, before running a test case. Reported by: Kamil Dudka Bug: http://curl.haxx.se/mail/lib-2010-08/0141.html
* Added OpenSSL builds to Watcom makefiles.Guenter Knauf2010-08-112-0/+26
|
* configure: werror related adjustmentsYang Tse2010-08-111-4/+4
|
* FAQ: s/libcurl.so.3/libcurl.so.XDaniel Stenberg2010-08-111-4/+5
|
* KNOWN_BUG #59 is fixed. Clarify support of IPv6 zone IDs.Dan Fandrich2010-08-101-7/+4
|
* Fixed typo in Android configure commandDan Fandrich2010-08-101-6/+6
|
* HISTORY: added stuff from recent yearsDaniel Stenberg2010-08-111-0/+51
|
* warning: silence the compilerDaniel Stenberg2010-08-111-5/+6
| | | | | | warning: conversion to 'long int' from 'time_t' may alter its value ... on win64 when time_t is 64bit and long is 32bit.
* RELEASE-NOTES: synced, 3 additional bugfixesDaniel Stenberg2010-08-101-0/+3
|
* multi_socket_action: clarify how to kickstart itDaniel Stenberg2010-08-101-4/+5
| | | | | | The callbacks are called when curl_multi_socket_action() is called, not when handles are added. This is now mentioned in the "TYPICAL USAGE" section.
* callbacks: acknowledge progress callback error returnsDaniel Stenberg2010-08-103-32/+51
| | | | | | | | | | | | | | When the progress callback is called during the TCP connection, an error return would accidentally not abort the operation as intended but would instead be counted as a failure to connect to that particular IP and libcurl would just continue to try the next. I made singleipconnect() and trynextip() return CURLcode properly. Added bonus: it corrected the error code for bad --interface usages, like tested in test 1084 and test 1085. Reported by: Adam Light Bug: http://curl.haxx.se/mail/lib-2010-08/0105.html