aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-04imap/smtp: Fixed incorrect SASL mechanism selection with XOAUTH2 serversSteve Holme
XOAUTH2 would be selected in preference to LOGIN and PLAIN if the IMAP or SMTP server advertised support for it even though a user's password was supplied but bearer token wasn't. Modified the selection logic so that XOAUTH2 will only be selected if the server supports it and A) The curl user/libcurl programmer has specifically asked for XOAUTH via the ;AUTH=XOAUTH login option or 2) The bearer token is specified. Obviously if XOAUTH is asked for via the login option but no token is specified the user will receive a authentication failure which makes more sense than no known authentication mechanisms supported!
2013-09-04curl.h: added CURL_HTTP_VERSION_2_0Daniel Stenberg
Initial library considerations documented in lib/README.http2
2013-09-04configure: added --with-nghttp2Daniel Stenberg
2013-09-04acinclude: fix --without-ca-path when cross-compilingDaniel Stenberg
The commit 7b074a460b64811 to CURL_CHECK_CA_BUNDLE in 7.31 (don't check for paths when cross-compiling) causes --without-ca-path to no longer works when cross-compiling, since ca and capath only ever get set to "no" when not cross-compiling, I attach a patch that works for me. Also in the cross-compilation case, no ca-path seems to be a better default (IMVHO) than empty ca-path. Bug: http://curl.haxx.se/bug/view.cgi?id=1273 Patch-by: Stefan Neis
2013-09-02lib1512.c: Fixed compilation warningSteve Holme
An enumerated type is mixed with another type. ...as well as a small coding style error.
2013-09-01Killed warning 'res' might be used uninitialized.Guenter Knauf
2013-09-01url.c: Fixed compilation warningSteve Holme
An enumerated type is mixed with another type
2013-09-01easy.c: Fixed compilation warningSteve Holme
warning: `code' might be used uninitialized in this function
2013-08-31-x: rephrased the --proxy section somewhatDaniel Stenberg
2013-08-31tests: Added test for IMAP CHECK commandSteve Holme
2013-08-31ftpserver.pl: Added support for the IMAP CHECK commandSteve Holme
2013-08-31Removed reference to krb4.c.Guenter Knauf
2013-08-31ftpserver.pl: Corrected flawed logic in commit 1ca6ed7b75cad0Steve Holme
2013-08-31imap: Fixed response check for EXPUNGE commandSteve Holme
2013-08-31ftpserver.pl: Added argument check to IMAP command handlersSteve Holme
Added BAD argument check to the following IMAP command handlers: APPEND, STORE, LIST, EXAMINE, STATUS and SEARCH
2013-08-31ftpserver.pl: More whitespace correctionsSteve Holme
LIST_imap() had a second level of indentation at 9 characters and not 8.
2013-08-30ftpserver.pl: Small correction tidy upSteve Holme
Corrected some IMAP variable names and whitespace issues.
2013-08-30docs: Added documentation for CURLOPT_BEARERKyle L. Huff
2013-08-30curl.1: Add usage of '--bearer' optionKyle L. Huff
2013-08-30tests: Added tests for IMAP CREATE, DELETE and RENAME commandsSteve Holme
2013-08-30ftpserver: Bareword "to_mailbox" not allowedDaniel Stenberg
Added missing $
2013-08-30ftpserver.pl: Added support for IMAP CREATE, DELETE and RENAME commandsSteve Holme
2013-08-29FTP: fix getsock during DO_MORE stateDaniel Stenberg
... when doing upload it would return the wrong values at times. This commit attempts to cleanup the mess. Bug: http://curl.haxx.se/mail/lib-2013-08/0109.html Reported-by: Mike Mio
2013-08-29curl_multi_remove_handle: allow multiple removesDaniel Stenberg
When removing an already removed handle, avoid that to ruin the internals and just return OK instead.
2013-08-29ftpserver.pl: Updated IMAP EXAMINE handler to use dynamic test dataSteve Holme
2013-08-29unit1304: include memdebug and free everything correctlyDaniel Stenberg
2013-08-29Curl_parsenetrc: document that the arguments must be allocatedDaniel Stenberg
2013-08-29easy: rename struct monitor to socketmonitorDaniel Stenberg
'struct monitor', introduced in 6cf8413e, already exists in an IRIX header file (sys/mon.h) which gets included via various standard headers by lib/easy.c cc-1101 cc: ERROR File = ../../curl/lib/easy.c, Line = 458 "monitor" has already been declared in the current scope. Reported-by: Tor Arntsen
2013-08-29ftpserver.pl: Added SELECT check to IMAP FETCH and STORE handlersSteve Holme
2013-08-28ftpserver.pl: Corrected accidental move of logmsg() callSteve Holme
Corrected the call to logmsg() in the IMAP SEARCH handler from commit 4ae7b7ea691497 as it should have been outputting the what argument and not the test number.
2013-08-28ftpserver: add missing '}' from 4ae7b7ea69149Daniel Stenberg
2013-08-28ftpserver.pl: Added SELECT check to IMAP SEARCH commandSteve Holme
2013-08-28ftpserver.pl: Fixed IMAP SEARCH commandSteve Holme
2013-08-28bump: next release is 7.33.0 due to added featuresDaniel Stenberg
2013-08-28symbols-in-versions: add CURLOPT_XOAUTH2_BEARERDaniel Stenberg
2013-08-28tests: Added test for IMAP SEARCH commandSteve Holme
2013-08-28valgrind.supp: fix for regular curl_easy_perform tooDaniel Stenberg
When we introduced curl_easy_perform_ev, this got a slightly modified call trace. Without this, test 165 causes a false positive valgrind error.
2013-08-28valgrind.supp: add the event-based call stack-trace tooDaniel Stenberg
Without this, test 165 triggers a valgrind error when ran with curl_easy_perform_ev
2013-08-28multi_socket: improved 100-continue timeout handlingDaniel Stenberg
When waiting for a 100-continue response from the server, the Curl_readwrite() will refuse to run if called until the timeout has been reached. We timeout code in multi_socket() allows code to run slightly before the actual timeout time, so for test 154 it could lead to the function being executed but refused in Curl_readwrite() and then the application would just sit idling forever. This was detected with runtests.pl -e on test 154.
2013-08-27ftpserver.pl: Added support for IMAP SEARCH commandSteve Holme
2013-08-27tool_operate.c: Fixed compilation warningSteve Holme
warning: implicit declaration of function 'checkpasswd'
2013-08-27curl: Moved check for password out of get parameter loopSteve Holme
Moved the calls to checkpasswd() out of the getparameter() function which allows for any related arguments to be specified on the command line before or after --user (and --proxy-user). For example: --bearer doesn't need to be specified before --user to prevent curl from asking for an unnecessary password as is the case with commit e7dcc454c67a2f.
2013-08-26RELEASE-NOTES: synced with acf59be7f09a7Steve Holme
2013-08-26curl: added --bearer option to helpKyle L. Huff
Added the --bearer option to the help output
2013-08-26curl: added basic SASL XOAUTH2 supportKyle L. Huff
Added the ability to specify an XOAUTH2 bearer token [RFC6750] via the --bearer option. Example usage: curl --url "imaps://imap.gmail.com:993/INBOX/;UID=1" --ssl-reqd --bearer ya29.AHES6Z...OMfsHYI --user username@example.com
2013-08-26tool_urlglob.c: Fixed compiler warningsSteve Holme
warning: 'variable' may be used uninitialized in this function
2013-08-26security.h: rename to curl_sec.h to avoid name collisionDaniel Stenberg
I brought back security.h in commit bb5529331334e. As we actually already found out back in 2005 in commit 62970da675249, the file name security.h causes problems so I renamed it curl_sec.h instead.
2013-08-26runtests.pl: allow -vc point to a separate curl binary to verify withDaniel Stenberg
The specified curl binary will then be used to verify the running server(s) instead of the development version. This is very useful in some cases when the development version fails to verify correctly as then the test case may not run at all. The actual test will still be run with the "normal" curl executable (unless the test case specifies something differently).
2013-08-26smtp: added basic SASL XOAUTH2 supportKyle L. Huff
Added the ability to use an XOAUTH2 bearer token [RFC6750] with SMTP for authentication using RFC6749 "OAuth 2.0 Authorization Framework". The bearer token is expected to be valid for the user specified in conn->user. If CURLOPT_XOAUTH2_BEARER is defined and the connection has an advertised auth mechanism of "XOAUTH2", the user and access token are formatted as a base64 encoded string and sent to the server as "AUTH XOAUTH2 <bearer token>".
2013-08-26imap: added basic SASL XOAUTH2 supportKyle L. Huff
Added the ability to use an XOAUTH2 bearer token [RFC6750] with IMAP for authentication using RFC6749 "OAuth 2.0 Authorization Framework". The bearer token is expected to be valid for the user specified in conn->user. If CURLOPT_XOAUTH2_BEARER is defined and the connection has an advertised auth mechanism of "XOAUTH2", the user and access token are formatted as a base64 encoded string and sent to the server as "A001 AUTHENTICATE XOAUTH2 <bearer token>".