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
Sascha Zelzer
10425a9556
Do not overwrite CMAKE_PREFIX_PATH in component config files.
...
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Aleksandar Fabijanic
319e2d80b5
POCO1.6 Sample EchoServer BUG #706
2015-02-03 20:18:38 -06:00
Pascal Bach
f778e67430
CMake: Improve installation and package generation
...
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Aleksandar Fabijanic
ed63fbd42c
Merge pull request #653 from xantares/mingw_headers
...
Fix missing windows includes for mingw
2015-01-01 12:37:41 -06:00
Alex Fabijanic
427a9bc4e4
indentation style fix
2015-01-01 12:10:30 -06:00
xantares
bf929f9704
Fix missing windows includes for mingw
2014-12-22 22:08:32 +01:00
Pascal Bach
97ea3ef483
CMake, WinCE: Make samples and tests compile under Windows CE
2014-12-21 16:23:35 +01:00
Pascal Bach
10ef2b2335
CMake: Remove WinDriver usage in tests
...
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
c85ad9f73d
fixed GH #640 : can't get socket out of SocketNotification because of const
2014-12-17 00:06:13 +01:00
Guenter Obiltschnig
931a5a5252
Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past
2014-12-15 11:05:13 +01:00
Marian Krivos
1a14ec4578
Change MAX_URI_LENGTH for HTTPRequest from 4 to 16kb - 4kb is too small for todays internet
2014-12-07 20:49:12 +01:00
fbraem
92cca538f8
Internet Explorer sends "Websocket"
2014-11-27 22:49:26 +01:00
Günter Obiltschnig
bc0978d01e
fixed GH #471 : vs2010 release builds have optimization disabled
...
fixed GH #616 : Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Guenter Obiltschnig
f9f8d21e0b
fixed ParallelSocketAcceptor
2014-11-20 11:36:26 +01:00
Alex Fabijanic
599c4cb3aa
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-11-19 22:25:48 -06:00
Alex Fabijanic
fbb18d1aa4
(Parallel)SocketAcceptor ctor/dtor call virtual functions #608
2014-11-19 22:25:28 -06: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
b576a66c4b
documentation update
2014-11-11 17:10:37 +01:00
Günter Obiltschnig
fe3537f49f
updated project files
2014-11-11 12:19:14 +01:00
Guenter Obiltschnig
fbcbf708aa
added OAuth20Credentials class, some minor OAuth10Credentials fixes
2014-11-11 12:10:53 +01:00
Guenter Obiltschnig
127f7a0ebe
testsuite fix
2014-11-10 23:51:28 +01:00
Günter Obiltschnig
af1f5757c3
updated VS project files, added OAuthTestSuite
2014-11-10 23:49:35 +01:00
Guenter Obiltschnig
069b74983d
moved TwitterClient to NetSSL samples
2014-11-10 22:56:35 +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
Guenter Obiltschnig
6c37d53b39
minor doc fix (add () to function names to allow PocoDoc to generate links
2014-11-07 09:45:59 +01:00
Günter Obiltschnig
54883cf47f
Merge pull request #598 from WesternStar/develop
...
Correcting erroneous documentation in raw socket and datagram socket
2014-11-07 09:43:47 +01:00
Günter Obiltschnig
478acee545
fixed IPv6 prefix handling issue on Windows
2014-11-07 08:33:30 +01:00
Alvin M.
c0959d4f0f
Update DatagramSocket.h
...
Misspelling
2014-11-06 10:19:23 -05:00
Alvin M.
4aac27b33c
Update RawSocket.h
...
Updating documentation
2014-11-06 10:18:47 -05:00
Alvin M.
7a8051f37d
Update DatagramSocket.h
...
Wording
2014-11-06 10:17:42 -05:00
Alvin M.
7d0d04ea45
Update DatagramSocket.h
...
Updated erroneous documetation
2014-11-06 10:16:37 -05:00
Günter Obiltschnig
5f380f0b80
Merge pull request #574 from siemens/cmake
...
Cmake updates
2014-11-06 11:17:45 +01:00
Guenter Obiltschnig
22f3ee8bee
style fixes
2014-11-06 11:12:14 +01:00
Günter Obiltschnig
e3a9f61bec
Merge pull request #577 from gevpa/bug_ipv6_scopeId
...
Fix several issues of Poco::IPAddress with supporting for IPv6 format.
2014-11-06 10:56:33 +01:00
Günter Obiltschnig
279370c5cb
Merge pull request #591 from karlr42/develop
...
Fix for issue #588
2014-10-31 19:56:11 +01:00
karlr42
5b646e5b9f
Fix description of stopAll's abortCurrent argument.
2014-10-31 17:35:50 +00: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
Pascal Bach
b69fafb84c
CMake: Create PocoConfig.cmake to make importable from other CMake projects
...
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +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
Günter Obiltschnig
f65d98f9c1
fixed cert chain verification and samples
2014-10-09 23:56:00 +02:00
Günter Obiltschnig
75919178fb
fixed a warning
2014-10-07 12:04:03 +02:00
Guenter Obiltschnig
c1976b8fd4
minor cleanup for consistency with 1.4.7
2014-10-06 14:39:54 +02:00
Günter Obiltschnig
6fe2e4fb11
VS project files: do not share intermediate directory between projects in same folder
2014-10-06 13:51:49 +02:00
Guenter Obiltschnig
fb2eba8eac
HTTPCookie: fix documentation for max age
2014-10-04 07:40:43 +02:00
Alex Fabijanic
a25877bfc2
- FIFOBuffer drain() problem #552
...
- StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
not thread safe #402
2014-10-03 16:12:42 -05:00
Guenter Obiltschnig
30e26b0d96
improved HTTPClientSession error handling for network errors handling during sending the request
2014-10-02 22:29:25 +02:00
Guenter Obiltschnig
cd67863852
#550 WebSocket fragmented message problem
2014-10-02 20:24:50 +02:00
Guenter Obiltschnig
5822122a12
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-09-29 12:17:40 +02:00
Guenter Obiltschnig
ff0e72c187
changed exception text
2014-09-29 12:17:21 +02:00
Günter Obiltschnig
a2617235fe
#538 more dtor fixes and some style fixes along the way
2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
135c10c0f5
#538 fixed ParallelSocketReactor dtor
2014-09-29 10:23:41 +02:00
Guenter Obiltschnig
cc52a8a3db
improved HTTP server handling of errors while reading header
2014-09-25 14:12:21 +02:00
Guenter Obiltschnig
544229302e
#538 prevent destructors from throwing exceptions
2014-09-19 09:46:49 +02:00
Günter Obiltschnig
ee25a49e9b
wait time fixes to make testsuite complete successfully on WEC2013
2014-09-16 12:20:27 +02:00
Günter Obiltschnig
63f4bfa54b
fixed NetworkInterface for WinCE
...
code cleanup in NetworkInterface class
IPAddress: do not format IPv6 loopback address as IPv4 compatible
workaround for WEC2013 getsockname() issue
testsuite fixes for WEC2013
2014-09-15 19:17:09 +02:00
Paul Rosset
069a980940
fixed websocket server to work with websocket.org
2014-08-29 10:28:05 +02:00
Pascal Bach
7950001803
cmake: Cleanup CMakeLists.txt for all components
...
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code
The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Aleksandar Fabijanic
c33809459d
Merge pull request #522 from bakercp/bugfix-mingw32
...
MinGW32 Compatibility Fixes.
2014-08-21 22:20:43 -05:00
Christopher Baker
de82c34b43
Update Makefile to include Net.cpp compilation unit.
2014-08-21 16:21:53 -05:00
Christopher Baker
067adb9f2d
Remove inlines to allow manual network inits.
2014-08-21 14:31:48 -05:00
Christopher Baker
e469e4fc62
Fix static init exceptions for MinGW*.
2014-08-21 14:27:51 -05:00
Christopher Baker
125310a26a
Fix for GH #518 - Missing Error.h and int.
2014-08-20 22:19:34 -05:00
Günter Obiltschnig
30bb18f394
added VS2013 project/solution files for Windows Embedded Compact 2013
2014-08-09 10:49:04 +02:00
Scott Davis
ad27e4b404
Remove troublesome last-ditch attempt to get IP address prefix
2014-07-21 10:29:17 -04:00
Alex Fabijanic
5d7d1d3c07
GH #481 : 2 warnings during Poco compile
2014-07-09 20:35:47 -05:00
Anton Yabchinskiy
f320ce0a3b
make HTTPAuthenticationParams::parse() add value on end of string
2014-07-08 12:32:43 +04:00
Aleksandar Fabijanic
3ef689e3f6
typo fix
2014-06-19 09:31:38 -05:00
Pascal Bach
975c30faf0
Add CTests for all components
2014-06-17 11:30:03 +02:00
Guenter Obiltschnig
62d69b7c6f
#454 also applies to FTPStreamFactory
2014-05-31 12:48:09 +02:00
Guenter Obiltschnig
83405d6812
fixed #454 : Fix: handle unhandled exceptions
2014-05-31 12:42:26 +02:00
Guenter Obiltschnig
db0999b2d6
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-05-30 16:10:43 +02:00
Guenter Obiltschnig
53d187a623
change NTP server use for testing to pool.ntp.org
2014-05-30 16:09:53 +02:00
Günter Obiltschnig
209a556d4e
fixed project file
2014-05-30 15:35:39 +02:00
Günter Obiltschnig
127d067ffb
fixed WEC2013 Net project files
2014-05-30 15:27:11 +02:00
Alex Fabijanic
e44df5a583
fixed GH #245 : MulticastSocket::joinGroup(const IPAddress&) not working
2014-05-29 20:57:19 -05:00
ashults
df5b6990a5
retrieve broadcast address and subnet mask from IEEE802.11 network interface
2014-05-28 18:03:54 +03:00
Guenter Obiltschnig
1732938168
fixed WEC2013 project files
2014-05-27 23:00:54 +02:00
Günter Obiltschnig
92434a2d97
re-generated project files (again)
2014-05-26 12:54:18 +02:00
Günter Obiltschnig
c0e1b8764e
regenerated project files
2014-05-26 09:02:22 +02:00
Aleksandar Fabijanic
731fb29fcc
Merge pull request #344 from RangelReale/htmlformcontentlength
...
HTMLForm Content-Length calculation
2014-05-21 22:27:12 -05:00
Josh Blum
f442148670
poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
...
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64
For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07:00
Guenter Obiltschnig
501aa9de1f
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-05-19 21:44:34 +02:00
Guenter Obiltschnig
e7c109cdc4
update MailMessage::setContent() documentation to state that only CRLF is a valid line terminator and single CR or LFs must not be used
2014-05-19 17:29:41 +02:00
Günter Obiltschnig
78039673a2
Merge pull request #437 from kblaschke/develop
...
Close listening socket before stopping running connections
2014-05-19 17:12:30 +02:00
Roger Meier
b0581433a7
LICENSE: add info about SPDX-License-Identifier usage and use it
...
fix: remove executable flag and change back to 100644 (was 100755)
Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Guenter Obiltschnig
a07df2c873
make NetworkInterface compile on WEC2013 again
2014-05-13 22:49:30 +02:00
Aleksandar Fabijanic
397aaea808
fix XP SP1 build number
2014-05-10 14:38:46 -05:00
Alex Fabijanic
ceef0c64ad
GH #328 : NetworkInterface on Windows XP
2014-05-10 14:32:45 -05:00
Scott Davis
a6ca6c06bc
Use correct prefix length field of Windows IP_ADAPTER_PREFIX structure
2014-05-10 00:52:33 -04:00
Roger Meier
628a06f718
LICENSE: add info about SPDX-License-Identifier usage and use it
...
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Aleksandar Fabijanic
84f37e8ff5
Merge pull request #408 from guruofquality/fix_ipv4_tryparse_for_addr_any
...
Net: for for IPv4 case skipping 0.0.0.0
2014-05-03 13:00:54 -05:00
kblaschke
6c37cad87d
Close listening socket before stopping running connections
...
If sending the serverStopped event to currently active connections
happens before actually closing the server socket, new connections will
be accepted in between, which in turn will stay open and prevent the
HTTP server from stopping completely.
2014-05-02 13:54:42 +02:00
Alex Fabijanic
ba3a8b08c5
GH #341 : Compiling poco-1.5.2 for Cygwin
2014-04-29 23:06:01 -05:00
Guenter Obiltschnig
e044d77717
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-04-23 13:30:51 +02:00
Guenter Obiltschnig
f8169eabac
updated SDK in WEC2013 project files
2014-04-23 13:30:27 +02:00
Günter Obiltschnig
85873d02c9
re-generated VS2013 testsuite projects without MFC
2014-04-21 22:10:34 +02:00
Günter Obiltschnig
12c7bb562d
re-generated vs100-vs120 project files
2014-04-21 10:50:51 +02:00
Guenter Obiltschnig
00cd9dccec
fixed IP address for ping tests (10.0.0.1 is reachable from build server)
2014-04-20 11:23:18 +02:00
Guenter Obiltschnig
fe6bf63656
TCPServer: do not reduce the capacity of the default ThreadPool
2014-04-09 18:12:46 +02:00
Günter Obiltschnig
b1bdf7f34c
Merge pull request #418 from teemu-kemppainen/develop
...
Using #include <linux/if.h> conflicts with other libraries and code that use #include <net/if.h>
2014-04-09 12:56:16 +02:00
Guenter Obiltschnig
008ef308e7
HTMLForm: in URL encoding, percent-encode more characters
2014-04-04 00:12:10 +02:00
Teemu Kemppainen
7de3349b57
Changed #include <linux/if.h> to #include <net/if.h>
...
Including linux/if.h instead of net/if.h causes conflicts with applications that use net/if.h.
2014-04-03 16:36:29 +03:00
Günter Obiltschnig
b2ba1dfb74
-added Windows Embedded Compact 2013 support
2014-03-17 14:36:17 +01:00
Josh Blum
1923c460a5
Net: for for IPv4 case skipping 0.0.0.0
2014-03-14 23:24:17 -07:00
Pascal Bach
f20994e2c3
Add missing files to CMakeLists.txt
...
This makes Poco compile with CMake again.
2014-03-12 13:58:32 +01:00
Guenter Obiltschnig
f29e5786cf
style fix
2014-03-09 15:53:04 +01:00
Günter Obiltschnig
d3d406dba8
Merge pull request #386 from cristiantm/fix-mailmessage
...
Fix for bug in MailMessage without content-transfer-encoding header
2014-03-09 15:45:29 +01:00
Guenter Obiltschnig
3ed477ce10
formatting fixes
2014-03-07 18:01:48 +01:00
karlr42
bf29f72cdf
Refinement to ThreadPool::addCapacity() usage in TCPServer
2014-03-07 12:22:27 +00:00
karlr42
b509b7e91a
Peroperly use the maxThreads specified in a TCPServerParameters to have the TCPServerDispatcher create a Threadpool with the correct capacity.
2014-03-06 19:44:54 +00:00
karlr42
715a09ff47
Added tests around the Priority attribute of cookies.
2014-03-06 16:29:17 +00:00
karlr42
7e2faf3bdf
Better formatting.
2014-03-06 15:23:02 +00:00
karlr42
e060f109fd
Added support for a 'Priority' attribute on cookies.
2014-03-06 15:20:36 +00:00
Aaron Kaluszka
fbdd7225ea
Fix typo to restore Net/TestSuite_x64_vs120 build
2014-03-03 19:30:23 -08:00
Cristian Thiago Moecke
6b168771e0
Fix for bug in MailMessage reported on forum
...
(http://pocoproject.org/forum/viewtopic.php?f=12&t=6106&sid=9283682f915ea148d86813ea140cd3c7 ).
MailMessage was not handling encoding when no Content-Transfer-Encodign
header was not present for MultiPart messages, resulting on an
Exception. His fix checks if the header is present before getting is
value, and defaults to 7bit encoding as in
http://www.w3.org/Protocols/rfc1341/5_Content-Transfer-Encoding.html
2014-02-22 13:41:42 -03:00
Cristian Thiago Moecke
c3ffe405cf
Fix to #380 . DialogSocket was crashing (SIGSEGV) when a timeout occours.
2014-02-21 03:44:54 -08:00
Aleksandar Fabijanic
4bf66cdb86
Fixed VS 2012 project files
2014-02-01 10:10:37 -06:00
Alex Fabijanic
a2a4cccbc8
Add NTP to VS project files
2014-01-22 21:34:47 -06:00
Aleksandar Fabijanic
b57ca16dd9
Merge pull request #364 from RangelReale/ntpclient
...
* NTP client implementation
2014-01-21 17:57:35 -08:00
Linquize
c2ca2ffb58
Build the libraries before their TestSuites
...
Fixes error LINK : fatal error LNK1104: cannot open file 'Poco*.lib'
2014-01-16 08:03:42 +08:00
Rangel Reale
e37b756157
* NTP client implementation
2014-01-13 15:04:27 -02:00
Günter Obiltschnig
f8c525206a
fixed project files
2014-01-11 23:40:06 +01:00
Yu Haidong
8e852b4776
Add extern "C" around <net/if.h> on HPUX platform.
...
On hpux platform, functions(such as `if_nametoindex` and `if_indextoname`) in <net/if.h> doesn't declare with `extern "C"`. Fix this bug by add `extern "C"`. See http://www.boost.org/doc/libs/1_40_0/boost/asio/detail/socket_ops.hpp
2013-12-24 11:01:20 +08:00
Guenter Obiltschnig
8b456cd293
add error code to TimeoutException, where available
2013-12-13 12:34:42 +01:00
Rangel Reale
0d2a839f79
* Multipart form content length calculation
...
* HTMLForm test
2013-12-04 18:19:20 -02:00
Guenter Obiltschnig
cc224cdd52
minor fix
2013-11-16 18:05:43 +01:00
Guenter Obiltschnig
72ed9a4997
updated TwitterClient to use new Twitter API 1.1 and OAuth
2013-11-16 17:30:16 +01:00
Guenter Obiltschnig
8f07db4aa3
various fixes - see CHANGELOG
2013-11-14 21:54:41 +01:00
Alex Fabijanic
1c732e9938
removed MFC dependencies (WinTestRunner) from test VS projects
2013-11-07 23:31:30 -06:00
Alex Fabijanic
4297d78621
VS 2013 projects/solutions
2013-11-05 23:11:28 -06:00
Günter Obiltschnig
148b7c26fb
Merge pull request #257 from syvex/feature/RemoteSyslogListenerAppAndHost
...
Add RemoteSyslogListener::LOG_PROP_APP and RemoteSyslogListener::LOG_PRO...
2013-09-13 07:43:14 -07:00
Sascha Zelzer
8ab80e8ba7
fix cmake build system; fixes #274
2013-08-29 00:46:11 +02:00
Mike Naquin
5c0377f697
Add RemoteSyslogListener::LOG_PROP_APP and RemoteSyslogListener::LOG_PROP_HOST so that we can more easily access these special log message properties.
2013-08-08 09:18:34 -05:00
Guenter Obiltschnig
981b0a1ae4
fixed GH# 251: HTTPStreamFactory::unregisterFactory missing implementation?
2013-08-02 18:07:36 +02:00
Guenter Obiltschnig
915265f2cb
integrated some changes from GH# 249
2013-07-30 14:31:36 +02:00
Aleksandar Fabijanic
a49f5da54b
GH #240 : VERY strange error only when including Format.hinclude Alignment.h early
...
GH #240 : VERY strange error only when including Format.h (include
Alignment.h early for consistency)
2013-07-22 01:10:36 -05:00
Guenter Obiltschnig
6cfa1f0bbc
re-applied fix for GH# 172 which got lost in previous commit
2013-07-18 14:27:59 +02:00
Guenter Obiltschnig
97e5ff5774
- fixed GH# 233: ServerSocket::bind6(Poco::UInt16 port, bool reuseAddress, bool ipV6Only) does not work
...
- fixed GH# 231: Compatibility issue with Poco::Net::NetworkInterface
- removed unneeded zlib sources
2013-07-18 13:31:27 +02:00
Günter Obiltschnig
4bac0a6333
Merge pull request #237 from syvex/hotfix/sigpipe
...
Fix for Sockets and SIGPIPE
2013-07-18 03:21:02 -07:00
Mike Naquin
3755e6e422
Check for EPIPE error on UNIX systems in SocketImpl::error
2013-07-17 09:17:12 -05:00
Mike Naquin
531a9630a1
Ignore SIGPIPE on UNIX to keep sockets from crashing
2013-07-17 09:11:51 -05:00
Guenter Obiltschnig
cab19b21a4
improved WebSocket closing behavior
2013-06-25 13:56:28 +02:00
Guenter Obiltschnig
affb7ce5a4
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2013-06-25 13:54:46 +02:00
Aleksandar Fabijanic
376b46f60e
cookie age test fix
2013-06-23 22:14:17 -05:00
Guenter Obiltschnig
5444ac07f5
client WebSocket fixes
2013-06-23 09:49:15 +02:00
Guenter Obiltschnig
364536c5fd
improved WebSocket client error reporting
2013-06-22 09:31:46 +02:00
karlr42
57519d0fd4
Fix build errors
2013-06-18 17:22:41 +01:00
karlr42
9272b88696
Fix build errors
2013-06-18 17:13:51 +01:00
karlr42
fb9e90dacd
Synced HTTPCookieTest
2013-06-18 16:27:28 +01:00
karlr42
af8c1b20a4
Merge remote-tracking branch 'upstream/develop' into develop
...
Conflicts:
Net/testsuite/src/HTTPCookieTest.cpp
Net/testsuite/src/HTTPCookieTest.h
2013-06-18 16:20:27 +01:00
karlr42
5a70971691
Fixed typo in comments
2013-06-18 15:37:30 +01:00
Karl Reid
d3a61a0b8a
Reworked cookie expiry testsuite to be less brittle.
2013-06-18 15:12:04 +01:00
Aleksandar Fabijanic
8961c4c04b
Merge pull request #195 from syvex/RemoteSyslogChannelReset
...
Allow RemoteSyslogChannel to be used again after being closed.
2013-06-18 06:49:45 -07:00
Mike Naquin
7f17255ed8
Add unit test for opening/closing RemoteSyslogChannel
2013-06-18 08:35:52 -05:00
Aleksandar Fabijanic
0c50f6241c
code tidy-up
2013-06-17 21:56:53 -05:00
Karl Reid
c871be9380
Fix indentation.
2013-06-17 21:59:56 +01:00
Karl Reid
c8b7b7ee9e
Change HTTPCookie to support expiry times in the past.
2013-06-17 21:55:59 +01:00
aleks-f
b1161bdb1e
network test socket buffer size fix for VS2010/Win7
2013-06-16 18:26:39 -05:00
Guenter Obiltschnig
fc08238666
added another ctor to WebSocket
2013-06-16 09:23:57 +02:00
Guenter Obiltschnig
9372096447
- fixed a potential memory leak in Poco::Net::HTTPClientSession if it is misused
...
(e.g., sendRequest() is sent two times in a row without an intermediate call to
receiveResponse(), or by calling receiveResponse() two times in a row without
an intermediate call to sendRequest()) - GH #217
- removed a few unnecessary protected accessor methods from Poco::Net::HTTPClientSession
that would provide inappropriate access to internal state
2013-06-12 20:46:37 +02:00
Mike Naquin
a9284393b0
Allow RemoteSyslogChannel to be used again after being closed.
2013-05-20 12:26:04 -05:00
Aleksandar Fabijanic
a65d86a0b2
GH160: MultipartReader ignores first part, if preamble is missing
...
fixed GH #160 : MultipartReader ignores first part, if preamble is
missing
2013-04-28 13:24:21 -05:00
Alex
c6207985d8
GH #147 : NetworkInterface (linux): MAC address not always available
2013-04-23 21:46:57 -05:00
Aleksandar Fabijanic
111c2cc52a
GH #146 : NetworkInterface (windows): IP_ADAPTER_IPV4_ENABLED
...
- GH #146 : NetworkInterface (windows): IP_ADAPTER_IPV4_ENABLED
- added Windows 8 _WIN32_WINNT macro
- removed __cplusplus version check for C++11 (not reliable)
2013-04-22 22:31:43 -05:00
Guenter Obiltschnig
7264336171
fixed GH#155: MailOutputStream mangles consecutive newline sequences
2013-04-22 07:18:23 +02:00
Guenter Obiltschnig
6f863fee09
fixed GH#155: MailOutputStream mangles consecutive newline sequences
2013-04-21 21:48:10 +02:00
Lau Bakman
66cb89ba9d
Added adapterName() to NetworkInterface
2013-04-10 12:52:44 +02:00
Aleksandar Fabijanic
639842fd29
simplify default TCP/HTTPServer construction
2013-03-30 15:56:46 -05:00
Aleksandar Fabijanic
5cde6d34df
MSVC 7.1 build fixes
2013-03-30 13:02:16 -05:00
alex
0ce9360734
FreeBSD network test run
2013-03-24 20:50:42 -05:00
Aleksandar Fabijanic
22b658a838
GH #68 : DNS::hostByAddress can be slow
...
GH #68 : DNS::hostByAddress can be slow - added parameters in the
interface to pass hint flags to hostByAddress() and hostByName() calls
2013-03-24 14:36:28 -05:00
Aleksandar Fabijanic
3abf1cc73c
GH #136 : EchoServer issue.
2013-03-23 23:45:02 -05:00
Marian Krivos
5c8d8bf9f6
cmake fix for NET
2013-03-21 21:53:28 +01:00
aleks-f
95e713045e
linux/gcc build fixes
2013-03-17 12:57:11 -05:00
Alex
1a474584c3
mac/clang build fixes
2013-03-17 12:41:15 -05:00
aleks-f
2392f34974
GH #127 : Eliminate -Wshadow warnings
...
- fixed GH #127 : Eliminate -Wshadow warnings
- SocketAddress small object optimization
2013-03-17 01:28:01 -05:00
aleks-f
ea57bf8207
renamed getPartStore() to createPartStore()
2013-03-11 20:49:36 -05:00
aleks-f
ad077b8f3f
MailMessage: attachments saving and read/write
...
MailMessage: attachments saving support and consistent read/write
2013-03-10 23:36:04 -05:00
aleks-f
46c3d74c5f
RecursiveDirectoryIterator and ListMap
...
1) Recursive and SortedDirectoryIterator
- added to VS projects
- fixed some style/formatting
- fxed windows tests
2) Added ListMap
Poco::ListMap is a std::mulitimap-like container that preserves
insertion order (needed to prevent Net message headers)
2013-03-10 12:25:47 -05:00
aleks-f
4e3ff72803
GH 109: Bug in SMTPClientSession::loginUsingPlain
...
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
2013-02-27 12:41:17 -06:00
aleks-f
c311263eed
align with 1.4.6
2013-02-27 00:32:31 -06:00
aleks-f
03530311b8
GH71: WebSocket and broken Timeouts
...
fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
2013-02-26 22:39:17 -06:00
aleks-f
6d613869cc
GH110: WebSocket accept() fails when Connection header contains multiple tokens
...
fixed GH #110 : WebSocket accept() fails when Connection header contains
multiple tokens
2013-02-26 12:09:36 -06:00
Marian Krivos
9349786415
cmake and gcc warning fixes
2013-02-19 06:16:12 +01:00
aleks-f
7354713433
GH #93 : ParallelSocketAcceptor virtual functions
...
- fixed GH #93 : ParallelSocketAcceptor virtual functions
- updated CHANGELOG
2013-02-18 14:31:27 -06:00
aleks-f
9378680c0b
Merge remote-tracking branch 'origin/ip-address-soo' into develop
2013-02-17 16:33:44 -06:00
Guenter Obiltschnig
0ab5c9dcf6
added DNS::reload()
2013-02-14 16:35:04 +01:00
Guenter Obiltschnig
b3a3ece54e
HTTPSession: always reset buffer pointers on connect to clear any leftover data from previous requests
2013-02-14 16:27:47 +01:00
aleks-f
4bcddad43e
auto-init for db back-ends
...
Auto initialization for all DB back-ends and some tidy-up for network
windows auto initialization
2013-02-10 09:06:54 -06:00
aleks-f
d6042065ec
Auto init for Net and SQLite (win)
...
Auto init for Net and SQLite (only tested on Windows)
2013-02-09 22:39:07 -06:00
aleks-f
21da0129b6
Dynamic::Var SOO
...
Dynamic::Var small object optimization and some refactoring
2013-02-05 22:12:21 -06:00
Alex
1523a87926
IPAddress Mac clang compile
2013-02-03 20:19:14 -06:00
aleks-f
ba9d8574d3
few more fixes and refactoring
2013-02-02 15:10:20 -06:00
aleks-f
911f22508e
Any SOO
2013-01-31 21:12:13 -06:00
aleks-f
69f5d4e25e
destructor call and some cleanup
2013-01-24 23:34:40 -06:00
aleks-f
f9243c2073
Removed old net initialization code
2013-01-17 23:01:13 -06:00
aleks-f
47af51fdfb
First stab (Windows) at IPAddress SOO
2013-01-15 22:57:27 -06:00
aleks-f
76a7e2e716
GH56: Need a way to disable *_API macros with GCC
...
GH #56 : Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
aleks-f
a401cdf892
spaces -> tabs
2013-01-06 21:19:38 -06:00
aleks-f
5970207b06
GH #49 : NetworkInterface::list doesn't return MAC
...
GH #49 : NetworkInterface::list doesn't return MAC addresses
2013-01-05 19:56:34 -06:00
aleks-f
73a3a5e288
added POCO_ENOERR
...
silence gcc warning and shiled from accidentally throwing on no error
2013-01-05 15:00:25 -06:00
aleks-f
0d9e18ba7c
Merge remote-tracking branch 'origin/ParallelReactor' into develop
2013-01-05 14:33:43 -06:00
aleks-f
6b832a2485
change sleep to yield
2013-01-05 12:04:32 -06:00
alex
161ea4ec18
unbundled build fixes
2013-01-05 00:04:09 -06:00
aleks-f
6b03dbeeeb
revert typename to class
2013-01-04 19:53:51 -06:00
aleks-f
959e5725a3
gcc/clang compile fix
2013-01-04 19:49:28 -06:00
aleks-f
f0cefd2976
added ParallelSocketAcceptor and Reactor w/ tests
...
ParallelSocketAcceptor and Reactor provide parallel (threaded) data
handling
2013-01-03 23:41:38 -06:00
Aleksandar Fabijanic
666fe51a7b
fixed VS90 Foundation projects
2012-12-26 22:24:49 -06:00
aleks-f
9f76b49ac0
some last minute changes
...
- ifdef network initialization linking for 64-bit
- corrected too largument in windows build script shortcuts
- added LineEndingConverter sample
2012-12-26 18:30:52 -06:00
Alex
322316608b
Cygwin build (disable NetworkInterface)
...
#idef'd out all references to NetworkInterface to be able to compile on
platforms where it is not supported (e.g. Cygwin, vxWorks)
2012-12-24 01:11:27 -06:00
aleks-f
007659a107
exclude NetworkInterface where not supported
...
Exclude NetworkInterface and MulticastSocket on platforms where we do
not have network interface detection implemented
2012-12-23 16:05:16 -06:00
aleks-f
8fe3a398af
Net Windows automatic (un)initialize
...
automatic network (un)initialization on windows
NumericString 64-bit compile/warning fixes
2012-12-19 00:38:18 -06:00
Mathäus Mendel
c1c01feef4
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2012-12-16 14:40:30 -02:00
Mathäus Mendel
0b4d541b5b
Removed shotgun initialization from some variables
...
Shotgun initialization is when a variable is initialized twice needlessly, leading to performance gaps and/or code inconsistency.
2012-12-16 14:30:52 -02:00
Aleksandar Fabijanic
1e2f5d1f93
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2012-12-15 21:57:25 -06:00
Aleksandar Fabijanic
55de6b17cf
Merge remote-tracking branch 'origin/SMTPClientSession-send-multipart' into develop
2012-12-15 21:56:59 -06:00
aleks-f
1ea4b41dad
added ifconfig to samples Makefile
2012-12-14 15:30:24 -06:00
aleks-f
60b0879b50
updated sample description
2012-12-14 14:44:44 -06:00
aleks-f
f4121bcb92
few ifconfig sample fixes
2012-12-14 12:34:45 -06:00
aleks-f
47b8da7362
ifconfig sample
...
ifconfig sample (contribution by Philip Prindeville)
2012-12-13 22:53:47 -06:00
aleks-f
ef9cda6666
GH #26 : Cannot compile on gcc
...
GH #26 : Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
aleks-f
98c3709b59
SF #111 FTP Client logging
...
apparently code that never got transferred from svn trunk
(see https://sourceforge.net/p/poco/patches/111/ )
2012-12-11 23:07:38 -06:00
aleks-f
2b1de7e427
SF#215 Wrong return type in SocketConnector.h
2012-12-11 21:47:47 -06:00
aleks-f
25ea8ba735
SF542 SocketAddress() needs port-only constructor
2012-12-11 21:39:20 -06:00
Aleksandar Fabijanic
1b173da717
write entire input FIFO
...
remove length argument from _fifoOut.write(), defaulting to the
entire _fifoIn content write attempt (including any previous call "leftovers")
2012-12-11 10:59:51 -06:00
Mathäus Mendel
e3649153b8
Fixed build with CMake
...
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02:00
aleks-f
eaa74307a6
see CHANGELOG
...
- added Poco::istring (case-insensitive string) and Poco::isubstr
(case-insensitive substring search)
- improved SQLite execute() return (affected rows) value
- added SQLite sys.dual (in-memory system table)
- applied SF Patch #120 : The ExpireLRUCache does not compile with a
tuple as key on Visual Studio 2010
- fixed SF Bug #599 : JSON::Array and JSON::Object size() member can
implicitly lose precision
- fixed SF Bug #602 : iterating database table rows not correct if no
data in table
- fixed SF Bug #603 : count() is missing in HashMap
- fixed GH #23 : JSON::Object::stringify throw BadCastException
- fixed GH #16 : NetworkInterface::firstAddress() should not throw on
unconfigured interfaces
- Android compile/build support (by Rangel Reale)
- TypeHandler::prepare() now takes const-reference
2012-12-04 23:33:44 -06:00
aleks-f
401415773f
Moved GCC ifdefs to Platform_POSIX
...
Moved GCC ifdefs added for Android fron SocketDefs.h to Platform_POSIX.h
2012-12-02 22:37:02 -06:00
Aleksandar Fabijanic
6d2881ef34
Merge pull request #3 from RangelReale/mobilefixes
...
Android and iOS fixes
2012-12-02 20:28:22 -08:00
aleks-f
49a0b4116e
Document NetworkInterface::firstAddress() throw
...
Documented NetworkInterface::firstAddress() throwing NotFoundException;
see the pull request for details:
https://github.com/pocoproject/poco/pull/16
2012-12-02 22:20:12 -06:00
aleks-f
134558f926
double-conversion floating-point conversions
...
- using double-conversion library for floating-point numeric/string
conversions
- added string replace[InPlace], remove[InPlace]
- reverted overwritten FileChannel purge age and count features
- file size value checks in SMTPClient
2012-12-01 14:10:09 -06:00
Patrick White
6092a233d3
Add cmakefiles to gitignore, and remove Route.cpp from cmake file.
2012-11-28 14:48:50 -05:00
aleks-f
a259991568
added ListMap
...
ListMap is a map that does not order elements; used in
NameValueCollection to prevent reordering of message headers
2012-11-15 00:16:31 -06:00
Aleksandar Fabijanic
671b537500
Merge pull request #4 from RangelReale/cmakefixes
...
CMake fixes
2012-11-11 16:06:04 -08:00
aleks-f
ff0d090798
added more send* members
...
Added:
void sendMessage(std::istream& istr);
void sendAddresses(const std::string& from, const Recipients&
recipients);
void sendData();
2012-11-11 16:38:42 -06:00
aleks-f
744ea4bc7d
Removed Route from Makefiles
2012-11-11 15:04:31 -06:00
aleks-f
48c856d37d
Removed Route
...
Removed Route (will be introduced in a separate branch and subsequently
library)
2012-11-11 14:58:08 -06:00
Rangel Reale
8101b850dc
- Android compile fixes
2012-11-11 16:49:07 -02:00
Rangel Reale
86b79a6dff
* add POCO_STATIC definition in CMake
...
* Foundation must compile .mc file in CMake build
* Net must list all files in CMake build file
2012-11-11 14:17:28 -02:00
Guenter Obiltschnig
514566ecd7
removed .vmsbuild files, which are no longer maintained
2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
8b91562dbd
more line ending fixes
2012-11-11 11:07:27 +01:00
Guenter Obiltschnig
87d7739f3d
removed .vcxproj.user files
2012-11-11 10:53:02 +01:00
Guenter Obiltschnig
79eab26377
the great line endings cleanup
2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
e36800c76d
- fixed SF# 594: Websocket fails with small masked payloads
2012-11-10 11:47:26 +01:00
Alex
fefe3b5d7a
Route OSX compile and tests
2012-11-08 22:56:25 -06:00
aleks-f
15d27daea6
Route on Windows
...
Route on Windows tentatively complete, Mac/Linux TODO
2012-11-06 22:17:17 -06:00
aleks-f
325a98a91f
Net::Route (windows compile)
...
Net::Route (windows compile only)
2012-11-04 23:25:57 -06:00
Guenter Obiltschnig
4d3e02df73
iOS fixes
2012-10-15 11:04:19 +00:00
Guenter Obiltschnig
c49f14040c
WinCE fixes
2012-10-15 09:45:39 +00:00
Guenter Obiltschnig
6b439c9063
moved image to res directory
2012-10-14 21:46:08 +00:00
Guenter Obiltschnig
1be9efe2dc
fixed Makefile
2012-10-14 21:22:56 +00:00
Guenter Obiltschnig
273b30f56a
SMTPChannel added to Makefile
2012-10-14 21:20:38 +00:00
Guenter Obiltschnig
4c42e5de2c
added SMTPChannel to Net project file
2012-10-14 19:28:02 +00:00