Commit Graph

638 Commits

Author SHA1 Message Date
Günter Obiltschnig
16f63eed0a WebSocket: allow setting the maximum payload size for receiving frames 2019-05-16 08:43:46 +02:00
Günter Obiltschnig
63a011e4e7 regenerated vs projects 2019-05-15 16:33:59 +02:00
Günter Obiltschnig
a335f6da89 fixes for macOS/Linux 2019-05-15 15:54:10 +02:00
Günter Obiltschnig
e821a2a9f1 added support for SSPI-based NTLM authentication using the credentials of the currently logged in Windows user (Windows only) 2019-05-15 15:43:37 +02:00
Günter Obiltschnig
2e26da9b34 added HTTPClientSession::flushRequest() 2019-04-05 13:00:55 +02:00
Günter Obiltschnig
42cf54b742 fixed NTLM SMTP authentication; added additional check for malformed server challenge to HTTPNTLMCredentials 2019-04-03 15:29:32 +02:00
Günter Obiltschnig
6ec6b58da3 added comment and link to MS-SMTPNTLM 2019-04-02 16:54:56 +02:00
Günter Obiltschnig
fa84db6d65 added NTLM authentication to SMTPClientSession 2019-04-02 16:47:12 +02:00
Günter Obiltschnig
72a9dd7ac6 Merge branch 'feature/ntlm-auth' of github.com:pocoproject/poco into feature/ntlm-auth 2019-03-19 09:11:10 +01:00
Günter Obiltschnig
a8bcb214c5 minor refactoring; check server challenge for NTLMv2 support 2019-03-19 08:38:32 +01:00
Günter Obiltschnig
ad7cad8d64 minor refactoring; check server challenge for NTLMv2 support 2019-03-19 08:07:41 +01:00
Günter Obiltschnig
9422825790 fixed c++03 compatibility issue 2019-03-18 19:29:41 +01:00
Günter Obiltschnig
dc5c87c135 fixed warnings 2019-03-18 18:15:10 +01:00
Günter Obiltschnig
5da6f3c4ee updated vs project files for testsuite 2019-03-18 18:04:47 +01:00
Günter Obiltschnig
6eebbbbb83 updated vs project files 2019-03-18 17:52:59 +01:00
Günter Obiltschnig
0f3f11a3b2 NTLM (proxy) authentication support for HTTPClientSession 2019-03-18 16:58:57 +01:00
Günter Obiltschnig
e3e8c3474b backport #2616: Restore pre-1.8.0 behaviour of Poco::Net::ServerSocket::bind 2019-02-15 20:08:02 +01:00
Günter Obiltschnig
be662f257a GH #2549: Fix keepAlive in http client session: left-over _pRequestStream could mess up new request 2019-01-16 11:37:32 +01:00
Günter Obiltschnig
69fee5d296 #2549: Fix keepAlive in http client session 2019-01-15 20:57:50 +01:00
Günter Obiltschnig
5d3d62bb54 fixed GH #2570: DialogSocket: receiveStatusMessage() - line length limit applies to entire multi-line message 2018-12-19 21:45:17 +01:00
Günter Obiltschnig
9336bc60fb remove unused iostream include 2018-12-12 18:04:48 +01:00
Günter Obiltschnig
db86fec382 #2565: HTMLForm: optional enforcement of Content-Length instead of Chunked Transfer-Encoding 2018-12-12 18:00:58 +01:00
Günter Obiltschnig
e1aac5ff95 fix typo 2018-11-28 12:14:12 +01:00
Joerg-Christian Boehme
7fd34b5a62 Use sockaddr_storage for proper stack aligment (#2523) 2018-11-27 08:25:05 -06:00
Günter Obiltschnig
ae9a7368cc backport 89da23d - don't wrap TimeoutException in ICMPException 2018-11-01 11:01:25 +01:00
Günter Obiltschnig
fd57b3b34c backport MultipartSource for MailMessage from develop branch 2018-10-29 13:46:59 +01:00
fenghao119
e7e90e2465 fix: timeout does not work when ftp passive connect (#2463) 2018-09-13 09:09:28 +02:00
Simon Gorše
f59077d0f0 Fixed WebSocket error message formatting. 2018-09-04 21:27:21 +02:00
Alex Fabijanic
b42900ee5b fix for pre-c++11 compilers 2018-09-04 20:14:18 +02:00
tomaz-beltram
f140808fab Fixed Windows http timeout #2451. (#2452) 2018-09-04 15:27:25 +02:00
Aleksandar Fabijanic
11dc0e50a6
LINKER error trying to use POCO NET #2168 2018-08-13 11:47:17 -05:00
Francis ANDRE
27147dccdb
Fix new pocoproject.org IPv4 & IPV6 addresses 2018-08-09 17:05:23 +02:00
Francis ANDRE
b2c569ec0b Merge remote-tracking branch 'origin/poco-1.9.1' into poco-1.9.1-remove-wintestrunner 2018-06-20 12:00:19 +02:00
Francis ANDRE
5dbb9cc3de Regenerating VisualStudio projects 2018-06-20 09:47:40 +02:00
Francis ANDRE
b7330492e5 Add <TargetMachine>MachineX64</TargetMachine> on <Lib> element 2018-06-15 14:28:43 +02:00
Aleksandar Fabijanic
48641c6713
minor message fix 2018-06-13 18:26:01 -05:00
Alex Fabijanic
12f2aea34f add tcpserver example 2018-06-13 16:30:58 -05:00
Francis ANDRE
19eecbaafb Remove WinTestRunner 2018-06-10 19:46:19 +02:00
Joerg-Christian Boehme
612f092235 Cleanup cmake build system to use transitive dependency management from cmake (#2321)
* Some cleanup in the root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* Set proper scope

* Change crypto default to off

* Fix openssl default to on

* Remove global setting of C99 standard

* Set from C11 to C99

* Fix for NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _CRT_SECURE_NO_WARNINGS as target compile definitions

* Add _AFXDLL as target compile definitions

* Remove commented out line

* Refactor add_definitions to target_compile_definitons in Util

* Refactor add_definitions to target_compile_definitons in XML

* Remove THREADSAFE in data sql cmake build

* Refactor add_definitions to target_compile_definition in cmake mysql

* Refactor add_definitions to target_compile_definition in cmake odbc

* Refactor add_definitions to target_compile_definition in cmake sqlite

* Refactor add_definitions to target_compile_definitions in platform specific cmake

* Add _DEBUG as compile definition

* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build

* Use cmake property to build shared libs

* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Add POCO_STATIC for CppUnit

* Cleanup target link libraries and add option dependencies.

* Add dependencies management in cmake

* Update cmake documentation

* Squashed commit of the following:

commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7

    Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231)

    - abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
     - a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
     - minor indentation problems corrected

commit 4cbdfbe828943871618172f9e042176f115d61d8

    Fix build dependencies

* Improve database cmake build dependencies

* Update doc

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build system

* Fix PostgreSQL build

* Fix PostgreSQL build in cmake

* Fix PostgreSQL from SQL to Data

* Squashed commit of the following:

commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4

    Add missing cmake file

* Set path to PostgresSQL in AppVoyer

* Try to fix AppVeyor build

* show dir in appvoyer

* Disable PostgreSQL build on Appvoyer

* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Francis ANDRE
6c59f60237 Replace CppUnit by PocoCppUnit 2018-06-03 08:39:12 +02:00
Francis ANDRE
53908fcbb9 Use PocoCppUnit*.lib instead of CppUnit*.lib 2018-06-03 08:09:34 +02:00
Alex Fabijanic
a57e72f25a add missing include 2018-06-02 21:34:23 +02:00
Alex Fabijanic
f5ef090721 regen net testsuite vs projects 2018-06-02 21:12:43 +02:00
Aleksandar Fabijanic
c4e676d36d
Feature net udp (#2347)
* add PMTU discovery #2329

* add socket gather/scatter capabilities #2330 (win, udp)

* enable WSAPoll

* add FastMemoryPool

* add receiveFrom() with native args

* allow copying of StringTokenizer

* add AtomicFlag and SpinlockMutex

* update .gitignore

* UDPServer and client #2343 (windows)

* fix warnings

* fix warnings

* regenerate Net VS solutions

* regenerate CppUnit projects/solutions

* clang fixes

* gcc fixes

* try to fix travis

* more travis fixes

* more travis fixes

* handle UDPClient exception

* fix makefiles and init order warnings

* add UNIX gather/scatter sendto/recvfrom implementations and tests

* run travis tests as sudo

* try to run tests as sudo, 2nd attempt

* fix warning

* use mutex in reactor

* lock-order-inversion in SocketReactor #2346

* add PMTU discovery #2329 (linux)

* ICMPSocket does not check reply address #1921

* remove some ignored tests

* add PMTU discovery #2329 (reconcile logic with #1921)

* fix native receiveFrome()

* reinstate ignoring of proxy errors

* add testMTU to ignore list

* add include atomic

* NTPClient not checking reply address #2348

* some ICMP/MTU fixes

* UDPSocketReader cleanup

* resolve some socket inheritance warnings

* add NTP time sync to ignored tests

* SocketNotifier not thread-safe #2345

* prevent x64 samples build attempt for win32

* build TestApp and Library

* fix ICMP tests

* regen VS projects

* regen VS projects and add missing 2012 files

* remove debug prints
2018-06-02 14:02:33 -05:00
Francis ANDRE
4c22b871ae Use CppUnit as a Poco module: regenerate all VS projects 2018-05-28 23:29:12 +02:00
Francis ANDRE
db5d570f33 Add Poco as prefix of CppUnit import libs 2018-05-28 19:58:05 +02:00
Francis ANDRE
be79688077 Use PocoCppUnit instead of CppUnit 2018-05-25 14:05:00 +02:00
Alex Fabijanic
2d165fd0f3 compare char* directly, part 2 2018-05-08 14:39:01 -05:00
Alex Fabijanic
70d9352b04 compare char* directly 2018-05-08 14:28:11 -05:00
roccocorsi
5adeb282cd WebSocketTest.cpp faults reported by valgrind #2323 (#2324) 2018-05-08 14:25:23 -05:00