6116 Commits

Author SHA1 Message Date
Günter Obiltschnig
ff26c8e164 fix(cmake): Windows Eventviewer not able to find PocoFoundation DLL #3304 2025-02-10 22:04:57 +01:00
Matej Kenda
f155ba3957 fix(cmake): Add back missing compiler definitions for static_build in the generated CMake files 2025-02-10 08:32:54 +01:00
Günter Obiltschnig
b9af97ceb3 enh(Net): SocketImpl::sendFile() sends entire contents by repeatedly calling sendfile() if necessary 2025-02-10 08:32:47 +01:00
Günter Obiltschnig
356124a3f6 enh(Net): SocketImpl::sendFile() - remove signal handling (not thread safe and already done elsewhere); fix wrong signed/unsigned types; cleanup 2025-02-10 08:32:41 +01:00
Günter Obiltschnig
72345bd423 Merge pull request #4863 from pocoproject/fix-sendFile
Fix StreamSocket::sendFile()
2025-02-10 08:32:35 +01:00
Günter Obiltschnig
0ec643a0a8 fix(Foundation): Poco::icompare(str, pos, ptr) out of bounds error if pos > str.size() #4866 2025-02-10 08:32:26 +01:00
Günter Obiltschnig
1c5ab2adf3 Merge pull request #4865 from pocoproject/fix-openssl-cmake-applink
Fix openssl cmake applink
2025-02-10 08:32:19 +01:00
Matej Kenda
0434c41ad5 fix(cmake): Add back missing compiler definitions for static_build in the generated CMake files 2025-02-10 08:28:11 +01:00
Günter Obiltschnig
f32e3d0b90 enh(Net): SocketImpl::sendFile() sends entire contents by repeatedly calling sendfile() if necessary 2025-02-09 16:03:51 +01:00
Günter Obiltschnig
a70fe2b045 enh(Net): SocketImpl::sendFile() - remove signal handling (not thread safe and already done elsewhere); fix wrong signed/unsigned types; cleanup 2025-02-09 14:00:16 +01:00
Günter Obiltschnig
8d1aab0d27
Merge pull request #4863 from pocoproject/fix-sendFile
Fix StreamSocket::sendFile()
2025-02-08 19:05:46 +01:00
Günter Obiltschnig
47a77751fb fix(tests): another attempt at fixing the flaky testSendFile*() 2025-02-08 18:04:36 +01:00
Günter Obiltschnig
db88e0ec00 fix(test): fix flaky test 2025-02-08 15:20:14 +01:00
Günter Obiltschnig
4b55efdcf3 fix(Foundation): Poco::icompare(str, pos, ptr) out of bounds error if pos > str.size() #4866 2025-02-08 14:54:18 +01:00
Günter Obiltschnig
7bac48ff1a
Merge pull request #4865 from pocoproject/fix-openssl-cmake-applink
Fix openssl cmake applink
2025-02-08 13:50:22 +01:00
Günter Obiltschnig
24ff931071 fix(Net): Issue concerning Net/CMakeLists.txt detection of HAVE_SENDFILE #4852 2025-02-08 13:48:14 +01:00
Günter Obiltschnig
a1abf9659d enh(Net): additional tests for StreamSocket::sendFile() 2025-02-08 13:02:43 +01:00
Günter Obiltschnig
66c1d30bb4 enh(Net): StreamSocket::sendFile() takes additional count parameter 2025-02-08 12:57:24 +01:00
Günter Obiltschnig
1319f31e6e fix(cmake): project name typo 2025-02-08 10:45:42 +01:00
Günter Obiltschnig
605baa13d2 fix: OpenSSL: Need to add openssl/applink.c to Windows executables using OpenSSL #4864 2025-02-08 10:29:31 +01:00
Günter Obiltschnig
3d8040bb17 fix(tests): remove unused variables 2025-02-07 20:43:28 +01:00
Günter Obiltschnig
6fb0debd71 chore: add test for sendFile() 2025-02-07 18:42:17 +01:00
Günter Obiltschnig
13029fb524 fix(Net): fix SocketImpl::sendFile() #4831 2025-02-07 18:06:14 +01:00
Matej Kenda
eeb31fa1d0 fix(Foundation): detection of CXXABI is based on presence of the header file, simplify conditions. 2025-02-07 12:18:01 +01:00
Matej Kenda
ca969f9ec3 fix(Foundation): detection of CXXABI is based on presence of the header file, simplify conditions. 2025-02-07 12:17:14 +01:00
Matej Kenda
b28b3c719c fix(NumberParser): tryParseHex shall not throw, but return boolean 2025-02-04 12:32:03 +01:00
Matej Kenda
f45f6d8ed9 fix(github): Use "upload-artifact@v4":
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
2025-02-04 12:31:52 +01:00
Matej Kenda
269b3b4087 fix(github): Use "upload-artifact@v4":
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
2025-02-04 11:01:10 +01:00
Matej Kenda
5b7fbda0cb fix(NumberParser): tryParseHex shall not throw, but return boolean 2025-02-04 11:01:10 +01:00
Günter Obiltschnig
6b324b83d4 enh(Util): add Timer::taskCount() 2025-02-03 09:34:13 +01:00
Günter Obiltschnig
5cab3be5c4 enh(Net): add HTTPBufferPoolAllocator::pool() to get read-only access to the underlying MemoryPool 2025-02-03 09:33:52 +01:00
Günter Obiltschnig
7e55b46dbf fix(Net): WebSocket: non-blocking receiveFrame()/receiveBytes() with TLS connection may get stuck receiving header #4850 2025-01-16 11:21:50 +01:00
Günter Obiltschnig
705403d4f6 fix(Net): WebSocket: non-blocking receiveFrame()/receiveBytes() with TLS connection may get stuck receiving header #4850 2025-01-15 21:36:36 +01:00
Matej Kenda
674e2bae97 fix(templates): Corrected explicit template instantiations to avoid multiple instances. 2025-01-14 15:13:49 +01:00
Günter Obiltschnig
38a1e30965 Merge pull request #4845 from tyler92/fix-uninitialized-ntlm
fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage
2025-01-14 15:13:41 +01:00
Günter Obiltschnig
b9abe9823d Merge pull request #4838 from d3matt/odd_nonblocking_receive_incorrect_mask
fix(Net) bad mask with odd number of bytes
2025-01-14 15:13:34 +01:00
Matej Kenda
daf19e5223 fix(templates): Corrected explicit template instantiations to avoid multiple instances. 2025-01-14 15:09:30 +01:00
Günter Obiltschnig
7297033be7
Merge pull request #4845 from tyler92/fix-uninitialized-ntlm
fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage
2025-01-11 08:47:28 +01:00
Mikhail Khachayants
16e17b2c33 fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage 2025-01-10 22:55:03 +02:00
Günter Obiltschnig
5652837b8f
Merge pull request #4838 from d3matt/odd_nonblocking_receive_incorrect_mask
fix(Net) bad mask with odd number of bytes
2025-01-08 19:14:41 +01:00
Matej Kenda
af36c9badf fix(Any): Modifications to fix OSS Fuzz report (#4818)
Changes triggered by the OSS Fuzz report: https://issues.oss-fuzz.com/issues/42538385?pli=1

* fix(Any): set pHolder to nullptr in destruct()

* enh(Any): modernised source code.

* enh(Any): introduce allocation type (empty, local, external).

* chore(Any): Apply suggestions from code review.
2025-01-08 17:01:54 +01:00
Matej Kenda
bd7be38d6f
fix(Any): Modifications to fix OSS Fuzz report (#4818)
Changes triggered by the OSS Fuzz report: https://issues.oss-fuzz.com/issues/42538385?pli=1

* fix(Any): set pHolder to nullptr in destruct()

* enh(Any): modernised source code.

* enh(Any): introduce allocation type (empty, local, external).

* chore(Any): Apply suggestions from code review.
2025-01-08 17:01:27 +01:00
Lara Dzivdzanovic
82751df9e5 enh(SocketReactor): Add start() method #4833 (#4835) 2025-01-08 15:52:16 +01:00
Lara Dzivdzanovic
336e0e802f
enh(SocketReactor): Add start() method #4833 (#4835) 2025-01-08 15:48:58 +01:00
Matej Kenda
7495f0592c enh(Poco::Dynamic): Modernised code to use C++17 features. 2025-01-08 15:14:39 +01:00
Matthew Stoltenberg
0cc3ab4d13 fix(Net) bad mask with odd number of bytes
Receiving an odd number of bytes in non-blocking mode results in using the wrong bytes to unmask the payload. Keep track of the number of payload bytes that have been unmasked.
2025-01-06 16:57:25 -07:00
Lara Dzivdzanovic
d12d123cd4 fix(Makefile): add missing parameter for enabling FTS5 #4832 (#4834) 2025-01-06 13:09:03 +01:00
Lara Dzivdzanovic
4ca735d7d8
fix(Makefile): add missing parameter for enabling FTS5 #4832 (#4834) 2025-01-06 13:07:20 +01:00
peter15914
140ae88b3b fix(SQLParser): typo that leads to the use of freed memory 2025-01-05 12:54:24 +01:00
peter15914
79888c0e06 fix(SQLParser): typo that leads to the use of freed memory 2025-01-05 12:53:53 +01:00