250 Commits

Author SHA1 Message Date
Guenter Obiltschnig
6ecaa675cc style fixes 2017-02-17 13:43:48 +01:00
Guenter Obiltschnig
3eda8f40bb fix a potential DoS (through memory exhaustion) by restricting HTML form field name and value sizes 2017-01-24 13:15:19 +01:00
Guenter Obiltschnig
11845334dc fix potential DoS vulnerability (through memory exhaustion) by restricting maximum line length 2017-01-24 13:15:12 +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
proller
cc2f754d4d Net::HTTPSession: split timeout to connection, recieve, send 2017-01-11 22:00:56 +03: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
Guenter Obiltschnig
696a9de502 GH #1481, GH #1449: fix broken tests due to changed dns resolution 2016-11-09 12:22:49 +01:00
Xu Yifeng
0ad635c5d4 Add a new bind() and bind6() interface and make REUSEPORT as an option.
SO_REUSEADDR is to reuse a socket in time-wait state, this is often turned on
by server applicationis, but if a port is being used, the server could fail,
this is expected. But with SO_REUSEPORT option, it even can open a port which
is being used, this is a more error prone than SO_REUSEADDR, because we
normally don't want to share a port with irrelevant application without
notice, the behavior should not be default.
2016-11-09 17:05:50 +08:00
Guenter Obiltschnig
6195c97a86 make port constructor explicit; no longer prefer IPv4 addresses over IPv6 addresses 2016-10-10 18:44:55 +02:00
Guenter Obiltschnig
b1004587b2 code cleanup; fixed some issues reported by Klocwork 2016-09-26 19:18:28 +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
34bbbe256d Revert "GH #1050 Net tests: fix gcc -Wshadow warnings" 2016-09-05 08:25:44 +02:00
Guenter Obiltschnig
aed776b7ae added additional HTTP status codes 2016-08-02 22:57:26 +08:00
Miklos Vajna
c298c4f689 GH #1050 Net tests: fix gcc -Wshadow warnings 2016-05-16 21:39:58 +02:00
Guenter Obiltschnig
380e85fc11 style fix 2016-02-28 23:39:49 +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
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
kmribti
37d5cf9d46 Update MessageHeader.h 2016-01-16 10:04:41 +01:00
Miklos Vajna
12d0699b5b GH #1050 Net: fix gcc -Wshadow warnings 2015-12-29 20:20:48 +01:00
Guenter Obiltschnig
8022781800 SMTPClientSession: added support for XOAUTH2 authentication 2015-12-14 22:29:11 +01:00
aaron0x
c93c302bcd modify comment. 2015-10-16 17:23:23 +08:00
aaron0x
a3ee0416c0 add comment. 2015-10-16 16:43:53 +08:00
Guenter Obiltschnig
754cb3b06e renamed canContinue() to peekResponse(), improved documentation 2015-10-10 09:31:48 +02:00
Guenter Obiltschnig
a856067668 doc improvements 2015-10-06 11:22:51 +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
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
5bde0dae76 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2015-09-16 09:17:45 +02:00
Guenter Obiltschnig
cad2e02c3f added constant for HTTP PATCH method 2015-09-16 09:17:21 +02:00
aaron0x
0c6e0cbc60 modify comments. 2015-09-16 09:38:29 +08: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
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
Guenter Obiltschnig
5b80826437 added HTTPServerRequest::secure() method 2015-06-02 20:51:33 +02:00
martin-osborne
7780ab3ae0 Corrected more spellings. 2015-04-10 11:43:49 +01:00
martin-osborne
4cf45ea4a3 Corrected more words. 2015-04-10 11:31:12 +01:00
martin-osborne
e9dce11e50 Correct mispelt 'd' and 'e' words. 2015-04-10 10:54:47 +01:00
martin-osborne
12c0594db6 Corrected misspelt 'b' and 'c' words. 2015-04-06 17:56:13 +01:00
martin-osborne
7e730aa9b8 Corrected other misspelt 'a' words. 2015-04-06 17:34:48 +01:00
Guenter Obiltschnig
9083892894 style fix 2015-03-27 20:41:26 +01:00
Guenter Obiltschnig
4dd625725b style/comment fixes 2015-03-27 20:35:10 +01:00
Günter Obiltschnig
227409bc32 fixed export macros 2015-03-18 20:39:16 +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