vm2mv
9141f38035
* Net: fixed adding content part to mail message with empty content-disposition
2016-11-22 13:53:27 +01:00
Günter Obiltschnig
a68afc9ae1
Merge pull request #1489 from tomaz-beltram/GH1488
...
GH #1488 : fixed ObjectPool size handling
2016-11-18 22:59:20 +01:00
Günter Obiltschnig
c335facd3e
Merge pull request #1491 from Ubiquite/patch-1
...
enable CppUnit with ENABLE_CPPUNIT
2016-11-18 22:48:23 +01:00
Ubiquite
3621d49b23
enable CppUnit with ENABLE_CPPUNIT
...
I wasted some time because ENABLE_CPPUNIT seems not to enable anything,
2016-11-18 17:17:19 +01:00
Tomaz Beltram
8265d1b28e
GH #1488 : fixed ObjectPool size handling
2016-11-16 14:17:17 +01:00
Guenter Obiltschnig
c12047b060
change localhost to 127.0.0.1 to ensure IPv4 when connecting to Redis and MongoDB for testing
2016-11-12 21:29:55 +01:00
Günter Obiltschnig
d63b7f9420
Merge pull request #1486 from BeeeOn/odbc-support-guid
...
Support ODBC GUID data type as string
2016-11-12 21:24:55 +01:00
Jan Viktorin
be59c5b8fd
Support ODBC GUID data type as string
...
The ODBC defines SQL_GUID datatype in sqlext.h. It is used
e.g. for transfer of UUID datatype from PostgreSQL.
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
2016-11-11 21:53:26 +01:00
Guenter Obiltschnig
0b0c808408
rename TCPConnectionFilter to TCPServerConnectionFilter; pass a StreamSocket to accept()
2016-11-11 14:30:37 +01:00
Guenter Obiltschnig
fe59f959ef
GH #1485 : add TCPConnectionFilter
2016-11-11 14:13:04 +01:00
Günter Obiltschnig
1164c4b03b
#1481 : fix NetSSL_Win tests
2016-11-11 10:33:41 +01:00
Günter Obiltschnig
0efea33022
Merge pull request #1484 from BeeeOn/fix-odbc-valgrind-warning
...
ODBC: fix uninitialized variable
2016-11-10 19:52:13 +01:00
Jan Viktorin
0cac5dbf73
ODBC: fix uninitialized variable
...
This prevents valgrind reports like:
==18426== Conditional jump or move depends on uninitialised value(s)
==18426== at 0x6423EB5: Poco::Data::StatementImpl::execute(bool const&) (in /usr/lib/libPocoDatad.so.46)
==18426== by 0x641DB5F: Poco::Data::Statement::execute(bool) (in /usr/lib/libPocoDatad.so.46)
==18426== by 0x632A0C: Poco::Data::Keywords::now(Poco::Data::Statement&) (Statement.h:443)
==18426== by 0x641C8E5: Poco::Data::Statement::operator,(void (*)(Poco::Data::Statement&)) (in /usr/lib/libPocoDatad.so.46)
...
==18426== Uninitialised value was created by a stack allocation
==18426== at 0x6A1A170: Poco::Data::ODBC::ODBCStatementImpl::affectedRowCount() const (in /usr/lib/libPocoDataODBCd.so.46)
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
2016-11-10 17:49:02 +01:00
Guenter Obiltschnig
199a82cff9
NetSSL fixes for GH #1481 , GH #1449
2016-11-09 15:09:46 +01:00
Günter Obiltschnig
aa18c7d338
Merge pull request #1351 from gelldur/Fix-android-pthread-wrong-include
...
Fix for android include pthread.h from /usr/include
2016-11-09 13:29:42 +01:00
Guenter Obiltschnig
f38a1a38de
more Net testsuite fixes
2016-11-09 13:04:40 +01:00
Guenter Obiltschnig
696a9de502
GH #1481 , GH #1449 : fix broken tests due to changed dns resolution
2016-11-09 12:22:49 +01:00
Dawid Drozd
abb54a4b67
Add required when looking for OpenSSL
...
Fixes accoring to code review:
5771eccd31
2016-11-09 11:11:12 +01:00
Dawid Drozd
92bdee1e70
Fix for android include pthread.h from /usr/include
2016-11-09 11:11:07 +01:00
Günter Obiltschnig
2c35d50889
Merge pull request #1483 from skypexu/bind_reuseport_fix
...
Add a new bind() and bind6() interface and make REUSEPORT as an option.
2016-11-09 10:23:54 +01:00
Xu Yifeng
0ad635c5d4
Add a new bind() and bind6() interface and make REUSEPORT as an option.
...
SO_REUSEADDR is to reuse a socket in time-wait state, this is often turned on
by server applicationis, but if a port is being used, the server could fail,
this is expected. But with SO_REUSEPORT option, it even can open a port which
is being used, this is a more error prone than SO_REUSEADDR, because we
normally don't want to share a port with irrelevant application without
notice, the behavior should not be default.
2016-11-09 17:05:50 +08:00
Guenter Obiltschnig
efdeadef2a
fixed GH #990 : Potential race condition in on Windows
2016-11-03 14:49:25 +01:00
Günter Obiltschnig
c59ec564c2
Merge pull request #1476 from alexey-milovidov/develop
...
Fixed error with Poco::UTF8Encoding::isLegal (wrong result on illegal…
2016-10-29 20:12:01 +02:00
Alexey Milovidov
95590d620e
Fixed error with Poco::UTF8Encoding::isLegal (wrong result on illegal sequence "\xED\x20\xA8").
2016-10-29 20:27:28 +03:00
Guenter Obiltschnig
5df7f69b08
fixed GH #1472 : HTTP(S)StreamFactory should send a User-Agent header
2016-10-26 12:59:33 +02:00
Guenter Obiltschnig
1f3b53298c
fixed GH #1462 : AbstractConfiguration::getUInt does not parse hex numbers
2016-10-24 09:42:33 +02:00
Guenter Obiltschnig
a1657d5e1b
fixed GH #1465 : Assertion violation in DateTime.cpp using ZipArchive
2016-10-22 16:23:11 +02:00
Guenter Obiltschnig
b22501f692
another fix for GH #1458 - handle case when all sockets are invalid
2016-10-18 22:25:01 +02:00
Guenter Obiltschnig
6d373825fa
fixed GH #1458 : always pass 1 to epoll_create()
2016-10-17 18:33:41 +02:00
Guenter Obiltschnig
31df37cf22
use std::unique_ptr instead of std::auto_ptr if available
2016-10-16 14:01:05 +02:00
Guenter Obiltschnig
20a6f25865
XMLConfiguration default (and single-argument delimiter) constructor now loads an empty XML document with "config" root element to make the configuration usable without an additional call to load() or loadEmpty().
2016-10-16 13:41:32 +02:00
Guenter Obiltschnig
0662244384
fix typo in test suite
2016-10-14 12:02:32 +02:00
Guenter Obiltschnig
8293f93f7a
use std::unique_ptr instead of std::auto_ptr with C++11 or newer compilers to avoid std::auto_ptr deprecation warnings
2016-10-14 12:01:25 +02:00
Guenter Obiltschnig
6195c97a86
make port constructor explicit; no longer prefer IPv4 addresses over IPv6 addresses
2016-10-10 18:44:55 +02:00
Guenter Obiltschnig
547553278c
use #ifdef POCO_LONG_IS_64_BIT instead of if (sizeof(... to avoid warnings
2016-10-10 14:15:32 +02:00
Guenter Obiltschnig
8888d3daae
added POCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX configuration macro to disable *d.so, *d.dll suffix in SharedLibrary class
2016-10-10 12:07:58 +02:00
Guenter Obiltschnig
e2bfe6f2cf
added Yocto config; updated ARM-Linux config
2016-10-07 22:10:26 +02:00
Guenter Obiltschnig
92a0f0f0aa
improved EchoServer error handling
2016-10-07 22:04:10 +02:00
Guenter Obiltschnig
835d0365d9
fixed bad disconnect handling in onSocketReadable
2016-10-07 22:03:58 +02:00
Guenter Obiltschnig
b02d8cecdb
fixed GH #1431 : Poco/FIFOBuffer.h copy issue
2016-10-07 21:27:46 +02:00
Guenter Obiltschnig
29010bc6ad
fixed GH #1403 : Android compile with poco-1.7.5 no 'pthread_condattr_setclock' error
2016-10-07 21:06:59 +02:00
Günter Obiltschnig
80fea48cdc
Merge pull request #1447 from a-w/develop
...
Fixed "integer constant is too large for 'long' type" issue
2016-10-07 20:37:11 +02:00
Adrian Weiler
e350781084
Fixed "integer constant is too large for 'long' type" issue; make constant unsigned instead of typecasting
2016-10-07 19:16:12 +02:00
Guenter Obiltschnig
a5d801cc6e
doc clarifications
2016-10-07 11:06:43 +02:00
Guenter Obiltschnig
bae5b38df0
add a load() overload to specify name pool size
2016-10-07 10:59:58 +02:00
Guenter Obiltschnig
a53464e784
add optional name pool size argument to DOMParser constructor
2016-10-07 10:53:46 +02:00
Guenter Obiltschnig
2817376436
increased default XML name pool size, added Document constructor taking name pool size as argument
2016-10-07 10:44:18 +02:00
Günter Obiltschnig
d9c3c5270a
Merge pull request #1445 from cryptoknight/ip_stable_sort
...
Use stable_sort to preserve order of IP addresses from DNS
2016-10-05 09:19:49 +02:00
Scott Davis
48862bf08e
Use stable_sort to preserve order of IP addresses from DNS
2016-10-04 14:43:01 -04:00
Guenter Obiltschnig
f86dfa8239
integrated fixes for #1416 from poco-1.7.6 branch
2016-09-29 20:10:10 +02:00