Commit Graph

516 Commits

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