Commit graph

918 commits

Author SHA1 Message Date
Thulinma
8a67c43154 Removed forgotten debug message 2020-10-08 12:51:14 +02:00
Thulinma
bafe30e234 Improvements/tests for SEM_LIVE locking 2020-09-30 17:24:57 +02:00
Thulinma
3aeebd1a4a Fixed HTTP::Parser support for chunked transfer and HTTP/1.0 unknown body size 2020-09-24 20:01:44 +02:00
Thulinma
f472da06f3 Fixed headerOnly flag in HTTP::Parser 2020-09-24 19:52:37 +02:00
Thulinma
158058c4d5 Fixed RTSP support in HTTP::Parser 2020-09-24 19:49:46 +02:00
Thulinma
ff33a8a81b UDP socket rebinding fix + clarified debug message when switching address family 2020-09-24 19:49:46 +02:00
Thulinma
260dce0953 Backported some Util::ResizeablePointer improvements from 3.0 2020-09-14 10:56:40 +02:00
Thulinma
679ff219db HTTP::URIReader fixes/improvements 2020-09-14 10:56:31 +02:00
Thulinma
c5d0a9a8ad Added constant accessors to HTTP::Downloader 2020-09-14 10:56: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
091926a963 Added Util::unixMS 2020-03-12 16:23:16 +01:00
Thulinma
5c6341a92a Made all instances of gai_strerror recursively call strerror as needed 2020-03-12 16:19:19 +01:00
Thulinma
b27a74c884 Added JSON::Value::extend() 2020-03-12 16:19:03 +01:00
Thulinma
4a621ea5c0 Fixed IP detection over HTTPS output 2020-03-12 16:18:55 +01:00
Thulinma
0f12e107de Fix JSON parsing bug when a backslash was at the very end of a string 2020-03-12 15:32:24 +01:00
Thulinma
35e3fb4bca HTTP::Downloader::post() now supports pointers+sizes besides only std::strings. 2020-03-12 12:24:29 +01:00
Thulinma
ae6ccb3615 URIReader fixes / improvements 2020-03-09 20:01:32 +01:00
Thulinma
d8fb22a71f URIReader 2020-03-09 20:01:00 +01:00
Thulinma
7f8013fef2 Downloader improvements, fixes 2020-03-09 19:59:54 +01:00
Ramoe
3fd55b1647 Added callbacks, range requests and head requests to Downloader 2020-03-09 19:59:54 +01:00
Thulinma
c1c35c75f9 HTTP::Parser: Content length fix, made ::GetHeader and ::hasHeader case-insensitive, preferring identical case if it is present. 2020-03-09 19:59:40 +01:00
Ramoe
4ed5dd21e3 Added callback support to HTTP parser 2020-03-09 19:59:29 +01:00
Thulinma
b4fb0ff4a2 Socket library error handling 2020-03-09 19:58:26 +01:00
Thulinma
793f6f7809 Split HTTP namespace up into http_parser.h and url.h, since the URL library can be useful stand-alone as well. 2020-02-28 16:39:24 +01:00
Thulinma
95847ffb5b Fixed memory leak in Socket::isLocal() 2020-02-24 16:30:28 +01:00
Thulinma
3736d28eed Fix for correctly passing stream configuration options to MistIn processes 2020-02-12 11:11:19 +01:00
Thulinma
9a1b4fb872 Fixed support for inputs with URL parameters 2019-11-27 10:25:58 +01:00
Thulinma
8ce3498269 Optimized HTTP parser to not attempt POST variable parsing on _all_ body payloads, but only POSTed payloads 2019-11-27 10:25:43 +01:00
Thulinma
8dd403a098 Added ability to check if the downloader is being proxied or not 2019-11-07 13:40:45 +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
a27f65743c Log message improvements 2019-09-30 16:27:43 +02:00
Thulinma
a25fa0596e Lowered default segment duration to 1900ms, lowered audio virtual "keyframe" interval to 2000ms. 2019-09-09 15:53:46 +02:00
Thulinma
309d39eab7 Backported UDP API from Pro edition 2019-09-09 13:36:09 +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
4fcae749da Improved blacklisting/whitelisting code + MP3 in MP4 output blacklist for Trident browsers under Windows 7 and lower 2019-06-25 14:29:55 +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
128f30bfb6 Fixed websockets in IE11. Bleep you, MS. -_- 2019-06-21 21:20:39 +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
335a26df60 Removed non-existing function from procs library header 2019-05-23 12:36:52 +02:00
Thulinma
917ce2d452 Fixed Downloader class progress callbacks, added HTTP::Parser progress calculation function. 2019-05-23 12:24:41 +02:00
Thulinma
09d54228d1 Corrected Track::getSendLen to account for keysizes properly 2019-05-16 15:22:55 +02:00
Thulinma
4c324c1b19 Fixed semaphore problems on MacOS 2019-05-15 09:15:34 +02:00
Thulinma
984f5b7e29 Fixed file descriptor leak in Downloader class 2019-05-08 13:50:10 +02:00