Commit Graph

305 Commits

Author SHA1 Message Date
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
Guenter Obiltschnig
843f251487 support for AF_UNIX socket address 2015-09-07 17:53:25 +02:00
Aleksandar Fabijanic
afd35253aa Merge pull request #879 from glacjay/attachment-names
parse attachments' name and filename
2015-07-15 13:26:54 -05:00
Guenter Obiltschnig
02fc2418ca style fix 2015-07-14 06:21:05 +02:00
Rangel Reale
bd9b5b46d8 * Windows 7 or lower have an undocumented minimum of 500ms for socket timeouts, detect at runtime and assume it as broken timeouts (https://social.msdn.microsoft.com/Forums/en-US/76620f6d-22b1-4872-aaf0-833204f3f867/minimum-timeout-value-for-sorcvtimeo) 2015-07-13 16:25:12 -03:00
GlacJAY
596edc5385 parse attachments' name and filename 2015-07-10 09:56:48 +08:00
Aleksandar Fabijanic
348ffed548 Merge pull request #854 from larivierec/patch-1
remove un-needed headers
2015-06-04 18:31:55 -05:00
Christopher Lariviere
f3ad7bb9ac remove un-needed headers
These files were there multiple times and may be just a simple aesthetic problem.
They are included in [WebSocket.h](https://github.com/tml1024/poco/blob/develop/Net/include/Poco/Net/WebSocket.h)
2015-06-03 16:39:34 -04:00
Guenter Obiltschnig
5b80826437 added HTTPServerRequest::secure() method 2015-06-02 20:51:33 +02:00
Guenter Obiltschnig
8513b11a8f cleanup 2015-03-28 11:23:25 +01:00
Guenter Obiltschnig
39b242952d fixes for Solaris compiler 2015-03-27 20:40:25 +01:00
Guenter Obiltschnig
2bbff0ca8f moved IPAddress stream insertion operator to IPAddress.h, added stream insertion operator for SocketAddress, added BinaryWriter/BinaryReader insertion/extraction for SocketAddress, fixed serialization of IPAddress to BinaryWriter to support both IPv4 and IPv6 addresses 2015-03-18 19:06:10 +01:00
rkadam
5a7b792e3c Adding ostream operator for Poco::Net::IPAddress 2015-03-18 20:52:44 +05:30
Tor Lillqvist
08a748dae1 Add WebSocket::receiveFrame() that appends to a Poco::Buffer<char> 2015-03-07 15:46:08 +02:00
xantares
bf929f9704 Fix missing windows includes for mingw 2014-12-22 22:08:32 +01:00
Christopher Baker
ecc3dbb86e Fix for #294. 2014-11-19 16:36:15 -06:00
Guenter Obiltschnig
340594b2ae fixed GH #63: Net::NameValueCollection::size() returns int 2014-11-19 23:26:04 +01:00
Guenter Obiltschnig
674178f587 fixed exception text 2014-11-19 22:56:37 +01:00
Guenter Obiltschnig
bd9d051e46 fixed #468: HTTPClientSession/HTTPResponse not forwarding exceptions 2014-11-19 21:56:42 +01:00
Guenter Obiltschnig
88b203f483 fixed GH #478: HTTPCredentials and HTTPAuthenticationParams support multiple WWW-Authenticate headers 2014-11-19 21:25:36 +01:00
Alex Fabijanic
1919322d00 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-11-17 00:40:11 -06:00
Alex Fabijanic
2f20f801c5 Idle Reactor high CPU usage #607 2014-11-17 00:40:00 -06:00
Guenter Obiltschnig
28982f9fcc fixed an issue with proxy connect if global proxy config is used 2014-11-13 06:37:33 +01:00
Guenter Obiltschnig
eb8dce47fe fix #606: HTMLForm constructor read application/x-www-form-urlencoded UTF-8 request body first parameter with BOM in name 2014-11-12 10:33:57 +01:00
Guenter Obiltschnig
781acfa0bd added nonProxyHosts to ProxyConfig to allow bypassing proxy for certain hosts 2014-11-11 22:54:44 +01:00
Guenter Obiltschnig
fbcbf708aa added OAuth20Credentials class, some minor OAuth10Credentials fixes 2014-11-11 12:10:53 +01:00
Guenter Obiltschnig
362eaad5cb added support for OAuth 1.0A authentication 2014-11-10 22:15:02 +01:00
Guenter Obiltschnig
420c3b55a7 added support for global HTTP proxy configuration 2014-11-09 17:22:10 +01:00
Günter Obiltschnig
478acee545 fixed IPv6 prefix handling issue on Windows 2014-11-07 08:33:30 +01:00
Guenter Obiltschnig
22f3ee8bee style fixes 2014-11-06 11:12:14 +01:00
Paruyr Gevorgyan
cc86efe070 Fix several issues of Poco::IPAddress with supporting for IPv6 format. In current implementation "scope" part of IPv6 is not taken into consideration in several parts of code. 2014-10-17 15:15:07 +02:00
Paruyr Gevorgyan
49e856aa89 Fix parsing issue with IPv6 format: propogating scopeId from IPv6AddressImpl to IPAddress. 2014-10-17 00:59:55 +02:00
Günter Obiltschnig
a6fcc477bd regenerated sample project files, fixed a potential compile error in NetworkInterface when targetting older Windows releases 2014-10-16 14:16:40 +02:00
micheleselea
b7fff590f7 BugFix Missing parenthesis 2014-10-14 13:45:14 +02:00
micheleselea
63b74d4f93 make NetworkInterface working under XP
on >= Vista NetworkInterface works, but if you try under XP you have ifIndex always not setted: if you compile with XP SP1 defines you get code working on >=XP
2014-10-14 09:42:58 +02:00