339 Commits

Author SHA1 Message Date
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
Scott Davis
48862bf08e Use stable_sort to preserve order of IP addresses from DNS 2016-10-04 14:43:01 -04:00
Guenter Obiltschnig
eabae863bb fixed uninitialized member in ctor 2016-09-26 19:21:07 +02:00
Guenter Obiltschnig
34b9b1284c fixed uninitialized _encoding member 2016-09-26 19:18:56 +02:00
Guenter Obiltschnig
b1004587b2 code cleanup; fixed some issues reported by Klocwork 2016-09-26 19:18:28 +02:00
Guenter Obiltschnig
ae3c4a4ba3 fixed some warnings and minor issues detected by clang-analyzer
Conflicts:
	Data/src/RecordSet.cpp
2016-09-13 11:40:59 +02:00
Guenter Obiltschnig
20c7392c21 giving up on strerror_r 2016-09-08 10:10:39 +02:00
Guenter Obiltschnig
28ff1f2530 fixed strerror_r issue 2016-09-08 09:36:28 +02:00
Guenter Obiltschnig
d074e5e6ea fixed warnings with GCC on Linux 2016-09-06 16:30:59 +02:00
Günter Obiltschnig
7491374264 Revert "GH #1050 Net: fix gcc -Wshadow warnings" 2016-09-05 08:35:17 +02:00
Günter Obiltschnig
81b140e0a9 Revert "GH #1050 NetSSL_OpenSSL: fix gcc -Wshadow warnings" 2016-09-05 08:31:43 +02:00
Guenter Obiltschnig
aed776b7ae added additional HTTP status codes 2016-08-02 22:57:26 +08:00
Guenter Obiltschnig
bfc2ee99a0 Proper fix for #1337 2016-08-02 13:00:20 +08:00
Guenter Obiltschnig
7c32d02f61 fixed GH #1316: Empty SocketReactor never sleeps 2016-07-18 18:55:49 +02:00
Guenter Obiltschnig
d11b69ca00 style fixes 2016-04-16 09:57:54 +02:00
Guenter Obiltschnig
86969b4a91 fixed GH #1235: Poco::Net::HTTPClientSession::sendRequest() should also handle HTTP_PATCH 2016-04-11 10:44:41 +02:00
Miklos Vajna
617f2635ad GH #1050 NetSSL_OpenSSL: fix gcc -Wshadow warnings 2016-03-14 16:09:50 +01:00
Guenter Obiltschnig
67de3be860 style fix 2016-03-05 17:48:49 +01:00
Guenter Obiltschnig
2e8674a54d prevent TCPServer thread from stopping of poll() throws (due to resource issues) 2016-03-05 14:42:18 +01:00
Guenter Obiltschnig
b30c4eccbe removed Unbound constructor 2016-02-28 23:39:18 +01:00
Guenter Obiltschnig
e4fbbe69ba *breaking change* DatagramSocket/MulticastSocket constructor creates an unconnected and unbound/uninitialized socket 2016-02-28 22:08:28 +01:00
Guenter Obiltschnig
e84d50dfaa fixed #848: MailMessage::_encoding is not set when retrieving plain/text message 2016-02-28 14:36:29 +01:00
Guenter Obiltschnig
317ef6df38 fixed #892: DatagramSocket is ipv4 by default (added new constructors for creating an unconnected and unbound DatagramSocket or MulticastSocket)
Conflicts:
	Net/include/Poco/Net/DatagramSocket.h
	Net/src/DatagramSocket.cpp
	Net/src/MulticastSocket.cpp
2016-02-28 00:45:53 +01:00
Guenter Obiltschnig
1f8e007c12 fixed GH #696: bug in parsing name of attachment
Conflicts:
	Net/src/MailMessage.cpp
2016-02-27 22:10:08 +01:00
Guenter Obiltschnig
974d6e7298 fixed an issue with DELETE requests and persistent connections 2016-02-17 20:28:27 +01:00
kmribti
f94d20492a Small fix on MessageHeader decodeWord. 2016-01-16 22:54:30 +01:00
kmribti
fc2fd470ff Removed a one more auto. 2016-01-16 11:26:50 +01:00
kmribti
25f2f9b66b Removed auto type as is not accepted -- 2016-01-16 10:46:06 +01:00
kmribti
9e010930cf Add mime RFC2047 decoder to MessageHeader
Add RFC2047 word decode to MessageHeader class
2016-01-16 10:00:36 +01:00
Aleksandar Fabijanic
0b5c50941c Wrong error code if Sec-WebSocket-Accept header field missed or value wrong #1120 2016-01-14 08:23:56 -06:00
Miklos Vajna
12d0699b5b GH #1050 Net: fix gcc -Wshadow warnings 2015-12-29 20:20:48 +01:00
Guenter Obiltschnig
347c041fc3 GH #1087: prevent line breaks in base64-encoded creds 2015-12-16 09:23:40 +01:00
Guenter Obiltschnig
8022781800 SMTPClientSession: added support for XOAUTH2 authentication 2015-12-14 22:29:11 +01:00
Rangel Reale
b47f38fc33 * Don't leak <windows.h> (Poco/Unwindows.h) to library users 2015-12-10 13:16:02 -02:00
aaron0x
36b5487774 simplify NetworkInterface::forName(const std::string& name, bool requireIPv6). 2015-10-16 16:41:10 +08:00
aaron0x
5398ebd94a remove unnecessary variable. 2015-10-16 16:28:57 +08:00
Guenter Obiltschnig
754cb3b06e renamed canContinue() to peekResponse(), improved documentation 2015-10-10 09:31:48 +02:00
Guenter Obiltschnig
c66849f9ee added better support for 'Expect: 100-continue' header and '100 Continue' responses 2015-10-06 11:11:16 +02:00
Guenter Obiltschnig
162c8ecd39 fix: need an implementation of available() for WebSocketImpl 2015-09-18 22:44:17 +02:00
Guenter Obiltschnig
619950bb2a HTTPSessionInstantiator: respect global proxy config 2015-09-17 11:58:19 +02:00
Guenter Obiltschnig
86f2094d09 SocketAddress: constructor taking single string now also accepts a local socket path on UNIX platforms 2015-09-16 09:26:30 +02:00
Guenter Obiltschnig
cad2e02c3f added constant for HTTP PATCH method 2015-09-16 09:17:21 +02:00
Günter Obiltschnig
8d8074fc00 fix for MSVC issue with static const definitions 2015-09-11 09:22:38 +02:00
Guenter Obiltschnig
aac6aba66c check if specified address fits specified address family 2015-09-08 17:49:02 +02:00
Guenter Obiltschnig
d53dc367da HTTPClientSession: don't attempt to reconnect if no host is set (such as when creating a HTTPClientSession with a connected StreamSocket) 2015-09-08 17:17:29 +02:00
Guenter Obiltschnig
0494abc603 make TCPServer and HTTPClientSession work with UNIX local sockets 2015-09-08 17:06:30 +02:00
Guenter Obiltschnig
515de4128f handle ENOENT error 2015-09-08 16:21:25 +02:00
Guenter Obiltschnig
d55eab9264 clean build with POCO_NET_NO_IPv6, add test for Unix domain sockets 2015-09-08 15:00:43 +02:00
Guenter Obiltschnig
d64ec94653 UNIX domain sockets support: replace IPAddress::Family with new enum AddressFamily::Family enum 2015-09-08 14:15:38 +02:00