aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-09ldap: fix the build for systems with ldap_url_parse()Daniel Stenberg
Make sure that the custom struct fields are only used by code that doesn't use a struct defintion from the outside. Attempts to fix the problem introduced in 3dc6fc42bfc61b
2013-09-09pingpong: Check SSL library buffers for already read dataJiri Hruska
Otherwise the connection can get stuck during various phases, waiting for new data on the socket using select() etc., but it will never be received as the data has already been read into SSL library.
2013-09-09imap: Fixed calculation of transfer when partial FETCH receivedSteve Holme
The transfer size would be calculated incorrectly if the email contained within the FETCH response, had been partially received by the pingpong layer. As such the following, example output, would be seen if the amount remaining was smaller than the amount received: * Excess found in a non pipelined read: excess = 1394, size = 262, maxdownload = 262, bytecount = 1374 * transfer closed with -1112 bytes remaining to read Bug: http://curl.haxx.se/mail/lib-2013-08/0170.html Reported-by: John Dunn
2013-09-08ftpserver.pl: Fixed empty array checksSteve Holme
...from commits 28427b408326a1 and e8313697b6554b.
2013-09-08ftpserver: Reworked AUTH support to allow for specifying the mechanismsSteve Holme
Renamed SUPPORTAUTH to AUTH and added support for specifying a list of supported SASL mechanisms to return to the client. Additionally added the directive to the FILEFORMAT document.
2013-09-08ftpserver: Reworked CAPA support to allow for specifying the capabilitiesSteve Holme
Renamed SUPPORTCAPA to CAPA and added support for specifying a list of supported capabilities to return to the client. Additionally added the directive to the FILEFORMAT document.
2013-09-08ftpserver.pl: Corrected POP3 LIST as message numbers should be contiguousSteve Holme
The message numbers given in the LIST response are an index into the list, which are only valid for the current session, rather than being a unique message identifier. An index would only be missing from the LIST response if a DELE command had been issued within the same session and had not been committed by the end of session QUIT command. Once committed the POP3 server will regenerate the message numbers in the next session to be contiguous again. As such our LIST response should list message numbers contiguously until we support a DELE command in the same session. Should a POP3 user require the unique message ID for any or all messages then they should use the extended UIDL command. This command will be supported by the test ftpserver in an upcoming commit.
2013-09-08curl_easy_pause: suggest one way to unpauseClemens Gruber
2013-09-08tests: Updated descriptions to be more meaningfulSteve Holme
2013-09-08tests: Added test for POP3 NOOP commandSteve Holme
2013-09-08ftpserver.pl: Added support for POP3 NOOP commandSteve Holme
2013-09-08ftpserver.pl: Fixed 'Use of uninitialized value $args in string ne'Steve Holme
2013-09-08tests: Added test for POP3 STAT commandSteve Holme
2013-09-08ftpserver.pl: Added support for POP STAT commandSteve Holme
2013-09-08ftpserver.pl: Moved POP3 QUIT handler into own functionSteve Holme
2013-09-08ftpserver.pl: Reordered the POP3 handlers to be alphabeticalSteve Holme
In preparation for additional POP3 tests, re-ordered the command function defintions to be sorted alphabetically.
2013-09-08ftpserver.pl: Corrected misaligned indentation in POP3 handlersSteve Holme
Fixed incorrect indentation used in both the RETR_pop3 and LIST_pop3 functions which was 5 and 9 characters rather than 4 and 8.
2013-09-07tests: Added test for POP3 DELE commandSteve Holme
2013-09-07ftpserver.pl: Added support for POP3 DELE commandSteve Holme
2013-09-07http2: include curl_memory.hDaniel Stenberg
Detected by test 1132
2013-09-07http: fix build warning under LLVMNick Zitzmann
When building the code using LLVM Clang without NGHTTP2, I was getting this warning: ../lib/http.h:155:1: warning: empty struct is a GNU extension [-Wgnu] Placing a dummy variable into the data structure silenced the warning.
2013-09-07http2: actually init nghttp2 and send HTTP2-Settings properlyDaniel Stenberg
2013-09-07README.http2: how to use it best with the multi API?Daniel Stenberg
2013-09-07http2: first embryo toward Upgrade:Daniel Stenberg
2013-09-07http: rename use_http_1_1 to use_http_1_1plusDaniel Stenberg
Since it now actually says if 1.1 or a later version should be used.
2013-09-07configure: improve CURL_CHECK_COMPILER_PROTOTYPE_MISMATCHDaniel Stenberg
The compiler test used a variable before it was assigned when it tried to see how it acts on a mismatching prototype, which could cause a false positive.
2013-09-07Pass password to OpenSSL engine by user interfacePetr Písař
Recent OpenSSL uses user interface abstraction to negotiate access to private keys in the cryprographical engines. An OpenSSL application is expected to implement the user interface. Otherwise a default one provided by OpenSSL (interactive standard I/O) will be used and the aplication will have no way how to pass a password to the engine. Longer-desc: http://curl.haxx.se/mail/lib-2013-08/0265.html
2013-09-06urlglob: improved error messages and column number on bad useDaniel Stenberg
Introduce a convenience macro and keep of the column better so that it can point out the offending column better. Updated test 75 accordingly.
2013-09-06urlglob: avoid error code translationDaniel Stenberg
By using the correct values from the start we don't have to translate them!
2013-09-06urlglob: avoid NULL pointer dereferenceDaniel Stenberg
Thanks to clang-analyzer
2013-09-06http2: use correct include for snprintfGisle Vanem
Using the first little merge of nghttp2 into libcurl, I stumbeled on the missing 'snprintf' in MSVCRT. Isn't this how we do it for other libcurl files? I.e. use 'curl_msnprintf' and not 'snprintf' directly:
2013-09-06--data: mention CRLF treatment when reading from fileDaniel Stenberg
2013-09-06LDAP: fix bad free() when URL parsing failedGeoff Beier
When an error occurs parsing an LDAP URL, The ludp->lud_attrs[i] entries could be freed even though they sometimes point to data within an allocated area. This change introduces a lud_attrs_dup[] array for the duplicated string pointers, and it removes the unused lud_exts array. Bug: http://curl.haxx.se/mail/lib-2013-08/0209.html
2013-09-05darwinssl: add support for PKCS#12 files for client authenticationNick Zitzmann
I also documented the fact that the OpenSSL engine also supports them.
2013-09-05symbols: added HTTP2 symbols and sorted listDaniel Stenberg
CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2 are new
2013-09-05configure: add HTTP2 as a curl-config --feature outputDaniel Stenberg
Fixes the test 1014 failure
2013-09-05curl: unbreak --http1.0 againDaniel Stenberg
I broke it in 2eabb7d590
2013-09-04SASL: fix compiler warningsDaniel Stenberg
comparison between signed and unsigned integer expressions suggest parentheses around '&&' within '||' (twice)
2013-09-04curl: add --http1.1 and --http2.0 optionsDaniel Stenberg
2013-09-04Curl_setopt: refuse CURL_HTTP_VERSION_2_0 if built without supportDaniel Stenberg
2013-09-04http2: add http2.[ch] and add nghttp2 version outputDaniel Stenberg
2013-09-04curl -V: output HTTP2 as a feature if presentDaniel Stenberg
2013-09-04curl.h: add CURL_VERSION_HTTP2 as a featureDaniel Stenberg
It isn't added as a separate protocol as HTTP2 will be done over HTTP:// URLs that can be upgraded to HTTP2 if the server supports it as well.
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