Commit graph

3421 commits

Author SHA1 Message Date
Peter Wu
becd4715c3 conn_http_progressive: remove unused vars 2012-08-25 19:51:30 +02:00
Peter Wu
90e1ba7308 buffer_stream: do not crash on shutdown
When destructing the users, they attempt to drop the ring they own. This works
by checking Strm's list of rings. But when Strm is destructed, all rings are
deleted as well which results in a segfault.
2012-08-25 19:49:19 +02:00
Peter Wu
689eb74945 Fix compiler warnings (mainly signed/unsigned comparisons) 2012-08-25 19:21:58 +02:00
Thulinma
e6179904c7 Fix CPU usage problems in HTTP connector. 2012-08-25 13:14:08 +02:00
Thulinma
9b3037d0e4 Added basic pretty-printing to MP4 boxes. 2012-08-24 17:14:27 +02:00
Thulinma
fb2d022800 Added timestamp rewriting to HTTP Dynamic for live streams. 2012-08-24 17:13:06 +02:00
Thulinma
ca0fd8a641 Fix Util::TerminationNotifier deadlock when calling malloc() inside a signal handler. 2012-08-24 15:09:35 +02:00
Thulinma
86a7d74768 Fixed a few minor typing mistakes in HTTP Dynamic. 2012-08-24 14:25:58 +02:00
Thulinma
622b3ca100 Fix handling of live/recorded in bootstrap generation. 2012-08-24 12:13:15 +02:00
Thulinma
5e640c09b9 Remove bootstrap generator from MP4 - this is now part of DMS. 2012-08-24 12:09:46 +02:00
Thulinma
3949f6282c Added support for VoD manifests and fix HTTPDynamic loading. 2012-08-24 12:09:19 +02:00
Thulinma
29f6d53595 Updated everything to support the changeover from DTSC::DTMI -> JSON::Value. 2012-08-24 11:33:16 +02:00
Thulinma
a6b072988c Added toNetPacked() to JSON, removed DTSC::DTMI completely (now superseded by JSON). 2012-08-24 11:32:02 +02:00
Thulinma
4ac7c54698 Updated mp4 to parse some information from JSON-style metadata, guesses values if not present. 2012-08-23 17:06:25 +02:00
Thulinma
48bf3d189a Half-updated flv_tag with JSON metadata support. 2012-08-23 17:05:53 +02:00
Thulinma
75a420db2a Fixed DTSC::File (now actually works) and updated DTSC metadata information in the documentation. 2012-08-23 17:05:32 +02:00
Thulinma
b54ee2dcd2 Converted to new libmist JSON support, added dtscfix for metadata rewriting. 2012-08-23 17:04:43 +02:00
Erik Zandvliet
0ac64dd6cb FTP Convert to LibMist 2012-08-23 12:06:26 +02:00
Thulinma
8a9d4d6ee1 First version of DTSC::File for easy management of DTSC files. 2012-08-23 11:09:10 +02:00
Thulinma
0c5f449963 Added DTMI support to JSON library. 2012-08-23 11:09:10 +02:00
Thulinma
61abc0e0a1 Removed useless metadata from HTTP dynamic. 2012-08-21 17:21:49 +02:00
root
52cb6cd9df Fix connections not being moved from conn to log. 2012-08-21 17:17:52 +02:00
Niels
74b02bafe2 several server.html bugs, commented all js 2012-08-21 16:16:59 +02:00
Thulinma
e69d2b3954 Fixed buffer not moving users from curr to log, fixed controller randomly crashing ^_^ 2012-08-21 15:23:47 +02:00
Peter Wu
36c7eed7e3 procs: fix leakage of pids in child process 2012-08-15 11:49:21 +02:00
Peter Wu
fa5d27b085 procs: add support for easy redirection to dev null
Simply set a NULL pointer for a fd, StartPiped will then take care of opening
/dev/null, redirecting fds to it and close it when necessary.
2012-08-15 11:49:21 +02:00
Peter Wu
b994bab6d2 Add new process function including fds
Based on BiPipe from MistPlayer branch

v2: fix dup2 of wrong fd, fix invalid fd debug print
2012-08-15 11:49:21 +02:00
Peter Wu
06167128bf Add process termination registration
Edited patch because of context change due to:
commit 28548f35b0
Author: Thulinma <jaron@vietors.com>
Date:   Tue Aug 14 20:53:05 2012 +0200

    Do not report part-termination of processes.
2012-08-15 11:48:23 +02:00
Thulinma
3f089117c7 Apply lekensteyn's workarounds from the DMS repository to prevent compiler warnings. 2012-08-15 03:03:05 +02:00
Thulinma
1c3b01a243 Added online status for connectors. 2012-08-15 02:34:41 +02:00
Thulinma
c978cf3ae6 Change uses of (long long int) and (std::string) into asInt() and asString() where appropiate. 2012-08-15 02:34:24 +02:00
root
bc4b6c6e08 Fix possible password security problem. 2012-08-14 22:51:04 +02:00
root
33fedd0939 Improve on controller logging. 2012-08-14 22:25:06 +02:00
Thulinma
a86051b319 Removed socket non-errors, added success message for opening listening sockets. 2012-08-14 20:53:32 +02:00
Thulinma
28548f35b0 Do not report part-termination of processes. 2012-08-14 20:53:05 +02:00
Thulinma
977a8617a2 Fix Config::activate to not check nonexistant options. 2012-08-14 20:42:35 +02:00
Thulinma
6d7e4f5019 Migrate some older code to new style, reducing linecount quite a bit. Moved all non-main() code to a proper namespace. Removed log messages for non-encrypted auth attempts as well as missing-password auth. Update MistBuffer calling with the new -s commandline option. Check files for existance before catting them to buffers, added an error message in case this is not possible. Fixed statistics and logs being wiped for no reason. Set limits to stats/logs stored to limit memory and disk usage to sane amounts. Added new commandline option to turn on uplink, defaulting to off for now. 2012-08-13 09:45:59 +02:00
Thulinma
54276fd9bf Make buffer's stats reporting optional through a new commandline option - defaulting to false. 2012-08-13 09:25:01 +02:00
Thulinma
5c097f16ff Change server.html to display errors if any are available (unused for now, but will be used shortly) 2012-08-13 09:23:56 +02:00
Thulinma
08f28d134a Report name of non-existant options to help debugging. 2012-08-13 07:59:24 +02:00
Thulinma
79b5562123 Increased HTTP timeout to 10 seconds, removed no longer needed debug messages, fix unexpected disconnects deadlocking the proxy connections. 2012-08-09 01:52:09 +02:00
Thulinma
41d24ceee1 Fix HTTP connectors not exiting on stream end. 2012-08-09 01:50:34 +02:00
root
4641efb79d Fortify HTTP parser/generator code. 2012-08-06 05:35:11 +02:00
Thulinma
c4d0bd9691 Fix several HTTP bugs. Update libmist also for best results. 2012-08-06 05:34:32 +02:00
Thulinma
aa2e58d47b Fixed controller account creation. 2012-08-04 07:48:36 +02:00
Thulinma
b2500d90e1 Should fix HTTP "stream not found" issues. 2012-08-04 07:36:02 +02:00
Thulinma
9413e8661d Fix controller and buffer conversion to libmist commandline parser. 2012-08-02 07:48:28 +02:00
Thulinma
7b2d2f315c Fix compiling problems related to -lpthread 2012-08-02 07:47:43 +02:00
Thulinma
a04c8b1821 10h, closes #45 - New-style HTTP handling finished. Needs testing. :-) 2012-07-31 09:51:24 +02:00
Thulinma
e6ad892439 Fixed HTTP connectors to compile again, base HTTP proxy framework completed. 2012-07-24 06:35:27 +02:00