481 Commits

Author SHA1 Message Date
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
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
Josh Blum
1923c460a5 Net: for for IPv4 case skipping 0.0.0.0 2014-03-14 23:24:17 -07: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
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
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
Rangel Reale
e37b756157 * NTP client implementation 2014-01-13 15:04:27 -02: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
8f07db4aa3 various fixes - see CHANGELOG 2013-11-14 21:54:41 +01: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
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
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
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
c8b7b7ee9e Change HTTPCookie to support expiry times in the past. 2013-06-17 21:55:59 +01: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
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
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
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