Commit Graph

855 Commits

Author SHA1 Message Date
Francis ANDRE
e59f37318e Add /MP option and remove /Gm as it is ignored and will be removed 2019-12-07 19:11:24 +01:00
Günter Obiltschnig
a7cbff393e
Merge pull request #2815 from brice-gros/brice.gros/1.10.0+allow-for-cmake-fetchcontent
Make Poco git repository fetchable using CMake's FetchContent
2019-11-25 21:24:16 +01:00
Günter Obiltschnig
665a840692 added Poco::Net::escapeHTML() and Poco::Net::EscapeHTMLStream; PageCompiler now supports optional HTML-escaping of <%= %> expressions. 2019-11-20 14:22:41 +01:00
Günter Obiltschnig
03f22ded65 fix a typo 2019-11-04 21:08:03 +01:00
Brice Gros
990f7825b5 Fix path to DLLVersion.rc and enable to skip Foundation; Fix Foundation samples referencing useless libs 2019-10-18 15:35:02 +02:00
Chris Berry-Porter
8e0a852716 Set timeouts for FTP passive connections
Set send/receive timeouts for FTP passive connections
2019-09-02 10:48:10 +10:00
Günter Obiltschnig
9a8ab0858f include version resource in DLLs built with CMake 2019-06-24 15:39:06 +02:00
Günter Obiltschnig
b782d17ced fixed timeout for WSAPoll 2019-06-22 21:29:24 +02:00
Günter Obiltschnig
78c2ef8b85 style fixes 2019-06-22 19:05:49 +02:00
Günter Obiltschnig
625dd6b51e backport #2336 2019-06-11 16:07:53 +02:00
Günter Obiltschnig
5e678b925b only auto-authorize if non-empty HTTPCredentials are provided 2019-06-04 18:37:48 +02:00
Günter Obiltschnig
96a7263219 added HTTP*Credentials::empty() and HTTP*Credentials::clear() 2019-06-04 18:33:50 +02:00
Günter Obiltschnig
a7d5d97487 added missing #include <windows.h> 2019-05-16 14:54:19 +02:00
Günter Obiltschnig
dc4d36dad5 fixed warning 2019-05-16 14:40:13 +02:00
Günter Obiltschnig
ec8ea48062 SecureSMTPClientSession now uses _host from SMTPClientSession 2019-05-16 14:35:19 +02:00
Günter Obiltschnig
2086a497f5 fix for Windows (add #define NOMINMAX) 2019-05-16 14:16:09 +02:00
Günter Obiltschnig
2510a8a055 WebSocket documentation update 2019-05-16 10:01:18 +02:00
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
Alex Fabijanic
8f5455717e fix cherry pick leftover 2018-05-04 13:48:47 -05:00
Alex Fabijanic
82c88a238c PollSet behaves differently on windows #2313 2018-05-04 13:39:36 -05:00
Alex Fabijanic
2c445f3fb1 clang/gcc fixes 2018-05-04 13:39:14 -05:00
Alex Fabijanic
df46368413 add PollSet::has/empty(); ParallelAcceptor: always use same reactor for a socket, if registered 2018-05-04 13:38:43 -05:00
Alex Fabijanic
f6e6bec32d minor test fix 2018-05-04 13:34:12 -05:00
Alex Fabijanic
cca65d34a0 fix windows 2018-05-04 13:33:53 -05:00
Alex Fabijanic
47833b6a59 more test fixes 2018-05-04 13:33:34 -05:00
Alex Fabijanic
f0fed91a0e fix reactor tests; add a test 2018-05-04 13:33:05 -05:00
Alex Fabijanic
ea38cdb740 Use PollSet in SocketReactor #2092 (linux) 2018-05-04 13:32:22 -05:00
Alex Fabijanic
6912384422 Use PollSet in SocketReactor #2092 (windows tested) 2018-05-04 13:31:52 -05:00
Alex Fabijanic
479bde1e46 SocketAcceptor::setReactor() is broken #2308 2018-05-04 13:23:04 -05:00
zosrothko
960ecb38f0 Poco 1.9.1 assert true (#2255)
* Rename assert by assertTrue

* Update submodules

* Missing assertTrue

* Rename poco_assertTrue to poco_assert

* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06:00
Conor Burgess
92f963b858 Poco 1.9.1 version of #2088 (#2219) 2018-03-13 08:10:21 -06:00
Günter Obiltschnig
41cc2a632e added structure-data doc 2018-03-07 07:01:01 +01:00
Günter Obiltschnig
69588abd71 RemoteSyslogChannel should allow the RFC 5424 STRUCTURED-DATA field to be set #2173 2018-03-07 06:51:39 +01:00
Lau bakman
79532cb172 Use MAX_ADDRESS_LENGTH to determine buffer size
Modify operator>> to use IPAddress::MAX_ADDRESS_LENGTH to determine size
of buf array. This will allow the operator>> to be compiled on platforms
that does not support IPv6.
2018-03-06 11:17:10 +01:00
Günter Obiltschnig
285ac5af5b fix parenthesis placement 2018-03-05 22:14:14 +01:00
Günter Obiltschnig
4b50fee50b revert fix for #2088 as it breaks testsuite 2018-03-05 22:13:30 +01:00
Günter Obiltschnig
d0f2253c51 HTTP Authentication Schemes #2089 2018-03-05 15:32:08 +01:00
Conor Burgess
603a6e23da Fix race condition in TCPServerDispatcher.cpp 2018-03-05 15:23:53 +01:00
Günter Obiltschnig
7eb1325bba style fixes 2018-03-05 15:05:04 +01:00
Jörg-Christian Böhme
181fc0eea3 Fix unit tests for android build 2018-03-04 21:26:08 +01:00
Joerg-Christian Boehme
73897b4357 Add POCO_OS_ANDROID as platfrom definitons (#2186)
* Add POCO_OS_ANDROID as platform definition

* Ignore test big ping when its failing
2018-02-26 19:18:45 -06:00
Joerg-Christian Boehme
9feabc7723 Add android build on travis (#1981)
* Add build for android in travis CI.

* Fix review findings. Change from __ANDORID__ to POCO_ANDROID

* Add android test

* Fix compile issue after rebase

* Ignore test big ping when its failing
2018-02-26 18:54:40 -06:00
Alex Fabijanic
59415a3dbb remove extraneous catch 2018-02-24 08:50:33 -06:00
Günter Obiltschnig
1fdc18d35f don't wrap TimeoutException in ICMPException 2018-02-24 08:39:33 -06:00
Alex Fabijanic
2ff645d598 Run ping with custom data size #1912 2018-02-24 08:39:13 -06:00
Günter Obiltschnig
e5f71bb085 re-add special handling for TimeoutException 2018-02-21 19:12:12 +01:00
Günter Obiltschnig
864d287d94 remove long deprecated flushCache() method 2018-02-17 18:27:02 +01:00
Günter Obiltschnig
c17c569d13 IDN testsuite and fixes 2018-02-17 18:09:19 +01:00
Günter Obiltschnig
c74af100b5 added IDN support to Poco::Net::DNS 2018-02-17 15:48:27 +01:00
Aleksandar Fabijanic
59a6027c0a
Mingw cross-compilation error #2103 2018-01-26 20:11:24 -06:00
Günter Obiltschnig
040d211216 fixed GH #2080: Fix bugs in Poco::Net::Socket::select() for poll() implementation 2018-01-09 10:19:00 +01:00
Günter Obiltschnig
ef19714077 removed useless code 2017-12-22 09:48:33 +01:00
Alex Fabijanic
db414bf6e9 fix NetworkInterface test 2017-12-20 21:05:05 +01:00
Aleksandar Fabijanic
bc5c40fb47
poco-1.8.0.1 project compile error #2055 2017-12-19 10:40:54 +01:00
Alex Fabijanic
2b125e1c4e Poco::Net::NetworkInterface::list does not list inactive interfaces even when explicitly being asked for it #2044 2017-12-19 08:48:48 +01:00
Günter Obiltschnig
98feaa7bb9 fixed GH #2042: Android abstract namespace local socket address 2017-12-18 10:14:09 +01:00
Günter Obiltschnig
2cac517034 style fix 2017-12-11 17:55:09 +01:00
Günter Obiltschnig
a07c33aaae fixed GH #2038: Poco::Net::MultipartWriter::createBoundary() always returns the same string. 2017-12-06 11:10:06 +01:00
Scott Talbert
1724e8ba53 Backport patches (#2006)
* Guard SQLITE_BUSY_SNAPSHOT which is not available in older SQLite releases

When building POCO unbundled with older versions of SQLite (such as on RHEL7)
SQLITE_BUSY_SNAPSHOT is not defined, so #ifdef guard it.

* Some of the samples need to link with PocoJSON

* Build parallelization issues #1730

* Fix building XMLStreamParser with unbundled expat
2017-11-20 09:31:20 -06:00
Guenter Obiltschnig
6fef7a3ae0 fixed a warning 2017-11-10 08:42:31 +01:00
Guenter Obiltschnig
7d4d01e343 GH #1988: Remove OpenVMS support 2017-11-09 12:42:13 +01:00
zosrothko
bdd371e996 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-11-07 15:05:44 +01:00
Günter Obiltschnig
37927faf66
Merge pull request #1971 from Bjoe/remove-soo-in-net
Remove SOO in 1.8
2017-11-07 14:46:17 +01:00
Guenter Obiltschnig
7f17dfcc83 additonal fix for GH #1212: WebSocketImpl::available() now reports number of bytes in internal buffer. 2017-11-07 13:50:30 +01:00
Joerg-Christian Boehme
1ec60225b6 Remove SOO in IPAddress and SocketAddress 2017-11-02 20:54:38 +01:00
zosrothko
1193c174f6 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-11-02 20:14:30 +01:00
Günter Obiltschnig
7988f58c73 updatd VS project files for PollSet 2017-11-01 11:30:59 +01:00
Guenter Obiltschnig
341aed39fe add PollSet class (backported from develop) 2017-11-01 11:19:52 +01:00
Francis ANDRE
5591d10a21 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-10-31 18:11:51 +01:00
Guenter Obiltschnig
a460bafa70 merge Unix Domain Sockets support and other changes from develop 2017-10-31 16:53:06 +01:00
Guenter Obiltschnig
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Alex Fabijanic
57bc179db5 FTPClientSession::close() error? #1880 2017-10-30 11:19:54 -05:00
Alex Fabijanic
1a18621ff8 ifdef auto_ptr 2017-10-24 21:55:33 -05:00
Alex Fabijanic
5bb26f8ce5 fix warning 2017-10-24 19:50:42 -05:00
Alex Fabijanic
6b19b56bd8 NTP Packet impl not according to RFC958? #749 2017-10-20 20:43:57 -05:00
Alex Fabijanic
4325a5db12 Internet connection is not available on build servers, making tests fail #1365 2017-10-06 18:19:20 -05:00
Günter Obiltschnig
8b52be675b remove obsolete VMS and VxWorks build system support 2017-09-09 11:15:29 +02:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Henry Hu
f64e3d9db0 fix build when using poll 2017-03-06 10:37:35 -05:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
Christopher Baker
e85aa902f9 Fixed position of scope parameter. Fixes #1552 2017-02-20 09:28:53 +01:00
Guenter Obiltschnig
8ba4cdc47e fix incorrect auto_ptr usage in testsuite 2017-02-18 07:03:31 +01:00
Guenter Obiltschnig
4b9e9c44b3 fixed test due to changed URI::encode() behavior 2017-02-17 13:41:43 +01:00
Guenter Obiltschnig
6031e24091 fixed GH #1596: Control reaches end of non-void function in SocketImpl::poll on systems for which POCO_HAVE_FD_POLL is set 2017-02-15 22:27:50 +01:00
Guenter Obiltschnig
0a0dae07a4 fix error introduced in last commit in SocketAddressImpl 2017-02-15 09:56:30 +01:00
Guenter Obiltschnig
5692187d2d minor fixes, mostly style and documentation 2017-02-15 09:52:58 +01:00
Guenter Obiltschnig
84feb7f35a get network interface type from /sys/class/net as well 2017-02-13 18:51:07 +01:00
Guenter Obiltschnig
91211c7cd1 added workaround for Linux systems that don't have <linux/if_packet.h> 2017-02-13 18:29:54 +01:00
Guenter Obiltschnig
46cb6afea5 detect malformed MIME messages earlier 2017-02-12 15:44:27 +01:00
Guenter Obiltschnig
a401d22a28 fixed GH #1570: IPv6AddressImpl::toString() returns wrong output for IPv6 address "::" 2017-02-11 19:01:12 +01:00
Guenter Obiltschnig
186e89923a style fixes and SolarisStudio support backported from develop 2017-01-25 11:07:51 +01:00
Guenter Obiltschnig
f6d8d0e10a fix a potential DoS (through memory exhaustion) by restricting HTML form field name and value sizes 2017-01-24 13:14:05 +01:00
Guenter Obiltschnig
4392f13b9c fix potential DoS vulnerability (through memory exhaustion) by restricting maximum line length 2017-01-24 13:13:13 +01:00
Guenter Obiltschnig
3577724efd fix a potential DoS vulnerability by restricting the length of the HTTP chunk size in chunked transfer encoding 2017-01-24 13:11:41 +01:00
Guenter Obiltschnig
65626774e1 fixed GH #1212: Lost WebSocket Frames after Client Websocket Handshake is complete 2017-01-12 15:59:15 +01:00
theAirC
f9e6b51a72 Detection of closed websocket connection
When the websocket connection is closed, a non-empty frame (n>0) may be received with FRAME_OP_CLOSE flag bit set.
Tested with chrome 54.0.2840.99 ; after establishing the websocket connection, if the connection is not closed by javascript and the tab is closed, a frame of length n=2 is received with FRAME_OP_CLOSE flag set.
2016-12-08 21:10:35 +01:00
vm2mv
2fbf87c518 * Net: fixed adding content to mail message when content-disposition is empty 2016-11-22 14:30:27 +03:00
vm2mv
b42d5b4fb8 * Net: fixed adding content part to mail message with empty content-disposition 2016-11-21 11:49:49 +03:00
Guenter Obiltschnig
3bd6689751 fixed GH #1472: HTTP(S)StreamFactory should send a User-Agent header 2016-10-26 12:58:52 +02:00
Guenter Obiltschnig
a8502dcccf another fix for GH #1458 - handle case when all sockets are invalid 2016-10-18 18:13:52 +02:00
Guenter Obiltschnig
69d632810e fixed GH #1458: always pass 1 to epoll_create() 2016-10-17 17:59:09 +02:00
root
895c3dfcd5 use std::unique_ptr instead of std::auto_ptr with C++11+ compilers to prevent std::auto_ptr deprecation warnings 2016-10-14 11:49:45 +02:00
Guenter Obiltschnig
12fc175b5a fixed warnings reported by GCC 6.2 2016-10-14 10:27:44 +02:00
Guenter Obiltschnig
946e00b77d fix for GH #1449: you can now compile Net with -DPOCO_SOCKETADDRESS_DONT_PREFER_IPV4 to prevent SocketAddress from preferring IPv4 over IPv6 addresses 2016-10-10 19:14:01 +02:00
Guenter Obiltschnig
5eab5f1144 improved EchoServer error handling 2016-10-07 22:02:57 +02:00
Guenter Obiltschnig
9b10c24b61 fixed bad disconnect handling in onSocketReadable 2016-10-07 21:54:20 +02:00
Guenter Obiltschnig
b5036266be backported #1445: Use stable_sort to preserve order of IP addresses from DNS 2016-10-05 09:23:02 +02:00
Guenter Obiltschnig
c716239c22 fixed uninitialized member in ctor 2016-09-26 17:48:09 +02:00
Guenter Obiltschnig
cb2537b343 fixed uninitialized _encoding member 2016-09-26 17:31:29 +02:00
Guenter Obiltschnig
e6034908c1 code cleanup; fixed some issues reported by Klocwork 2016-09-26 17:19:55 +02:00
Guenter Obiltschnig
7c37f18f84 fixed some warnings and minor issues detected by clang-analyzer 2016-09-13 11:37:12 +02:00
Guenter Obiltschnig
909c06ac6c giving up on strerror_r 2016-09-08 10:12:54 +02:00
Guenter Obiltschnig
ed88e8d46d fixed strerror_r issue 2016-09-08 09:38:06 +02:00
Guenter Obiltschnig
7a2fac3351 close fd before assert 2016-09-06 16:12:53 +02:00
Guenter Obiltschnig
192a5f179f fixed some warnings 2016-09-06 15:49:39 +02:00
Guenter Obiltschnig
7ea6d08907 fixed GH #1316: Empty SocketReactor never sleeps 2016-07-18 18:55:07 +02:00
Guenter Obiltschnig
65abed223d fixed GH #1235: Poco::Net::HTTPClientSession::sendRequest() should also handle HTTP_PATCH 2016-04-11 10:44:08 +02:00
Guenter Obiltschnig
324e04e568 prevent TCPServer thread from stopping of poll() throws (due to resource issues) 2016-03-05 14:40:34 +01:00
Guenter Obiltschnig
15d1d0f1a2 build fixes 2016-03-05 14:29:34 +01:00
Guenter Obiltschnig
6c66d0b49e fix leap year issues in testsuites 2016-02-29 10:18:11 +01:00
Guenter Obiltschnig
1a8479f7ea remove DatagramSocket Unbound constructor 2016-02-29 10:17:30 +01:00
Günter Obiltschnig
3d1a094725 Merge pull request #1026 from zosrothko/Cygwin
Fixes for producing the poco-1.6.2 release on a Cygwin x86 platform
2016-02-28 15:29:08 +01:00
Guenter Obiltschnig
5dd09c1046 fixed #848: MailMessage::_encoding is not set when retrieving plain/text message 2016-02-28 14:35:13 +01:00
Guenter Obiltschnig
4f7b7a7734 fixed #892: DatagramSocket is ipv4 by default (added new constructors for creating an unconnected and unbound DatagramSocket or MulticastSocket) 2016-02-28 00:36:40 +01:00
Guenter Obiltschnig
fa4e739860 cleanup 2016-02-27 22:10:39 +01:00
Guenter Obiltschnig
d33b102259 fixed GH #696: bug in parsing name of attachment 2016-02-27 22:04:54 +01:00
Aleksandar Fabijanic
ee9b2003ba Wrong error code if Sec-WebSocket-Accept header field missed or value wrong #1120 2016-02-27 17:00:49 +01:00
Guenter Obiltschnig
1cbaf38bbc fixed an issue with DELETE in persistent connections 2016-02-17 20:32:19 +01:00
Guenter Obiltschnig
a0f797203e GH #1087: prevent line breaks in base64-encoded creds 2015-12-16 09:24:10 +01:00
Guenter Obiltschnig
899e5084e9 SMTPClientSession: added support for XOAUTH2 authentication 2015-12-15 10:14:41 +01:00
FrancisANDRE
9e33079bcb Add missing PocoJSON dependency.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 10:32:39 +01:00
Guenter Obiltschnig
13b34666d9 add HTTP/1.1 version to HTTPRequest for client WebSocket, as this is required for most servers 2015-10-01 19:31:16 +02:00
Guenter Obiltschnig
bcead85c25 remove GCC_DIAG_OFF 2015-09-30 12:16:09 +02:00
Guenter Obiltschnig
e25a17030d integrated CMake improvements from develop (GH #946) 2015-09-26 11:11:23 +02:00
Guenter Obiltschnig
4e375945f9 fix: need an implementation of available() for WebSocketImpl 2015-09-18 22:42:49 +02:00
Guenter Obiltschnig
89816c0ea2 HTTPSessionInstantiator: respect global proxy config 2015-09-17 11:56:28 +02:00
Guenter Obiltschnig
86fe3870e7 added constant for HTTP PATCH method 2015-09-16 09:30:10 +02:00
Guenter Obiltschnig
ca650b83c9 fixed www.appinf.com IP address 2015-08-02 08:51:39 +02:00
Günter Obiltschnig
4f0b692d66 added project and solution files for VS2015 2015-08-01 10:29:32 +02:00
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Aleksandar Fabijanic
319e2d80b5 POCO1.6 Sample EchoServer BUG #706 2015-02-03 20:18:38 -06:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Aleksandar Fabijanic
ed63fbd42c Merge pull request #653 from xantares/mingw_headers
Fix missing windows includes for mingw
2015-01-01 12:37:41 -06:00
Alex Fabijanic
427a9bc4e4 indentation style fix 2015-01-01 12:10:30 -06:00
xantares
bf929f9704 Fix missing windows includes for mingw 2014-12-22 22:08:32 +01:00
Pascal Bach
97ea3ef483 CMake, WinCE: Make samples and tests compile under Windows CE 2014-12-21 16:23:35 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
c85ad9f73d fixed GH #640: can't get socket out of SocketNotification because of const 2014-12-17 00:06:13 +01:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Marian Krivos
1a14ec4578 Change MAX_URI_LENGTH for HTTPRequest from 4 to 16kb - 4kb is too small for todays internet 2014-12-07 20:49:12 +01:00
fbraem
92cca538f8 Internet Explorer sends "Websocket" 2014-11-27 22:49:26 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Guenter Obiltschnig
f9f8d21e0b fixed ParallelSocketAcceptor 2014-11-20 11:36:26 +01:00
Alex Fabijanic
599c4cb3aa Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-11-19 22:25:48 -06:00
Alex Fabijanic
fbb18d1aa4 (Parallel)SocketAcceptor ctor/dtor call virtual functions #608 2014-11-19 22:25:28 -06:00
Christopher Baker
ecc3dbb86e Fix for #294. 2014-11-19 16:36:15 -06:00
Guenter Obiltschnig
340594b2ae fixed GH #63: Net::NameValueCollection::size() returns int 2014-11-19 23:26:04 +01:00
Guenter Obiltschnig
674178f587 fixed exception text 2014-11-19 22:56:37 +01:00
Guenter Obiltschnig
bd9d051e46 fixed #468: HTTPClientSession/HTTPResponse not forwarding exceptions 2014-11-19 21:56:42 +01:00
Guenter Obiltschnig
88b203f483 fixed GH #478: HTTPCredentials and HTTPAuthenticationParams support multiple WWW-Authenticate headers 2014-11-19 21:25:36 +01:00
Alex Fabijanic
1919322d00 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-11-17 00:40:11 -06:00
Alex Fabijanic
2f20f801c5 Idle Reactor high CPU usage #607 2014-11-17 00:40:00 -06:00
Guenter Obiltschnig
28982f9fcc fixed an issue with proxy connect if global proxy config is used 2014-11-13 06:37:33 +01:00
Guenter Obiltschnig
eb8dce47fe fix #606: HTMLForm constructor read application/x-www-form-urlencoded UTF-8 request body first parameter with BOM in name 2014-11-12 10:33:57 +01:00
Guenter Obiltschnig
781acfa0bd added nonProxyHosts to ProxyConfig to allow bypassing proxy for certain hosts 2014-11-11 22:54:44 +01:00
Guenter Obiltschnig
b576a66c4b documentation update 2014-11-11 17:10:37 +01:00
Günter Obiltschnig
fe3537f49f updated project files 2014-11-11 12:19:14 +01:00
Guenter Obiltschnig
fbcbf708aa added OAuth20Credentials class, some minor OAuth10Credentials fixes 2014-11-11 12:10:53 +01:00
Guenter Obiltschnig
127f7a0ebe testsuite fix 2014-11-10 23:51:28 +01:00
Günter Obiltschnig
af1f5757c3 updated VS project files, added OAuthTestSuite 2014-11-10 23:49:35 +01:00
Guenter Obiltschnig
069b74983d moved TwitterClient to NetSSL samples 2014-11-10 22:56:35 +01:00
Guenter Obiltschnig
362eaad5cb added support for OAuth 1.0A authentication 2014-11-10 22:15:02 +01:00
Guenter Obiltschnig
420c3b55a7 added support for global HTTP proxy configuration 2014-11-09 17:22:10 +01:00
Guenter Obiltschnig
6c37d53b39 minor doc fix (add () to function names to allow PocoDoc to generate links 2014-11-07 09:45:59 +01:00
Günter Obiltschnig
54883cf47f Merge pull request #598 from WesternStar/develop
Correcting erroneous documentation in raw socket and datagram socket
2014-11-07 09:43:47 +01:00
Günter Obiltschnig
478acee545 fixed IPv6 prefix handling issue on Windows 2014-11-07 08:33:30 +01:00
Alvin M.
c0959d4f0f Update DatagramSocket.h
Misspelling
2014-11-06 10:19:23 -05:00
Alvin M.
4aac27b33c Update RawSocket.h
Updating documentation
2014-11-06 10:18:47 -05:00
Alvin M.
7a8051f37d Update DatagramSocket.h
Wording
2014-11-06 10:17:42 -05:00
Alvin M.
7d0d04ea45 Update DatagramSocket.h
Updated erroneous documetation
2014-11-06 10:16:37 -05:00
Günter Obiltschnig
5f380f0b80 Merge pull request #574 from siemens/cmake
Cmake updates
2014-11-06 11:17:45 +01:00
Guenter Obiltschnig
22f3ee8bee style fixes 2014-11-06 11:12:14 +01:00
Günter Obiltschnig
e3a9f61bec Merge pull request #577 from gevpa/bug_ipv6_scopeId
Fix several issues of Poco::IPAddress with supporting for IPv6 format.
2014-11-06 10:56:33 +01:00
Günter Obiltschnig
279370c5cb Merge pull request #591 from karlr42/develop
Fix for issue #588
2014-10-31 19:56:11 +01:00
karlr42
5b646e5b9f Fix description of stopAll's abortCurrent argument. 2014-10-31 17:35:50 +00:00
Paruyr Gevorgyan
cc86efe070 Fix several issues of Poco::IPAddress with supporting for IPv6 format. In current implementation "scope" part of IPv6 is not taken into consideration in several parts of code. 2014-10-17 15:15:07 +02:00
Paruyr Gevorgyan
49e856aa89 Fix parsing issue with IPv6 format: propogating scopeId from IPv6AddressImpl to IPAddress. 2014-10-17 00:59:55 +02:00
Günter Obiltschnig
a6fcc477bd regenerated sample project files, fixed a potential compile error in NetworkInterface when targetting older Windows releases 2014-10-16 14:16:40 +02:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
micheleselea
b7fff590f7 BugFix Missing parenthesis 2014-10-14 13:45:14 +02:00
micheleselea
63b74d4f93 make NetworkInterface working under XP
on >= Vista NetworkInterface works, but if you try under XP you have ifIndex always not setted: if you compile with XP SP1 defines you get code working on >=XP
2014-10-14 09:42:58 +02:00
Günter Obiltschnig
f65d98f9c1 fixed cert chain verification and samples 2014-10-09 23:56:00 +02:00
Günter Obiltschnig
75919178fb fixed a warning 2014-10-07 12:04:03 +02:00
Guenter Obiltschnig
c1976b8fd4 minor cleanup for consistency with 1.4.7 2014-10-06 14:39:54 +02:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02:00
Guenter Obiltschnig
fb2eba8eac HTTPCookie: fix documentation for max age 2014-10-04 07:40:43 +02:00
Alex Fabijanic
a25877bfc2 - FIFOBuffer drain() problem #552
- StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
  not thread safe #402
2014-10-03 16:12:42 -05:00
Guenter Obiltschnig
30e26b0d96 improved HTTPClientSession error handling for network errors handling during sending the request 2014-10-02 22:29:25 +02:00
Guenter Obiltschnig
cd67863852 #550 WebSocket fragmented message problem 2014-10-02 20:24:50 +02:00
Guenter Obiltschnig
5822122a12 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-09-29 12:17:40 +02:00