Commit Graph

45 Commits

Author SHA1 Message Date
Günter Obiltschnig
663232b8b8 chore(NetSSL_Win): rewrite handshake logic to support non-blocking sockets 2024-11-28 08:19:46 +01:00
Günter Obiltschnig
28a08434c6 chore(NetSSL_Win): use state machine also for blocking connections; fix non-blocking renegotiation 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
0bf3c15655 chore(NetSSL_Win): remove select() calls from state machine 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
f1bb63a1f2 chore(NetSSL_Win): refactored state machine (wip) 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
5402032249 fix(NetSSL_Win): shutdown behavior 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
1811f2f35c fix(NetSSL): shutdown behavior 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
7780f379ea fix(NetSSL_Win): Non-blocking sockets support #4773 2024-11-16 16:50:52 +01:00
Günter Obiltschnig
d5a5ebc2d7 enh: #3890: Get rid of SingletonHolder 2024-01-30 09:56:27 +01:00
Kari Argillander
708a5d8307
RFC: Remove Windows CE support (#4342)
* Remove _WIN32_WCE macro

Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.

* Remove WinCE support from build files

Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. Remove all
references from build systems / scripts.

* Remove Windows CE related source and header files

Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.

* Remove wcelibcex folder

Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.

* Remove rest Windows CE mentions

There where some Windows CE mentions left. Remove those.

* Update Windows CE documentation

We should keep documentation some time so people can find reason for
remove.

---------

Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
2023-12-14 00:25:04 +01:00
Tavi Cacina
b34801f4ba
fix(NetSSL_Win): Error during handshake: failed to read data (#4275)
Closes #3944
2023-11-23 02:57:01 +01:00
John Vandenberg
0e6e16645c
Remove trailing whitespace (#3668) 2022-07-07 04:18:20 -05:00
Aleksandar Fabijanic
168f1eb6e2
As of C++11, std::swap is noexcept. #2386 (#3645)
* As of C++11, std::swap is noexcept. #2386

* fix(Any): remove throw on swap

* fix(Any): As of C++11, std::swap is noexcept. #2386

* fix(Any): make size const #2386

* fix(SimpleRowFormatter): clang won't compile noexcept #2386

* a couple of arm fixes

* fix(Any): As of C++11, std::swap is noexcept. #2386

* fix(AnyTest): local() for POCO_NO_SOO# 2386

* test(RSACipher): RSA encryption without private key #2367

* chore(RSACipherTest): delete ciphers #2367
2022-06-28 12:14:36 -05:00
Günter Obiltschnig
292b9a7d83 #3465: NetSSL_Win: bad error handling when decodeMessage() fails 2022-02-07 18:13:31 +01:00
Günter Obiltschnig
270c2643cf #3221: Crash reported on Windows in X509Certificate verification 2021-11-05 13:46:17 +01:00
Günter Obiltschnig
c9e2107e96 style 2021-06-23 08:37:07 +02:00
Günter Obiltschnig
22eb76d3ae #3302: MSVC: Poco hides warnings (C4996) for the C++14 attribute [[deprecated]] 2021-06-17 18:20:29 +02:00
Günter Obiltschnig
37f7315bc4 #3191: Fixing a bug in the NetSSL_Win module (Host name verification failed error) 2021-06-15 13:46:19 +02:00
Günter Obiltschnig
7917abf727 #2418: SecureServerSocket doesn't work with IpV6 2021-06-15 10:23:22 +02:00
Günter Obiltschnig
59ae91e5ba #3089: HTTPSessionFactory does not support HTTPClientSession::ProxyConfig 2021-06-15 09:45:01 +02:00
Günter Obiltschnig
c2255c1c62 fixed warnings 2020-02-04 13:21:25 +01:00
Günter Obiltschnig
bfa7ca5c82 #2834: Wrong cancelation of the fix: incorrect type of store name parameter in CertOpenStore API call into NetSSL_Win. Release 1.10.0 2020-02-04 09:53:47 +01:00
Günter Obiltschnig
3300467543 fixed GH #2830: Fix wrong buffer size in client handshake when re-using a SecureSocket 2020-01-22 13:11:37 +01:00
Günter Obiltschnig
e1f09a602b cleanup and modernization 2020-01-10 12:20:30 +01:00
Günter Obiltschnig
e3d1d03c54 add support for TLS 1.3 2020-01-10 11:41:49 +01:00
Francis ANDRE
5d455b6ed5 Fix typos 2019-09-02 15:59:11 +02:00
Günter Obiltschnig
ef516fa767 fixed GH #2775: Fix issue in NetSSL_Win. Windows Server 2016 reboots while trying to establish an SSL connection 2019-08-23 21:00:56 +02:00
Günter Obiltschnig
0784665ce8 backported #2773: Fix the issue with incorrect type of store name parameter in CertOpenStore API call into NetSSL_Win 2019-08-22 13:05:54 +02:00
Günter Obiltschnig
98d9c62efa fixed GH #2603:Remove incorrect upper size limits for SSL certificates in NetSSL_Win 2019-08-16 22:02:56 +02:00
Günter Obiltschnig
f1f8eb883e fixed GH #2747: NetSSL_Win: Context constructor usage argument should specify minimum supported SSL/TLS version 2019-07-10 08:08:29 +02:00
Günter Obiltschnig
e98f752cff SecureSMTPClientSession now uses _host from SMTPClientSession 2019-05-16 14:42:24 +02:00
Guenter Obiltschnig
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
c8848ebfd8 provide a default client context even if no Application instance is available 2016-08-31 11:00:47 +02:00
Guenter Obiltschnig
781acfa0bd added nonProxyHosts to ProxyConfig to allow bypassing proxy for certain hosts 2014-11-11 22:54:44 +01:00
Günter Obiltschnig
2cebd6ed98 support for global HTTP proxy config 2014-11-09 17:26:22 +01:00
Günter Obiltschnig
e719228861 certificate fixes 2014-10-10 12:26:54 +02:00
Günter Obiltschnig
7312306ad8 fixed client handshake issue 2014-10-10 09:28:40 +02:00
Günter Obiltschnig
b72641d20b fixed misplaced #endif 2014-10-10 08:21:08 +02:00
Günter Obiltschnig
2d5827d332 fixed certificate name verification 2014-10-10 08:12:04 +02:00
Günter Obiltschnig
f65d98f9c1 fixed cert chain verification and samples 2014-10-09 23:56:00 +02:00
Günter Obiltschnig
80952e11d1 optimizations, certificate verification, code cleanup 2014-10-09 20:54:07 +02:00
Günter Obiltschnig
1d7d57a321 NetSSL_Win: various bugfixes and improvements 2014-10-08 21:35:50 +02:00
Günter Obiltschnig
8bf66bb3f9 Added support for loading certificates and private key pairs from PKCS #12 files, as well as loading certificates (without private key) from PEM or DER files. Some code restructuring and cleanup. 2014-10-07 23:16:58 +02:00
Günter Obiltschnig
0a115be8ac fixed a crash on WinCE; code cleanup 2014-09-17 11:17:04 +02:00
Günter Obiltschnig
b7f050db70 added NetSSL_Win library, a port of NetSSL_OpenSSL to Windows Schannel. See doc/README.txt for more info. 2014-09-05 00:17:09 +02:00