Thulinma
3ef44546a8
Utils::Stream::getStream now actually works in all cases where it should, the way it should. ^_^
2012-09-03 10:19:05 +02:00
Thulinma
6d3598eea0
Overloaded Socket::Connection::Send with new versions and now requires arguments to be passed by reference. Also fixed a ::close bug and hugely improved performance.
2012-09-03 10:19:05 +02:00
Thulinma
a0bcc4779e
Improvements to HTTP::Parser - now builds responses and requests by reference and has getUrl() method to get the URL without URI-parameters.
2012-09-03 10:19:05 +02:00
Thulinma
63a25cf9ea
Improved seeking in DTSC::File, also, now tested working.
2012-09-03 10:19:05 +02:00
Peter Wu
20c460a081
Do not prevent user from overriding CXXFLAGS
...
make CXXFLAGS=-O0 would not work without this.
2012-09-03 10:19:05 +02:00
Thulinma
88e955683f
Implement decent seeking in DTSC::File.
2012-09-03 10:19:05 +02:00
Thulinma
803e53cb9d
Made FLV metadata more like most FLV files.
2012-09-03 10:19:05 +02:00
Peter Wu
0aaa98b73e
stream: fix headers and missing static keyword
2012-09-03 10:19:05 +02:00
Peter Wu
7b2deebfb2
Move Socket::*Stream > Util::Stream::*
2012-09-03 10:19:05 +02:00
Thulinma
ba651ebc4c
Get length instead of duration when converting to FLV metadata.
2012-09-03 10:18:11 +02:00
Thulinma
906e3803f7
Only sockets can be shut down.
2012-09-03 10:18:11 +02:00
Thulinma
31b73b9a74
Updated socket library to include socket simulation for filedescriptors.
2012-09-03 10:18:11 +02:00
Peter Wu
42875cd544
Fix compile warnings
...
Todo: error checking for DTSC::File::getHeader
2012-09-03 10:18:11 +02:00
Peter Wu
c35e1bbef6
flv: add duration metadata
2012-09-03 10:18:11 +02:00
Erik Zandvliet
0687a6a971
Merge branch 'master' into FTP
2012-08-29 11:40:52 +02:00
Erik Zandvliet
dc8e96634b
Working FTP
2012-08-29 11:20:31 +02:00
Thulinma
a2f37a1bbd
Add version number as a static member (libver) of Util::Config.
2012-08-28 23:39:42 +02:00
Erik Zandvliet
f351ca46d8
Merge branch 'master' into FTP
2012-08-28 15:22:56 +02:00
Thulinma
3ec56cf675
Change Util::Config to be able to return arrays on request.
2012-08-28 11:01:59 +02:00
Thulinma
c6e2f6bdd3
Changed version to 1.0.0
2012-08-26 23:57:25 +02:00
Thulinma
18a1a386df
Do not send Content-Length headers when they are zero.
2012-08-26 22:18:26 +02:00
Thulinma
84db148405
Fix HTTP::Parser to no longer send empty headers.
2012-08-26 21:19:48 +02:00
Thulinma
0e0ecb1bdf
Stripped some unused code from Socket::Connection and FLV::Tag, made some Socket::Connection methods private.
2012-08-26 20:08:16 +02:00
Thulinma
9ca532523c
Typo fix.
2012-08-25 22:16:05 +02:00
Thulinma
fd2211f85f
Drop the parsed query string from url for incoming HTTP data.
2012-08-25 22:15:23 +02:00
Thulinma
95a11c88d5
Add host overwriting functionality to Socket::Connection.
2012-08-25 22:07:15 +02:00
Peter Wu
689eb74945
Fix compiler warnings (mainly signed/unsigned comparisons)
2012-08-25 19:21:58 +02:00
Thulinma
9b3037d0e4
Added basic pretty-printing to MP4 boxes.
2012-08-24 17:14:27 +02:00
Thulinma
ca0fd8a641
Fix Util::TerminationNotifier deadlock when calling malloc() inside a signal handler.
2012-08-24 15:09:35 +02:00
Thulinma
5e640c09b9
Remove bootstrap generator from MP4 - this is now part of DMS.
2012-08-24 12:09:46 +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
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
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
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
08f28d134a
Report name of non-existant options to help debugging.
2012-08-13 07:59:24 +02:00
root
4641efb79d
Fortify HTTP parser/generator code.
2012-08-06 05:35:11 +02:00
Thulinma
d1e2132879
Updated to new config system.
2012-07-20 17:49:16 +02:00
Thulinma
5562bea8a0
Added handy converter functions to JSON.
2012-07-20 17:48:57 +02:00
Thulinma
a36ce260ac
Fixed JSON bool evaluations.
2012-07-20 17:48:40 +02:00