Commit graph

50 commits

Author SHA1 Message Date
Thulinma
7d83edd078 Socket lib restyle and fixes backported from 3.0 2019-08-14 12:08:24 +02:00
Thulinma
cc9e970ea3 More backports from Pro edition, among which HTTPS/TLS support 2019-07-13 14:23:59 +02:00
Thulinma
ea443945fe Generalized Util::Config::is_restarting for rolling restarts, added rolling restart support to listening socket outputs 2019-05-23 13:28:30 +02:00
Thulinma
6727a6e37a Added getBoundAddress() function to Socket::Connection to get the locally bound address for a socket. 2019-04-29 11:03:56 +02:00
Thulinma
6a6dd5d7ed Socket library updates to support detecting sockets passed as FDs, removed use of peek() in HTTP request handler, fixed 100% CPU usage problem for unfinished HTTP requests 2018-11-28 11:59:54 +01:00
Thulinma
bd27540ca8 Updated socket library with isLocalhost and isLocal functions 2018-07-09 14:56:33 +02:00
Thulinma
fc707da6b0 Socket::Connection::skipBytes function implemented 2018-01-24 18:59:55 +01:00
Thulinma
5e3df09831 SSL socket class, downloadertest application, HTTP::Downloader support for HTTPS connections, authentication, proxies and POST requests 2017-11-01 19:29:47 +01:00
Thulinma
fcffcc688f Fix socket header mistake 2017-07-10 14:18:59 +02:00
Thulinma
fe805f40a8 Improved isAddress() function for sockets with masking support, added several socket convenience functions. 2017-07-05 13:44:50 +02:00
Thulinma
05387f01fb Optimized socket library, added generic splitter function 2017-06-09 20:10:01 +02:00
Thulinma
a82be2775f Added local-only auto-authorize for API 2017-04-18 12:20:20 +02:00
Thulinma
23f0c388b5 Added ability for sockets to override their byte counters 2017-02-02 11:29:53 +01:00
Thulinma
dd8eed7920 Various UDP socket fixes 2017-01-31 14:41:16 +01:00
Thulinma
629b24853a Added hostBytesToStr function to socket library, fixed code style, fixed UDP Cygwin support 2016-11-03 15:15:42 +01:00
Thulinma
3639705ef6 Improved UDP socket binding, multicast and IPv6 2016-09-22 09:41:56 +02:00
Thulinma
aedc8df494 Added UDP getDestPort function 2016-09-02 14:48:19 +02:00
Thulinma
cc93a8fa4e Socket internal data counters now 64 bits unsigned integers 2016-06-06 12:18:48 +02:00
Thulinma
243595ff4d UDP socket edits by Erik Zandvliet 2016-02-12 16:16:49 +01:00
Thulinma
d56e7f1408 Added a proxy in Output for getting the host (by Erik Zandvliet) 2016-02-12 15:51:54 +01:00
Thulinma
5ae0cb42a9 UDP binds can now bind to a specific interface, fixed IPv4 support for UDP sockets on IPv6-capable machines. 2015-11-24 22:46:37 +01:00
Thulinma
21c083ccc1 Added getPureSocket call to socket library for detecting piped/real socket difference. 2014-12-07 00:20:35 +01:00
Thulinma
a6a6e296bc Fixed hostname in statistics to properly be in packed binary format. 2014-10-22 16:50:55 +02:00
Thulinma
d442b4e2dc Performance improvements. Removed the following deprecated functions from Socket::Connection class: flush(), Send(*) 2014-09-24 16:31:56 +02:00
Thulinma
8c01ec8897 Such style. (Code style unification) 2014-06-18 10:39:27 +02:00
Thulinma
57bcd8f25c Fixes and new functionality by Wouter Spruit, mostly for the HTTP proxy rewrite. 2014-06-18 10:38:40 +02:00
Thulinma
54c31922f7 Implemented UDPConnection::getSock() 2014-05-04 01:25:36 +02:00
Thulinma
0e5d838a20 Shared Memory updates 2014-04-04 02:08:05 +02:00
Thulinma
069ae2c855 Added GetDestination UDPConnection call, changed behaviour to automatically set destination to source of last received packet. 2014-02-18 16:57:03 +01:00
Thulinma
7f1b28bd6f Updated/added Socket::UDPConnection documentation, added support for binding to a port and for receiving data. 2014-02-04 18:20:40 +01:00
Thulinma
773234f231 Added UDP sending support to socket library. 2014-02-03 18:34:33 +01:00
Thulinma
d81bc24155 Implemented Util::Config::serveForkedSocket(), added Socket::Connection::drop() function for dropping unused sockets. 2014-01-27 18:02:58 +01:00
Thulinma
12a0c1942c Removed ALL the compile warnings! 2014-01-05 15:26:41 +01:00
Thulinma
a7fa0eedcb Socket library optimization. 2013-10-17 14:25:24 +02:00
Thulinma
ea71dd2d5c Some small optimizations, added reference functions to JSON lib, fixed config commandline options. 2013-08-12 13:18:48 +02:00
Thulinma
54a19d60e6 Added setBlocking to Socket::Server. 2013-04-10 22:18:12 +02:00
Thulinma
97b51ff39a Augmented Socket::Buffer features. 2013-03-12 16:19:46 +01:00
Thulinma
1baff448f2 Assorted bugfixes to DTSC and Socket libraries. 2013-02-19 16:06:39 +01:00
Thulinma
38ef8704f8 Global cleanups and standardization of code style. 2012-12-11 11:03:33 +01:00
Thulinma
c019dc6e9f Added new timing library, added Socket::Buffer support to RTMP library. 2012-09-18 15:48:44 +02:00
Thulinma
c95bf32fae Performance improvements and fixes as well as new high-performance sending functions in the socket library. 2012-09-17 16:47:58 +02:00
Thulinma
4140b04608 Various optimalisations to improve performance. More coming soon. 2012-09-16 01:17:08 +02:00
Thulinma
2afb88c8de Overloaded Socket::Connection::Send with new versions and now requires arguments to be passed by reference. Also fixed a ::close bug and hugely improved performance. 2012-08-31 16:56:50 +02:00
Peter Wu
9c0aa93bfd Move Socket::*Stream > Util::Stream::* 2012-08-30 12:23:40 +02:00
Thulinma
870f71333b Updated socket library to include socket simulation for filedescriptors. 2012-08-30 11:19:46 +02:00
Thulinma
0e0ecb1bdf Stripped some unused code from Socket::Connection and FLV::Tag, made some Socket::Connection methods private. 2012-08-26 20:08:16 +02:00
Thulinma
95a11c88d5 Add host overwriting functionality to Socket::Connection. 2012-08-25 22:07:15 +02:00
Thulinma
942a4136d2 Allow HTTP Connector to reconnect to different buffers - closes #31 2012-06-17 12:56:12 +02:00
Thulinma
ccfcdeba29 Should fix socket binding issues in cygwin. 2012-05-14 18:18:15 +02:00
Thulinma
ad410a2e79 Convert to autotools build system for cleanness (part1). 2012-05-08 19:19:42 +02:00
Renamed from util/socket.h (Browse further)