aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/curl
Commit message (Collapse)AuthorAgeFilesLines
* curl: Enable following redirectsTobias Brunner2017-07-271-0/+9
| | | | | | | The maximum number of redirects can be limited. The functionality can also be disabled. Fixes #2366.
* imv-swima: Implemented SW event processingAndreas Steffen2017-07-081-2/+12
|
* curl: Add TLS support if libcurl is built against BoringSSLTobias Brunner2016-04-151-1/+2
| | | | | We don't have to rely on the openssl plugin and its threading initialization as BoringSSL is thread-safe out of the box.
* curl: Handle LibreSSL like OpenSSL in regards to multi-threadingTobias Brunner2016-04-151-1/+1
| | | | | LibreSSL is API compatible so our openssl plugin does not need any changes and it works fine with the curl plugin.
* curl: Be less strict when considering status codes as errorsTobias Brunner2015-11-121-3/+3
| | | | | | | For file:// URIs the code is 0 on success. We now do the same libcurl would do with CURLOPT_FAILONERROR enabled. Fixes #1203.
* curl: For SSL features, depend on thread-safety provided by our crypto pluginsMartin Willi2014-09-241-7/+53
| | | | | | | | | To use SSL in curl, we need to initialize the SSL library in a thread-safe manner and provide the appropriate callbacks. As we already do that in our crypto plugins using these libraries, we depend on these features. This implies that we need the same plugin enabled (openssl, gcrypt) as the curl backend is configured to use to fetch from HTTPS URIs.
* curl: Dynamically query supported protocols and register appropriate featuresMartin Willi2014-09-241-10/+64
|
* curl: Try to initialize with SSL support to handle https:// URIsMartin Willi2014-09-241-1/+6
| | | | If initialization fails, we fall back to the old behavior.
* curl: Log error code tooTobias Brunner2014-09-091-2/+5
| | | | It seems libcurl does not always return an error message.
* plugins: Don't link with -rdynamic on WindowsMartin Willi2014-06-041-1/+1
|
* curl: Don't set CURLOPT_FAILONERRORTobias Brunner2014-05-311-14/+5
| | | | | With the strongTNC REST API some errors will actually be accompanied by a response we want to receive completely.
* curl: Add support to return the response codeTobias Brunner2014-05-191-1/+27
|
* curl: Replace spaces in URIs with %20Tobias Brunner2014-01-231-3/+14
| | | | | | | cURL requires the URIs to be URL-encoded. Apparently, some CAs encode CRL URIs with spaces in them. Fixes #454.
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-181-3/+4
| | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only.
* curl: add an option to fetch bound to a local source addressMartin Willi2013-06-111-0/+9
|
* Use CURL_TIMEOUT and not CURL_CONNECTTIMEOUT for FETCHER_TIMEOUT in curlMartin Willi2013-02-081-5/+12
| | | | | This allows us to use this timeout beyond DNS resolution. For the initial connect, we use a hardcoded timeout of 10s for now.
* Moved debug.[ch] to utils folderTobias Brunner2012-10-242-2/+2
|
* Add features support to curl pluginMartin Willi2011-10-141-16/+19
|
* Added a (not yet implemented) plugin_t method to reload plugin configurationMartin Willi2011-04-151-0/+1
|
* Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵Martin Willi2011-04-151-0/+7
| | | | over plugin_t
* Support FETCH_CALLBACK in curl fetcherMartin Willi2011-04-041-11/+34
|
* Added a new FETCH_CALLBACK option to fetch data without allocationMartin Willi2011-04-041-1/+2
|
* Add missing va_end to va_start in curl_fetcherMartin Willi2011-01-171-6/+10
|
* Migrated curl_plugin_t to INIT/METHOD macrosAndreas Steffen2010-12-041-6/+10
|
* Use a seperate section for each nested struct member in INIT macroMartin Willi2010-08-181-4/+6
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-062-3/+3
|
* Reverting eba28948a584b9d02474cf5d256b04b8d2adbe6a which was only necessary ↵Tobias Brunner2010-03-021-3/+1
| | | | | | | when cross-compiling the plugins for Android 2.0. With the coming monolithic build using Android.mk files this won't be necessary anymore.
* Streamlined the source file list formatting in plugin makefiles.Tobias Brunner2010-03-021-1/+3
|
* Link all enabled libstrongswan plugins into the library, link all enabled ↵Tobias Brunner2010-03-021-2/+7
| | | | charon plugins into libcharon.
* Changed plugin constructors from plugin_create to plugin_name_plugin_create.Tobias Brunner2010-03-021-1/+1
|
* Removing the plugin constructor declarations from the header files.Tobias Brunner2010-03-021-5/+0
|
* Link all plugins to libstrongswan.Tobias Brunner2010-02-251-1/+1
|
* Migrated curl_fetcher to INIT/METHOD macrosMartin Willi2009-12-171-22/+18
|
* Removed obsolete curl interface specific destructorMartin Willi2009-12-081-5/+0
|
* replaces four spaces by tabs, where appropriateMartin Willi2009-09-043-9/+9
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-043-16/+16
|
* added -avoid-version to LDFLAGS, plugins are not versionedMartin Willi2009-07-031-1/+1
|
* pluto and scepclient use the random plugin from libstrongswanAndreas Steffen2009-04-301-1/+0
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-302-4/+0
|
* pluto and scepclient use the curl and ldap fetcher pluginsAndreas Steffen2009-04-291-12/+27
|
* merged multi-auth branch back into trunkMartin Willi2009-04-141-13/+13
|
* updated DoxyfileMartin Willi2009-03-242-2/+2
| | | | | | properly close all doxygen groups fixed remaining doxygen warnings
* fixed compiler warnings issued by:Martin Willi2008-11-111-1/+1
| | | | | | gcc 4.3 curl.h gcc type-checking glibc with enabled FORTIFY_SOURCE checking
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-135-0/+360