Günter Obiltschnig
1b95d53804
#4147 : missing \r\n when setting trailer header in chunked response
2023-10-02 09:55:40 +02:00
Zhu Asan
1c6e5aa614
Typo fix in UDPHandler.h ( #4111 )
2023-08-17 20:27:32 +02:00
haorui wang
1065c6f9ca
chore(Net) : correct spelling, remove some unused codes fix(SocketProactor) : missing adding sock to read pollset fix(DialogServer) : _lastCommands data race ( #3821 )
...
* chore(CppUnit) : style format and revise comment
fix(CppUint) : RepeatedTest compile error
* chore(CppUnit) : remove TestResult forward declare in RepeatedTest.h
* chore(Net) : correct spelling, remove some unused codes
fix(SocketProactor) : missing adding sock to read pollset
fix(DialogServer) : _lastCommands data race
2023-07-11 08:00:17 -05:00
Daniel G
180f9eb9a8
Update ICMPv4PacketImpl.h ( #4059 )
...
Fix mingw64 build
#2967
2023-07-11 07:24:31 -05:00
Günter Obiltschnig
a467fb382d
#4031 : Classes with virtual functions missing virtual destructors (compilation issues)
2023-07-10 22:08:59 +02:00
Günter Obiltschnig
00e157da43
#4014 : wrong string offset in HTTPCredentials::isNTLMCredentials
2023-07-10 21:37:45 +02:00
Alexander Kernozhitsky
c6fd0db4b6
Fix thread counter leak ( #3992 )
...
Cherry-picked from https://github.com/ClickHouse/poco/pull/28 , see the
mentioned PR for more details.
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2023-06-09 22:05:19 -05:00
Alexander B
69a6ddbd90
fix #3968 Poco::Net::SocketConnector constructor should take SocketAddress by const reference
2023-05-11 14:39:32 +03:00
xiao
39a207ce62
Avoid epoll_wait causing the lock to not be released ( #3983 )
...
* Avoid epoll_wait causing the lock to not be released.
* code style
2023-03-27 15:48:54 -05:00
Aleksandar Fabijanic
bcae06f423
3808 icmp statistics ( #3982 )
...
* fix(ICMPClinet): ICMPEventArgs Statistics bugs #3808
* fix(SpinlockMutex): 100 % CPU usage on single-core system #3852
2023-03-22 09:11:13 -05:00
cesar
cee8c96146
Added system_error header to SockerProactor for std::error_code references ( #3883 )
2023-03-18 11:25:07 +01:00
Denis CLAVIER
d4e2e00482
Fix multicast leave group ( #3929 )
...
* Fix multicast leave group
* Add test to join and leave a multicast group
Co-authored-by: Denis CLAVIER <denis.clavier@c-s.fr>
2023-01-24 05:46:10 -06:00
Yevgen Pogribnyi
85c68e7a81
Fix epollfd validity checks when compiling with wepoll ( #3855 )
2023-01-24 01:02:47 -06:00
R. Savchenko
079b50e0c1
Guard NOMINMAX ifdef ( #3906 )
2023-01-24 00:42:43 -06:00
Günter Obiltschnig
99936745e4
#3147 : Reading from request stream hangs when "Transfer-Encoding: chunked" is used
2022-11-10 19:12:58 +01:00
Günter Obiltschnig
894180f943
#3852 : SocketReactor - 100 % CPU usage on single-core system
2022-10-31 14:01:13 +01:00
Alex Fabijanic
dae96c1110
(chore): remove inadvertently added file
2022-10-23 12:34:05 +02:00
Alex Fabijanic
1319d3f7ef
fix(SocketImpl): available() #3834
2022-10-23 12:30:59 +02:00
Hernan Martinez
2effb38396
Progen Net and Net's TestSuite to add ARM64 configurations ( #3828 )
2022-10-23 05:23:34 -05:00
Stephen Balousek
1181fb2485
HTTPServer Applications Slow to Terminate #3796 ( #3797 )
...
- Queue a StopNotification for each thread in the TCPServerDispatcher thread pool. Otherwise, only one thread in the thread pool is terminated.
Signed-off-by: Stephen Balousek <sbalousek@wickedloop.com>
2022-09-11 12:30:02 -05:00
Alex Fabijanic
59eac3f38f
feat: add SocketBufVecSize function
2022-08-10 14:11:25 +02:00
Alex Fabijanic
b134696343
fix(MSVC): PocoNet Project File does not support Visual Studio 2022 #3719
2022-07-28 17:57:06 -04:00
Alex Fabijanic
459f1ea19c
chore(Net): fix some warnings and tests
2022-07-27 16:21:55 -04:00
Alex Fabijanic
3a39fa5319
fix(PollSet): Compiling with clang_cl_x64_x64 on Visual Studio 2022 failed #3716
2022-07-27 16:15:42 -04:00
Aleksandar Fabijanic
86a4f0045e
Fix/posix sleep ( #3705 )
...
* fix(Thread_POSIX): sleep() poor performance #3703
* chore(vscode): add file associations
* fix(TaskManager): waits for all threads in the ThreadPool #3704
* fix(Thread): call std::this_thread::sleep_for() to sleep #3703
* fix(PollSet): wakeup fd is never read #3708
* feat(Thread): Add Thread::set/getAffinity() #3709
* doc(Thread): Thread::trySleep() assertion #3710
* fix(PollSet): wakeup fd is never read (windows portion and some other optimizations) #3708
* feat(SocketReactor): improvements #3713
* chore(ThreadTest): add missing include
* fix(PollSet): wakeup fd is never read #3708
* fix(Any): #3682 #3683 #3692 #3712
* fix(mingw): lowercase winsock2 and iphlpapi to allow cross compile #3711
* feat(Thread): Add Thread::set/getAffinity() #3709
* chore(SocketReactor): one-liners inlined, removed redundant try/catch in dospatch, remove unused onBusy()
* feat(SocketReactor): add socket to ErrorNotification
* fix(SocketReactor): pollTimeout assignment and ConnectorTest leak
2022-07-26 06:54:56 -05:00
Alex Fabijanic
7989d961d6
feat(SocketReactor): post ErrorNotification on exception #3702
2022-07-20 13:47:03 +02:00
Alex Fabijanic
652f79319c
fix(SocketReactor): Remove not useful handlers calls #3701
2022-07-20 12:31:26 +02:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05:00
Alex Fabijanic
dd0aaa984d
fix(PollSet): PollSet::add()/update() semantics #3661
2022-07-06 14:00:02 +02:00
Alex Fabijanic
adec31e6a8
fix(PollSet): CMakelists.txt
2022-07-06 12:04:05 +02:00
Alex Fabijanic
dd16ab04e7
fix(PollSet): eventfd call arg; add wepoll to CMakelists.txt
2022-07-06 11:58:29 +02:00
Alex Fabijanic
a1b21d2a0d
chore(ProGen): MSVC does not properly recognize std version #3665
2022-07-06 11:39:47 +02:00
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
Günter Obiltschnig
3e4a286c9d
#3658 : Support for chunked transfer encoding trailer
2022-07-04 17:49:52 +02:00
Günter Obiltschnig
06718f49c1
add note regarding receiveFrame with Poco::Buffer
2022-07-03 16:02:45 +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
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
JackyWoo
cbe738d5e8
Make ParallelSocketReactor thread namable ( #3642 )
...
make ParallelSocketReactor thread namable
2022-06-24 05:37:56 -05: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
47f2c3573c
fix(MailMessage): read hangs on missing final multipart boundary #2401
2022-06-22 04:33:31 +02:00