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
5df7f69b08
fixed GH #1472 : HTTP(S)StreamFactory should send a User-Agent header
2016-10-26 12:59:33 +02:00
Guenter Obiltschnig
b22501f692
another fix for GH #1458 - handle case when all sockets are invalid
2016-10-18 22:25:01 +02:00
Guenter Obiltschnig
6d373825fa
fixed GH #1458 : always pass 1 to epoll_create()
2016-10-17 18:33:41 +02:00
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
Guenter Obiltschnig
92a0f0f0aa
improved EchoServer error handling
2016-10-07 22:04:10 +02:00
Guenter Obiltschnig
835d0365d9
fixed bad disconnect handling in onSocketReadable
2016-10-07 22:03:58 +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
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
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
Miklos Vajna
c298c4f689
GH #1050 Net tests: fix gcc -Wshadow warnings
2016-05-16 21:39:58 +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
Alex Fabijanic
2a80322ecb
merge dev and resolve conflicts
2016-03-11 20:57:28 -08:00
Mathäus Mendel
8895045fb5
Made all testsuite link with pthreads on Unix systems
...
This fixes the linker errors due to missing pthreads library on AIX.
2016-03-11 10:30:15 -03:00
Alex Fabijanic
3eb023132b
Merge branch 'develop' into pr/1113
...
Conflicts:
Foundation/testsuite/TestSuite_vs120.vcxproj
2016-03-07 21:38:26 -08:00
Alex Fabijanic
92225086a4
generated CppUnit and testsuites VS projects
2016-03-06 20:54:26 -08: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
634fc133b6
fix leap year issues in testsuites
2016-02-29 10:21:31 +01: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
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
Scott Talbert
a1113c1f00
Some of the samples need to link with PocoJSON
2016-02-07 11:00:00 -05:00
kmribti
cdb30f39f3
Add test case for MessageHeader decodeWord
2016-01-17 09:28:15 +01:00
kmribti
8c98e4303c
Add test case for MessageHeader decodeWord
2016-01-17 09:27:28 +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
37d5cf9d46
Update MessageHeader.h
2016-01-16 10:04:41 +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
Francis ANDRE
dc48e7b6ec
Fix merge of .travis.yml
2016-01-14 19:41:33 +01:00