Commit graph

3250 commits

Author SHA1 Message Date
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
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