Commit Graph

598 Commits

Author SHA1 Message Date
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