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
Alex Fabijanic
aa71874f2c
fix(NTPClient): NTPClient ignores second fractions #2614
2022-06-21 07:32:14 +02:00
Azat Khuzhin
8939866ecb
TCPServerDispatcher.h: missing <atomic> ( #2961 )
...
Fixes: b8af168151fe0147fb06557029002ae226dcc549
Fixes : #1965
2022-06-02 00:24:52 -05:00
Alex Fabijanic
bc8e192c2b
chore(Net): regenerate VS 140,150,160 projects #3614
2022-05-30 08:33:44 -05:00
Hernan Martinez
38593bee1c
Added missing SocketProactor class to ProGen source ( #3616 )
...
* Added missing SocketProactor class to ProGen source
* ProGen'd VS2022 Net project
2022-05-30 08:03:44 -05:00
Alex Fabijanic
1a662a113c
fix(HTTPResponse): Add 425 / HTTP_TOO_EARLY to HTTPResponse::HTTPStatus #3592
2022-05-29 23:09:06 -05:00
Maksim Kita
fe59436763
HTTPDigestCredentials added support for RFC7616 algorithms ( #3026 )
2022-05-29 21:52:39 -05:00
Tavi Cacina
ea03d882f2
Net: make MessageHeader limits configurable ( #3404 )
2022-05-29 21:29:16 -05:00
BeBinder
2aaa7f851d
Syslog: Include Facility to Syslog Message ( #3452 )
...
* Fixed indentation
* Added Facility to Message in RemoteSyslogListener
2022-05-29 21:28:08 -05:00
Alex Fabijanic
9f7ccaf9f7
fix(TCPServer): #1884 #1965
2022-05-28 19:49:22 -05:00
Hernan Martinez
fcaab80a65
ProGen vs170 projects with Win32,x64,ARM64 ( #3612 )
2022-05-27 21:58:46 -05:00
Alex Fabijanic
71a3a79ec9
fix(UDPHandler): data race #3613 ; clean up all Net tsan warnings
2022-05-27 21:57:34 -05:00
Alex Fabijanic
216d5ae3a4
default disable new state on move
2022-05-27 13:32:24 -05:00