Commit graph

106 commits

Author SHA1 Message Date
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
Thulinma
4b13ff5747 Fixed sockets. Whoops. 2018-01-30 10:24:38 +01: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
c7ab3ac858 UDP socket library improvements 2017-10-24 13:59:12 +02:00
Thulinma
169830bd15 Added SO_KEEPALIVE to all socket connections by default. 2017-07-22 18:51:29 +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
0014f8b41b UDP bind debug message added on INFO level for success (same as TCP bind) 2017-05-15 11:15:40 +02:00
Thulinma
79b7ef3300 Lowered debug level of socket address comparisons 2017-05-01 11:53:31 +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
d413866911 Removed extra spaces in HTTP TS output, fixed socket class to work with unidirectional files 2016-12-28 16:43:48 +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
8a4ac27577 Re-enabled IPv6 UDP for Cygwin 2016-11-03 11:17:33 +01:00
Thulinma
b7dac7a6b1 Removed IPv6 multicast from Cygwin builds 2016-11-01 10:51:18 +01:00
Thulinma
e309d0358c Better mac support. 2016-09-27 13:51:12 +02:00
Thulinma
3fd2bed4b3 Better header includes for sockets 2016-09-27 13:37:45 +02: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
425aa3059f Optimized waiting for streams/tracks. 2016-06-06 16:31:06 +02:00
Thulinma
cc93a8fa4e Socket internal data counters now 64 bits unsigned integers 2016-06-06 12:18:48 +02:00
Thulinma
4c9c6fa7ba Backported various little edits from Pro edition. 2016-06-02 14:07:21 +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
be3a852fb0 Made UDP socket binding more robust. 2015-11-24 16:57:23 +01:00
Thulinma
8e94528d6f Improved signal and UDP bind debugging information, decreased verbosity of windows SHM errors. 2015-11-24 15:57:17 +01:00
Thulinma
b28a619fc6 Various fixes and improvements, backported from Pro version. Code by Erik Zandvliet. 2015-11-05 17:05:21 +01:00
Thulinma
3a07633de5 Improved Socker::Buffer deletion handling. 2015-11-02 15:52:48 +01:00