Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-07 | multi-uv.c: call curl_multi_info_read() better | Waldek Kozba | |
Improves it for low-latency cases (like the communication with localhost) | |||
2014-09-09 | ftp-wildcard.c: spell fix | Daniel Stenberg | |
Reported-By: Frank Gevaerts | |||
2014-07-16 | Remove all traces of FBOpenSSL SPNEGO support | David Woodhouse | |
This is just fundamentally broken. SPNEGO (RFC4178) is a protocol which allows client and server to negotiate the underlying mechanism which will actually be used to authenticate. This is *often* Kerberos, and can also be NTLM and other things. And to complicate matters, there are various different OIDs which can be used to specify the Kerberos mechanism too. A SPNEGO exchange will identify *which* GSSAPI mechanism is being used, and will exchange GSSAPI tokens which are appropriate for that mechanism. But this SPNEGO implementation just strips the incoming SPNEGO packet and extracts the token, if any. And completely discards the information about *which* mechanism is being used. Then we *assume* it was Kerberos, and feed the token into gss_init_sec_context() with the default mechanism (GSS_S_NO_OID for the mech_type argument). Furthermore... broken as this code is, it was never even *used* for input tokens anyway, because higher layers of curl would just bail out if the server actually said anything *back* to us in the negotiation. We assume that we send a single token to the server, and it accepts it. If the server wants to continue the exchange (as is required for NTLM and for SPNEGO to do anything useful), then curl was broken anyway. So the only bit which actually did anything was the bit in Curl_output_negotiate(), which always generates an *initial* SPNEGO token saying "Hey, I support only the Kerberos mechanism and this is its token". You could have done that by manually just prefixing the Kerberos token with the appropriate bytes, if you weren't going to do any proper SPNEGO handling. There's no need for the FBOpenSSL library at all. The sane way to do SPNEGO is just to *ask* the GSSAPI library to do SPNEGO. That's what the 'mech_type' argument to gss_init_sec_context() is for. And then it should all Just Workâ˘. That 'sane way' will be added in a subsequent patch, as will bug fixes for our failure to handle any exchange other than a single outbound token to the server which results in immediate success. | |||
2014-07-05 | Update instances of some obsolete CURLOPTs to their new names | Dan Fandrich | |
2014-07-03 | example: use correct type (long) for CURLOPT_FOLLOWLOCATION | Dimitrios Siganos | |
2014-05-09 | cacertinmem: fix memory leak | Daniel Stenberg | |
While "just" an example it still isn't nice to leak memory. Bug: http://curl.haxx.se/bug/view.cgi?id=1368 Fixed-by: Marko | |||
2014-03-30 | imap-append.c: Fixed compilation errors on some platforms | Steve Holme | |
In the initializer for len, there is no prototype for "strlen". In this statement, there is no prototype for "memcpy". | |||
2014-02-17 | examples: remove all use of CURLM_CALL_MULTI_PERFORM | Daniel Stenberg | |
... since it is never returned since a long while back. | |||
2014-02-16 | examples: Added IMAP LSUB example | Steve Holme | |
2014-01-29 | examples: gitignore more binaries | Daniel Stenberg | |
2014-01-15 | pop3-dele.c: Added missing CURLOPT_NOBODY following feedback | Steve Holme | |
2014-01-12 | examples: Fixed compilation errors | Steve Holme | |
error: 'MULTI_PERFORM_HANG_TIMEOUT' undeclared | |||
2014-01-12 | imap-multi.c: Corrected typo | Steve Holme | |
2014-01-12 | smtp-multi.c: Minor coding style tidyup following POP3 and IMAP additions | Steve Holme | |
2014-01-12 | examples: Added IMAP multi example | Steve Holme | |
2014-01-12 | pop3-multi.c: Corrected copy/paste typo | Steve Holme | |
2014-01-12 | examples: Added POP3 multi example | Steve Holme | |
2014-01-12 | examples: Added comments to SMTP multi example based on other MAIL examples | Steve Holme | |
2014-01-12 | examples: Removed user information and TLS setup from SMTP multi example | Steve Holme | |
Simplified the SMTP multi example as this example should demonstrate the differences the easy and multi interfaces rather than introduce new concepts such as user authentication and TLS which are shown in the TLS and SSL examples. | |||
2014-01-12 | examples: Updated SMTP MAIL example to return libcurl result code | Steve Holme | |
2014-01-12 | examples: Synchronised comments between SMTP MAIL examples | Steve Holme | |
2014-01-12 | examples: Updated SMTP MAIL example to use a read function for data | Steve Holme | |
Updated to read data from a callback rather than from stdio as this is more realistic to most use cases. | |||
2014-01-05 | examples: Added required libcurl version information to SMTP examples | Steve Holme | |
2014-01-05 | Examples: Renamed SMTP MAIL example to match other email examples | Steve Holme | |
2014-01-05 | examples: Added POP3 TLS example | Steve Holme | |
2014-01-05 | examples: Added IMAP NOOP example | Steve Holme | |
2014-01-05 | examples: Added POP3 NOOP example | Steve Holme | |
2014-01-05 | pop3-stat.c: Corrected small typo from commit 91d62e9abd761c | Steve Holme | |
2014-01-05 | examples: Added POP3 STAT example | Steve Holme | |
2014-01-05 | examples: Added POP3 TOP example | Steve Holme | |
2014-01-05 | examples: Added POP3 DELE example | Steve Holme | |
2014-01-05 | examples: Added POP3 UIDL example | Steve Holme | |
2014-01-05 | examples: Added POP3 RETR example | Steve Holme | |
2014-01-05 | examples: Added return of error code in POP3 examples | Steve Holme | |
2014-01-05 | examples: Reworked POP3 examples for additional upcoming POP3 examples | Steve Holme | |
2014-01-05 | examples: Added SMTP SSL example | Steve Holme | |
2014-01-05 | examples: Added IMAP SSL and TLS examples | Steve Holme | |
2014-01-04 | examples: Standardised username and password settings for all email examples | Steve Holme | |
Replaced the use of CURLOPT_USERPWD for the preferred CURLOPT_USERNAME and CURLOPT_PASSWORD options and used the same username and password for all email examples which is the same as that used in the test suite. | |||
2014-01-04 | examples: Added IMAP COPY example | Steve Holme | |
2014-01-04 | examples: Added IMAP DELETE example | Steve Holme | |
2014-01-04 | examples: Added IMAP CREATE example | Steve Holme | |
2014-01-02 | examples: Added IMAP SEARCH example | Steve Holme | |
2014-01-02 | examples: Added IMAP EXAMINE mailbox folder example | Steve Holme | |
2014-01-01 | examples: Updated SMTP multi example to be more realistic | Steve Holme | |
Updated the contents of the email and payload callback as per the IMAP and other SMTP examples. | |||
2014-01-01 | examples: Corrected unescaped backslash in imap-store.c | Steve Holme | |
2014-01-01 | examples: Update SMTP TLS example mail content to be RFC-2821 compliant | Steve Holme | |
...and made some minor coding style changes to better match the curl coding standards as well as the other email related examples. | |||
2014-01-01 | examples: Added IMAP APPEND example | Steve Holme | |
2014-01-01 | examples: Added IMAP STORE example | Steve Holme | |
2013-12-31 | examples: Added IMAP LIST mailbox example | Steve Holme | |
2013-12-31 | examples: Updated IMAP fetch example for libcurl 7.30.0 | Steve Holme | |