Commit Graph

5313 Commits

Author SHA1 Message Date
Alex Fabijanic
31a49c0af2 fix(PollSet): Integrate windows epoll #2091, #3649 2022-07-06 11:36:16 +02:00
Alex Fabijanic
81696487a0 fix(PollSet): #1459 #3628 #3655 #3661 2022-07-05 20:49:46 +02:00
Aleksandar Fabijanic
840044f69b
Fix/poll set race (#3630)
* fix(PollSet): PollSet data race #3628

* fix(SocketConnector): SocketConnector test #2875

* fix(PollSet): optimize the amount of locked code; fix and simplify wakeUp logic

* fix(SocketConnectorTest): fix test memleak (data not flowing, handlers not deleted) #2875

* fix(PollSet): clear() and tests
2022-07-05 03:43:19 -05:00
Alex Fabijanic
93e58b4468 fix(Socket): Socket::select EPOLL implementation returns socket in exceptList when empty list is given #3655; mark select as deprecated #1459 2022-07-04 22:38:51 +02:00
Alex Fabijanic
672d64bfc5 feat(Socket): add lastErrorDesc() 2022-07-04 22:22:05 +02:00
JackyWoo
b1823b61c0
formatHex with lower case (#3657) 2022-07-04 14:25:02 -05:00
Günter Obiltschnig
3e4a286c9d #3658: Support for chunked transfer encoding trailer 2022-07-04 17:49:52 +02:00
Günter Obiltschnig
13b5605260 #3633: Redis: Support Authentication 2022-07-03 16:09:49 +02:00
Günter Obiltschnig
9bde3bc634 merge changes from 1.11.3 2022-07-03 16:09:29 +02:00
Günter Obiltschnig
06718f49c1 add note regarding receiveFrame with Poco::Buffer 2022-07-03 16:02:45 +02:00
Günter Obiltschnig
2daf323afc #2821: Poco::Buffer: full on creation? - add documentation describing the behavior. 2022-07-03 15:55:36 +02:00
Günter Obiltschnig
b6dcb5bbd3
Merge pull request #2959 from dahek/get_raw_fragment
Fix percent-encoded fragment modification in Poco::URI
2022-07-03 15:12:23 +02:00
Alex Fabijanic
36d8507a48 fix(CMake): Linking with Foundation on Android gives error #3652 #3653 2022-06-30 05:49:08 +02:00
Alex Fabijanic
076cddb465 Merge branch 'devel' of https://github.com/pocoproject/poco into devel 2022-06-29 19:57:03 +02:00
Alex Fabijanic
b3337ac137 chore(Net/samples): tcpserver missing from Net/samples/CMakeLists.txt #3651 2022-06-29 19:56:48 +02:00
Alex Fabijanic
7a2f2e0ac7 Merge branch 'devel' of https://github.com/pocoproject/poco into devel 2022-06-29 12:43:41 +02:00
Alex Fabijanic
451360e59f test(MailMesage): MailMessage::read() chokes on Content-disposition #3650 2022-06-29 12:43:24 +02:00
JackyWoo
3f124bd250
better socket reactor wake up (#3647)
* better socket reactor wake up

* Remove documentation comment from source file

Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-06-29 05:15:09 -05:00
Alex Fabijanic
5d7a1016c2 feat(SecureSocketImpl): how to set the socket of SecureSocketImpl to no-blocking? #2352 2022-06-29 11:41:39 +02:00
JackyWoo
0d539a71f5
Make poll set interruptable (#3644)
* Make poll set interruptable

* open test for poll set

* fix poll set wake up test

* fix build error
2022-06-28 14:23:10 -05:00
Ben Foster
cc14bcf5f9
add separate accessors and mutators for connect, send and receive tim… (#3476)
* add separate accessors and mutators for connect, send and receive timeouts

* implement timeout methods outside of class declaration to conform to existing code structure

* Update HTTPSession.h

Co-authored-by: bfoster <bfoster@malwarebytes.com>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-06-28 12:15:42 -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
Alex Fabijanic
c37780726d fix(VarHolder): limits check 2022-06-27 13:33:10 +02:00
Aleksandar Fabijanic
309aff3579
Revert "avoid clang tidy warning (#3646)" (#3648)
This reverts commit b23488d6fe.
2022-06-27 05:44:52 -05:00
JackyWoo
b23488d6fe
avoid clang tidy warning (#3646) 2022-06-27 01:57:20 -05:00
Alex Fabijanic
a785705a5c chore(NumberParserTest): add test for #2441 2022-06-26 20:14:05 +02:00
Alex Fabijanic
3f9b4067d9 Merge branch 'devel' of https://github.com/pocoproject/poco into devel 2022-06-25 20:28:37 +02:00
Alex Fabijanic
5ef96287ee fix(Redis): Poco::Redis after executing auth command next command always return OK #2457 2022-06-25 20:25:03 +02:00
JackyWoo
cbe738d5e8
Make ParallelSocketReactor thread namable (#3642)
make ParallelSocketReactor thread namable
2022-06-24 05:37:56 -05:00
Alex Fabijanic
ae00f1c8eb fix(NumberFormatter): Negative precision in NumberFormatter::format() #2511 2022-06-24 09:59:30 +02:00
Alex Fabijanic
79f7b43dc4 feat(TypeHandler): DB into() does not compile for more than 20 members in a tuple #3342 2022-06-24 05:59:15 +02:00
Alex Fabijanic
0903810e58 feat(Cipher): No access to padding in Cipher #3374 2022-06-24 00:04:28 +02:00
Alex Fabijanic
c8e66028ee feat(FTPClientSession): activeDataConnection 1.11.0 cannot set specific data port #3372 2022-06-23 23:35:09 +02:00
Alex Fabijanic
391cb63c54 fix(MySQL::Extractor): MySQL Extractor #2521 2022-06-23 11:35:10 +02:00
Alex Fabijanic
b93713087d fix(strToInt): thousand separator regression #3580 2022-06-23 00:09:55 +02:00
Alex Fabijanic
284a141432 fix(strToInt): overflows #3580 2022-06-22 23:13:39 +02:00
Alex Fabijanic
6a97657df8 feat(Timespan): Add std::chrono support #2576 #2623 2022-06-22 14:25:07 +02:00
Alex Fabijanic
cafd56a947 fix(JSON::Stringifier): JSON Serializing NAN #3251 2022-06-22 13:44:00 +02:00
Alex Fabijanic
5cbe30e199 fix(NumberParser): Rounds very large negative numbers to the incorrect values #3580 2022-06-22 12:12:30 +02:00
Alex Fabijanic
47f2c3573c fix(MailMessage): read hangs on missing final multipart boundary #2401 2022-06-22 04:33:31 +02:00
Alex Fabijanic
1e3bc35717 Merge branch 'devel' of https://github.com/pocoproject/poco into devel 2022-06-21 19:07:58 +02:00
Alex Fabijanic
4b4be21816 fix(SQLite): SQLite::Connector::open() crashes on db file with non existing directory #2285 2022-06-21 19:07:19 +02:00
Alex Fabijanic
3ca26804e2 chore(README): Add vcpkg installation instructions #2940 2022-06-21 18:07:58 +02:00
Romain Geissler @ Amadeus
3e563492ef
Fix some clang 10 -Wsign-compare warnings (#2960)
In file included from /data/mwrep/res/osp/Poco/JSON/20-0-0-0/include/Poco/JSON/Object.h:22:
In file included from /data/mwrep/res/osp/Poco/JSON/20-0-0-0/include/Poco/JSON/Array.h:23:
In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/Dynamic/Var.h:26:
In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/Dynamic/VarHolder.h:22:
In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumberFormatter.h:22:
/data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:220:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare]
                                if ((limitCheck - result) < add) return false;
                                     ~~~~~~~~~~~~~~~~~~~  ^ ~~~
/data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:229:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare]
                                if ((limitCheck - result) < add) return false;
                                     ~~~~~~~~~~~~~~~~~~~  ^ ~~~
/data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:240:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare]
                                if ((limitCheck - result) < add) return false;
                                     ~~~~~~~~~~~~~~~~~~~  ^ ~~~
/data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:249:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare]
                                if ((limitCheck - result) < add) return false;
                                     ~~~~~~~~~~~~~~~~~~~  ^ ~~~
4 errors generated.
2022-06-21 11:01:05 -05:00
Alex Fabijanic
15e242b4bc fix(Platform): MinGW also defines __GNUC__. #3195 2022-06-21 17:57:09 +02:00
Alex Fabijanic
c77f558d0e chore(JSON): add test for #2612 2022-06-21 10:55:20 +02:00
Alex Fabijanic
aa71874f2c fix(NTPClient): NTPClient ignores second fractions #2614 2022-06-21 07:32:14 +02:00
Alex Fabijanic
6dc79c05f9 fix(URI): Decoding URI query parameters ( ::getQueryParameters) incompatible with Spring 5 #2619 2022-06-21 06:04:46 +02:00
JackyWoo
4938185ff0
FifoBuffer.advance method not throw exception when length==0 (#3641)
* fifobuffer not throw error when length = 0

* Update FIFOBuffer.h

fix indentation

Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-06-20 15:09:40 -05:00
Alex Fabijanic
37cb890e58 fix(ConfigurationView): ConfigurationView and JSON is broken for array access #3635 2022-06-20 20:59:10 +02:00