Commit Graph

155 Commits

Author SHA1 Message Date
Guenter Obiltschnig
0efc7c4cf3 fix for GH #1160: Poco::Net::NetException "SSL Exception: error:1409F07F:SSL routines:ssl3_write_pending:bad write retry 2016-02-26 20:14:19 +01:00
Guenter Obiltschnig
59b5b4e46e added Context::preferServerCiphers() 2016-01-19 16:02:15 +01:00
Guenter Obiltschnig
20c772d17b added support for ECDH, new Context ctor 2016-01-19 15:20:08 +01:00
Guenter Obiltschnig
556b4bd32f NetSSL: add support for disabling certain protocols 2016-01-19 11:37:47 +01:00
FrancisANDRE
6d96fb30ec Remove try/catch. Exception is avoided by CPPUNI_IGNORE
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-21 23:39:35 +01:00
FrancisANDRE
6e97a9f11b Split tests into samples & tests.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-19 17:15:55 +01:00
FrancisANDRE
042d18f9fa Rerun testProxy but catch the exception.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-17 09:27:51 +01:00
FrancisANDRE
1224fb126e Rerun testProxy but cacth the exception.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-17 09:16:37 +01:00
FrancisANDRE
9039ae6b2f Merge remote-tracking branch 'pocoproject@github/develop' into develop
Conflicts:
	buildwin.ps1


Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-13 12:11:35 +01:00
Alex Fabijanic
a495cc3661 OpenSSL: rebuilt binaries w/ VS 2013, fixed progen files, regenerated VS projects 2015-12-12 19:10:09 -06:00
FrancisANDRE
9fb50537d6 Remove testProxy temporarely for completion of AppVeyor CI for now.
To be fixed later on.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-11 16:45:15 +01:00
FrancisANDRE
84d36a31fb Use POCO_BASE for finding the configuration file on POCO_OS_FAMILY_UNIX
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-07 17:14:18 +01:00
FrancisANDRE
627f76232c Load TestSuite.xml configuration file relative to POCO_BASE and not
relative to the path of the testsuite executable.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-07 15:16:33 +01:00
Guenter Obiltschnig
829746feb1 fix line endings 2015-10-09 16:53:21 +02:00
Guenter Obiltschnig
6bb1f4ad62 improved SSLManager to automatically set-up a reasonable client Context if none is configured 2015-10-06 09:42:41 +02:00
Günter Obiltschnig
ee9794f087 Merge pull request #943 from zosrothko/develop
Proposed changes for fixing NetSSL_OpenSSL and adding portability function in Sharedmemory
2015-09-19 15:46:57 +02:00
FrancisANDRE
b2ef29528d remove unecessary include of Poco/NetSSL_OpenSSL/openssl/ssl.h
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-09-19 08:26:22 +02:00
FrancisANDRE
3e3c9da626 Protect TLSv1, TLSv1_1 and TLSv1_2 entry point references by proper
OpenSSL constant

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-09-19 08:24:37 +02:00
FrancisANDRE
73222d1530 INCLUDE += -I$(POCO_BASE)/openssl/include should be added to the list of
includes otherwise, gcc takes the ssl.h from /usr/include/openssl which
could miss some declarations like TLSv1_1_client_method and
TLSv1_1_server_method, depednding on which version of openssl is
installed.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-09-17 12:31:54 +02:00
Guenter Obiltschnig
619950bb2a HTTPSessionInstantiator: respect global proxy config 2015-09-17 11:58:19 +02:00
Csaba Keszegh
61305c01ee fix: set public compiler flags on library targets
POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
  Don't need to guess in headers.
2015-09-15 10:02:38 +02:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00
Alex Fabijanic
6ef38bff0b updated Crypto and NetSSL VS projects, progen files; rebuilt openssl binaries 2015-05-22 00:11:56 -05:00
Alex Fabijanic
ca3cabf064 remove header copying from pre-build (done by build script) 2015-04-25 17:16:07 -05:00
Alex Fabijanic
af6c22c0ac simplify Crypto and NetSSL VS projects 2015-04-25 16:18:19 -05:00
Alex Fabijanic
62597585a3 update gitignore to allow openssl binaries; update Progen to skip 32 suffix for 32-bit binaries 2015-04-21 23:36:25 -05:00
Alex Fabijanic
9f90303f38 OpenSSL build script, headers and binaries 2015-04-21 22:22:19 -05:00
Alex Fabijanic
100fa63a55 adapted Crypto and NetSSL projects for poco OpenSSL binaries 2015-04-21 22:20:38 -05:00
martin-osborne
7780ab3ae0 Corrected more spellings. 2015-04-10 11:43:49 +01:00
martin-osborne
4cf45ea4a3 Corrected more words. 2015-04-10 11:31:12 +01:00
Alex Fabijanic
4e7d25713a Unable to build static with NetSSL_OpenSSL for OS X #763 2015-03-28 19:16:56 -05:00
Alex Fabijanic
7022c44397 add WebSocket tests to posix build system 2015-03-02 20:25:33 -06:00
Alex Fabijanc
37deffc4ee updated NetSSL testsuite projects 2015-03-02 19:41:01 -06:00
Alex Fabijanc
c727402dd9 added secure WebSocket tests 2015-03-02 19:34:50 -06:00
Matt
170d74be3a Update HTTPSClientSession.h
Fix typo in the documentation.
2015-02-18 15:26:16 +01:00
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Guenter Obiltschnig
3b31772717 fixed comments 2014-11-21 09:05:25 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Guenter Obiltschnig
781acfa0bd added nonProxyHosts to ProxyConfig to allow bypassing proxy for certain hosts 2014-11-11 22:54:44 +01:00
Guenter Obiltschnig
b0946115cf updated CMakeLists 2014-11-10 23:54:31 +01:00
Günter Obiltschnig
af1f5757c3 updated VS project files, added OAuthTestSuite 2014-11-10 23:49:35 +01:00
Guenter Obiltschnig
6fe78dee3f updated Makefile 2014-11-10 22:55:06 +01:00
Guenter Obiltschnig
9d7a814292 moved TwitterClient to NetSSL samples, use OAuth10Credentials class 2014-11-10 22:54:05 +01:00
Guenter Obiltschnig
420c3b55a7 added support for global HTTP proxy configuration 2014-11-09 17:22:10 +01:00
Günter Obiltschnig
5f380f0b80 Merge pull request #574 from siemens/cmake
Cmake updates
2014-11-06 11:17:45 +01:00
Guenter Obiltschnig
558091d53f fixed a memory leak if the CA file was not found while creating the Context (the OpenSSL context would leak) 2014-10-18 17:22:07 +02:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00