Commit Graph

4302 Commits

Author SHA1 Message Date
Guenter Obiltschnig
28de783c96 only use <atomic> header if C++11 support is available 2017-01-13 15:42:46 +01:00
Günter Obiltschnig
f216c798bf Merge pull request #1535 from mkrivos/develop
Zlib 1.2.10
2017-01-12 20:25:31 +01:00
Marian Krivos
9cce6b2dd1 update to sqlite 3.16.2 2017-01-12 20:02:03 +01:00
Guenter Obiltschnig
a44217d0a2 remove unneeded declaration introduced through cherry-pick 2017-01-12 16:12:20 +01:00
Guenter Obiltschnig
5ac7959b11 fixed GH #1212: Lost WebSocket Frames after Client Websocket Handshake is complete
Conflicts:
	Net/include/Poco/Net/HTTPServerRequestImpl.h
2017-01-12 16:03:52 +01:00
Günter Obiltschnig
c58b5b7e69 Merge pull request #1555 from proller/timeout
Net::HTTPSession: split timeout to connection, receive, send
2017-01-11 20:03:48 +01:00
proller
cc2f754d4d Net::HTTPSession: split timeout to connection, recieve, send 2017-01-11 22:00:56 +03:00
Günter Obiltschnig
2829032bba Merge pull request #1554 from proller/patch-1
virtual ServerApplication::waitForTerminationRequest
2017-01-11 19:20:11 +01:00
proller
ffa7b5a430 virtual ServerApplication::waitForTerminationRequest
usage:

https://github.com/yandex/ClickHouse/blob/master/libs/libdaemon/include/daemon/BaseDaemon.h#L54
https://github.com/yandex/ClickHouse/blob/master/libs/libdaemon/src/BaseDaemon.cpp#L977
2017-01-11 19:27:54 +03:00
Guenter Obiltschnig
c7753d7fb4 fixed GH #1537: Need to add multiple cflags parameters to configure 2017-01-10 17:14:42 +01:00
Guenter Obiltschnig
f42f17dd65 fixed GH #1536: Building with OS X 10.12 SDK and 10.7 deployment target without libc++ fails 2017-01-10 17:08:18 +01:00
Günter Obiltschnig
0f5853c057 Merge pull request #1541 from jspricke/test_null
Use null as device file as console might not be there
2017-01-05 19:49:02 +01:00
Jochen Sprickerhof
fc2a3398a5 Use null as device file as console might not be there 2017-01-04 23:21:53 +01:00
Marian Krivos
1915e2b749 Update to sqlite 3.16.0 2017-01-03 14:02:09 +01:00
Marian Krivos
f55e88c3f2 Update to zlib 1.2.10 2017-01-03 13:55:07 +01:00
Marian Krivoš
42b89e017f Merge pull request #36 from pocoproject/develop
Sync 3.1.2017
2017-01-03 13:10:43 +01:00
Guenter Obiltschnig
e46e610b84 fixed GH #1532: RecordSet and RowFilter: bad use of reference counter 2016-12-30 10:06:40 +01:00
Guenter Obiltschnig
760286f86f remove debug output 2016-12-29 15:02:26 +01:00
Guenter Obiltschnig
2914d077c4 GH #865: FileChannel compress fails leaving empty .gz files 2016-12-29 14:20:19 +01:00
Guenter Obiltschnig
ad37bc3516 fixed GH #1521: bug in JSON ParseHandler.cpp (empty keys should be valid) 2016-12-29 11:23:48 +01:00
Marian Krivoš
6b65787210 Merge pull request #35 from pocoproject/develop
Sync 16.12.2016
2016-12-16 20:31:08 +01:00
Günter Obiltschnig
b506a30c0d Merge pull request #1520 from zosrothko/patch-1
Update to mysql-5.7.16-win32
2016-12-11 22:51:09 +01:00
zosrothko
7d29037ab5 Update to mysql-5.7.16-win32
Switch  to http://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.16-win32.zip as http://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.13-win32.zip is no more available.
2016-12-11 18:56:22 +01:00
Günter Obiltschnig
0746cc1a0f Merge pull request #1515 from theAirC/patch-1
Detection of closed websocket connection
2016-12-08 21:10:02 +01:00
theAirC
2a7568c737 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 22:04:15 +02:00
Guenter Obiltschnig
22e746d1ce fixed GH #1436: ODBC Bug: Unicode text(NVARCHAT) read from DB is truncated to half. 2016-12-07 12:57:19 +01:00
Guenter Obiltschnig
13b062c786 fixed warnings and inconsistencies 2016-12-06 22:11:54 +01:00
Guenter Obiltschnig
955f409177 On Apple platforms, use std::atomic with MacOS 10.12 or iOS 10 SDK.
Conflicts:
	Foundation/include/Poco/AtomicCounter.h
2016-12-06 21:52:58 +01:00
Guenter Obiltschnig
feedbbbea5 more fixes related to GH #1453
Conflicts:
	Foundation/include/Poco/AtomicCounter.h
2016-12-06 21:50:21 +01:00
Guenter Obiltschnig
710845f023 fixed GH #1453: _clock_gettime Symbol not found on Mac 10.11 [do not use clock_gettime() on Apple platforms, even if _POSIX_TIMERS indicates it's available] 2016-12-06 18:22:34 +01:00
Guenter Obiltschnig
9c436860b3 ObjectPool: gracefully handle case if push_back() throws 2016-12-06 00:03:39 +01:00
Günter Obiltschnig
bfaa161c61 Crypto and NetSSL fixes for OpenSSL 1.1 2016-11-28 00:23:52 +01:00
vm2mv
780430487b Foundation: fixed exceptions handling in zlib-output-streams constructors 2016-11-22 13:55:36 +01:00
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