Commit graph

67 commits

Author SHA1 Message Date
Thulinma
3987cfec3f Support for WebRTC data tracks (output only, for now), rewrite of dTLS integration (now part of socket lib), support for multi-path WebRTC connections 2024-02-22 17:45:44 +01:00
Thulinma
2a8f2f75d3 Implemented UDP socket packet send pacing, WebRTC now makes use of this new feature. 2023-06-15 12:34:25 +02:00
Thulinma
1df76eff16 URIReader optimizations/improvements, support for getHost/getBinHost functions, socket lib improvements + related improvements 2023-04-10 14:31:26 +02:00
Thulinma
4df771eb02 Optimization that allows Socket::Buffer to write directly to a Util::ResizeablePointer 2023-04-10 14:31:26 +02:00
Marco van Dijk
8ac486b815 Completed new sessions system
Co-authored-by: Thulinma <jaron@vietors.com>
2022-10-05 03:13:52 +02:00
Marco
dd2382e858 Added SDP output 2022-02-21 15:30:16 +01:00
Thulinma
a7218bc2f8 Fixes for socket remote address 2022-01-23 00:00:03 +01:00
Thulinma
fe6a0777a5 Added socket lib strict mode spool, used in WebSocket::readFrame 2021-10-19 22:29:42 +02:00
Thulinma
f88a8fc51c Downloader improvements:
- Added metrics to Downloader::post (only at HIGH level for successful requests)
- Improved downloader timing
- Robustness improvements
2021-10-19 22:29:41 +02:00
Thulinma
540694df1f Socket::UDPConnection now uses its currently bound socket type for destinations 2021-10-19 22:29:41 +02:00
Thulinma
3d26741148 Socket library and Config library restructuring, improvement to UDP socket reliability 2021-10-19 22:29:41 +02:00
DDVTech
fccf66fba2 Restyle 2021-10-19 22:29:40 +02:00
Thulinma
dfcb4ecb06 Fixed socket lib compile without SSL 2021-08-09 11:38:20 +02:00
Thulinma
66dff82144 Fixed invalid read bug in socket library, added some static accessors 2020-09-14 10:56:21 +02:00
Thulinma
b057698018 Added api_endpoint API call to give local API endpoint address, added responses to local-only UDP API, added Socket::getSocketName(), added ability to discover current listening interface address and port for serveSocket-style functions 2020-07-15 19:29:16 +02:00
Thulinma
b4fb0ff4a2 Socket library error handling 2020-03-09 19:58:26 +01:00
Thulinma
0e7c7ce3dd Backported socket library edits from LL branch 2019-10-02 14:09:49 +02:00
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