Thulinma
c6c20c3e7c
🤦
2024-07-03 12:00:12 +02:00
Alex Henrie
ea47e19129
Fix spelling mistakes identified by Lintian
...
Co-authored-by: Thulinma <jaron@vietors.com>
2024-05-16 17:28:03 +02:00
Thulinma
dbafa808b8
Fix Cygwin compilation:
...
- Fix various incompatibilities and differences between Linux and Cygwin builds
- Make usrsctp an optional dependency
- Fix building without SSL
- Add new secure random bytes function, use it for websockets
- Switch to libsrtp2 v2.6.0 (currently latest release)
- Add patch that makes latest libsrtp2 build in latest Cygwin
- Add patch that makes srt build in latest Cygwin
- Correctly allow linking libsrtp2 and srt to local mbedtls version
2024-04-25 12:44:38 +02:00
Thulinma
db30be38c5
Fix header includes to be a bit more consistent
2024-04-25 12:44:38 +02:00
Gijs Peskens
ebe783666f
Support for upstream mbedtls versions 2 and 3 when compiled with SRTP support
...
Co-authored-by: Thulinma <jaron@vietors.com>
2024-02-22 17:45:47 +01:00
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
Marco van Dijk
d040421df9
WHIP: packet pacing fixup for WHIP/WHEP output
2023-12-13 12:58:13 +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
Thulinma
4181b52857
Silence more compile warnings, fix compilation on MacOS
2022-10-27 14:50:38 +02:00
Thulinma
0674443066
Fix push outputs to use the correct remote addresses
2022-10-10 14:16:48 +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 van Dijk
8aceff951d
Fix connections getting closed on interrupted system call
2022-08-31 14:29:01 +02:00
Thulinma
508506c241
Fixes to UDP socket behaviour
2022-08-02 12:47:09 +02:00
Thulinma
6cb734357a
Fix socket remote address for accepted sockets
2022-05-09 10:08:53 +02:00
Marco
3e73508a6a
Added SDP input
2022-02-21 15:51:09 +01: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
ed1d690610
Fix socket connect issue on interrupt
2021-10-19 22:29:42 +02:00
Thulinma
6b9e9d0c3b
Made SSL sockets more silent
2021-10-19 22:29:41 +02:00
Thulinma
37af199a1c
Added client mode support to HTTP::Websocket, added websockettest binary, added ws/wss protocol support to HTTP::URL, added support for websockets and socket overriding to HTTP::Downloader, fixed HTTP parser not handling response codes 1XX, 204 and 304 correctly.
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
6307428476
Attempt to make cygwin compiles work again
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
39c0f72f29
UDP socket rebinding fix + clarified debug message when switching address family
2020-09-24 19:49:26 +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
5c6341a92a
Made all instances of gai_strerror recursively call strerror as needed
2020-03-12 16:19:19 +01:00
Thulinma
4a621ea5c0
Fixed IP detection over HTTPS output
2020-03-12 16:18:55 +01:00
Thulinma
b4fb0ff4a2
Socket library error handling
2020-03-09 19:58:26 +01:00
Thulinma
95847ffb5b
Fixed memory leak in Socket::isLocal()
2020-02-24 16:30:28 +01:00
Thulinma
dcc50efbd0
Fixed compiling of -DDEBUG=3 -DNOSSL=1 option combination 😒
2019-10-03 15:26:04 +02:00
Thulinma
9a3bddef19
Windows multicast socket fix
2019-10-03 15:25:59 +02: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
7b12a5a2b5
Lowered debugging message verbosity somewhat
2019-08-12 10:42:26 +02:00
Thulinma
6dc1b500d1
Fixed compiling without SSL enabled
2019-08-04 14:02:34 +02:00
Thulinma
cc9e970ea3
More backports from Pro edition, among which HTTPS/TLS support
2019-07-13 14:23:59 +02:00
Thulinma
5154f88de3
Tweaked verbosity of lost connections in HTTP::Downloader and closed connections in Socket::SSLConnection.
2019-06-21 21:21:17 +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
8d17d5f6c4
Removed FAIL message when trying ::accept() an already closed Socket::Server.
2019-05-23 12:37:05 +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
Erik Zandvliet
2607113727
Library code style update + some minor backports from Pro edition
2018-12-04 13:11:48 +01: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
1b137ad3c3
Fixed all-interface IPv6 sockets being created when attempting to listen on a non-IPv6 interface address
2018-10-07 17:01:06 +02:00
Thulinma
bd27540ca8
Updated socket library with isLocalhost and isLocal functions
2018-07-09 14:56:33 +02:00
Ramkoemar
1240f6bbaa
Fixed skipBytes implementation in Socket::Connection
2018-05-29 13:47:30 +02:00