Commit Graph

548 Commits

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