Commit graph

5035 commits

Author SHA1 Message Date
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
Thulinma
ffff1f9577 Converted nearly everything to new config object from library. 2012-07-21 04:32:37 +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
Thulinma
935d5635e5 Fix multiple-including. 2012-07-20 17:46:22 +02:00
Thulinma
b9a75a320f Added missing JSON "operator bool()" and size() methods. 2012-07-12 01:03:40 +02:00
Thulinma
cecb015a4b More changes into the direction of the new HTTP connector style. 2012-07-11 11:45:11 +02:00
Thulinma
af12c6a94e Restructuring so our libraries can go into a separate libmist project. 2012-07-10 00:39:31 +02:00
Thulinma
49fe8afb84 Restructuring so our libraries can go into a separate libmist project. 2012-07-09 00:15:06 +02:00
Thulinma
87f4c4723c Add summary to DTSC analyser. 2012-06-21 13:16:57 +02:00
Thulinma
a71ab0427e Fixed compiling on some systems: renamed libcrypto to libkeycrypto 2012-06-18 20:37:38 +02:00
Thulinma
e89b4765ba Fixed compiling on some systems: renamed libcrypto to libkeycrypto 2012-06-18 20:37:38 +02:00
Thulinma
405b33af77 HTTP Progressive now works again. 2012-06-18 18:20:31 +02:00
Thulinma
9b966bbbf7 Added createhooks shell script that will install git hooks for auto-rebuilding on checkout/commit, make main binaries depend on VERSION file for rebuilding (otherwise version in -v is not updated). 2012-06-17 14:39:35 +02:00
Thulinma
dafe3b5fdd Added createhooks shell script that will install git hooks for auto-rebuilding on checkout/commit, make main binaries depend on VERSION file for rebuilding (otherwise version in -v is not updated). 2012-06-17 14:39:35 +02:00
Thulinma
4bf892d254 Merge branch 'master' into development 2012-06-17 12:57:25 +02:00
Thulinma
190f020595 Merge branch 'master' into development 2012-06-17 12:57:25 +02:00
Thulinma
942a4136d2 Allow HTTP Connector to reconnect to different buffers - closes #31 2012-06-17 12:56:12 +02:00
Thulinma
98cde39a8f Allow HTTP Connector to reconnect to different buffers - closes #31 2012-06-17 12:56:12 +02:00
Lekensteyn
ec4011a18b Always update version when configure is executed 2012-06-16 23:26:11 +02:00
Lekensteyn
948813b93a Always update version when configure is executed 2012-06-16 23:26:11 +02:00
Thulinma
e7e37105b6 Several stability improvements and optimizations for HTTP handling and parsing (also, should fix HTTP Progressive under Windows - again). 2012-06-12 10:11:58 +02:00
Thulinma
a08f8e3033 Several stability improvements and optimizations for HTTP handling and parsing (also, should fix HTTP Progressive under Windows - again). 2012-06-12 10:11:58 +02:00
Thulinma
b88de8e395 Added DTMI desync handling - no longer spams error messages, fixes issues faster. 2012-06-08 22:06:24 +02:00
Thulinma
682ecd2a0e Added DTMI desync handling - no longer spams error messages, fixes issues faster. 2012-06-08 22:06:24 +02:00
Thulinma
5fff8825d9 Fixed invalid commandline option segfaults, renamed no-daemon to the proper nodaemon as mentioned in all documentation and help messages. 2012-06-08 18:19:43 +02:00
Thulinma
ad530a76ea Fixed invalid commandline option segfaults, renamed no-daemon to the proper nodaemon as mentioned in all documentation and help messages. 2012-06-08 18:19:43 +02:00
Thulinma
66afa76397 Support for generating new MistController API accounts from commandline. 2012-06-08 10:35:46 +02:00
Thulinma
c49eaca664 Fixed RTMP desync bug with Windows clients. 2012-06-08 00:11:25 +02:00
Thulinma
19c7081685 Fixed RTMP desync bug with Windows clients. 2012-06-08 00:11:25 +02:00
Lekensteyn
ae057d3e78 buffer: Fail early and print diagnostic message
When /tmp/mist/ was created before as a different user, and MistBuffer was
started, it would print "End of input file - buffer shutting down". This is very
confusing, therefore fail earlier and print a more useful message even if DEBUG
is disabled.
2012-06-03 12:17:41 +02:00
Lekensteyn
90e0c0037e autofoo cleanup, put version detection in configure.ac
- Autogenerated files do not belong to the repository, remove those files.

- The version is also determined when generating the configure file, so remove
  the version.sh file as well.

- Remove ACLOCAL_AMFLAGS and the related entry in configure.ac to get rid of
  configuration errors.

- Do not create NEWS or INSTALL by using a lower strictness.

- Ignore autogenerated autojunk.
2012-06-02 22:19:57 +02:00
Lekensteyn
fcf29984c0 autofoo cleanup, put version detection in configure.ac
- Autogenerated files do not belong to the repository, remove those files.

- The version is also determined when generating the configure file, so remove
  the version.sh file as well.

- Remove ACLOCAL_AMFLAGS and the related entry in configure.ac to get rid of
  configuration errors.

- Do not create NEWS or INSTALL by using a lower strictness.

- Ignore autogenerated autojunk.
2012-06-02 22:19:57 +02:00
Lekensteyn
c885aec389 Remove autogenerated foo
make dist takes care of putting autogenerated files in a source tarball.
2012-06-02 19:43:01 +02:00
Thulinma
0e510a21f8 Switch init data order for HTTP progressive, should fix video issues. 2012-05-26 21:44:19 +02:00
Thulinma
7936c7efaa Should fix all buffer-related timing issues. 2012-05-24 09:30:00 +02:00