Commit graph

51 commits

Author SHA1 Message Date
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
7b12a5a2b5 Lowered debugging message verbosity somewhat 2019-08-12 10:42:26 +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
Erik Zandvliet
2607113727 Library code style update + some minor backports from Pro edition 2018-12-04 13:11:48 +01:00
Thulinma
3cb03392e1 Added stream name to logging 2018-11-28 11:55:08 +01:00
Thulinma
24006648f9 Cleaned up, fixed and robustified semaphore and signal related code 2018-11-01 16:11:47 +01:00
Thulinma
be6a689fb1 Fixed stuck listening socket thread problem in config library 2017-01-02 12:11:16 +01:00
Thulinma
48635357cb Fixed signal handler debug messages 2016-12-18 13:00:32 +01:00
Thulinma
43d620f9f2 Removed old bigmeta flag in config lib. 2016-09-22 18:29:41 +02:00
Thulinma
ceafaa57e6 Added angel process 2016-09-15 16:03:24 +02:00
Balder
3ab582d60b Added bigmeta to cmakelist and ifdef flag to config.cpp 2016-08-09 11:03:49 +02:00
Thulinma
4c9c6fa7ba Backported various little edits from Pro edition. 2016-06-02 14:07:21 +02:00
Thulinma
8e94528d6f Improved signal and UDP bind debugging information, decreased verbosity of windows SHM errors. 2015-11-24 15:57:17 +01:00
Thulinma
b28a619fc6 Various fixes and improvements, backported from Pro version. Code by Erik Zandvliet. 2015-11-05 17:05:21 +01:00
Thulinma
16d38459b6 Made JSON library non-recursive.
Co-authored with Diederick.
2015-10-06 13:21:14 +02:00
Thulinma
096b289cdf Updated --version argument to give more detailed output. 2015-09-03 17:54:20 +02:00
Thulinma
55a8c55c24 Fixed a character case mistake in command line options, added missing documentation to internal metadata format. 2015-02-21 16:33:22 +01:00
Erik Zandvliet
9adb055f3a Fixed a typo 2014-09-05 14:42:28 +02:00
ozzay
4f3f67d23f Allow repeated calling of Config::activate 2014-08-18 13:10:26 +02:00
Thulinma
8c01ec8897 Such style. (Code style unification) 2014-06-18 10:39:27 +02:00
Thulinma
57bcd8f25c Fixes and new functionality by Wouter Spruit, mostly for the HTTP proxy rewrite. 2014-06-18 10:38:40 +02:00
Thulinma
064c4ecdcc Added runtime debug level support. 2014-05-29 13:33:31 +02:00
Thulinma
9587d2fff6 Improved Windows compatiblity 2014-05-02 17:03:16 +02:00
Thulinma
0e5d838a20 Shared Memory updates 2014-04-04 02:08:05 +02:00
martin
1d1519111f Improved Daemonize function, to work with logs 2014-03-12 13:35:56 +01:00
martin
1063daeff4 daemonising is no longer the default 2014-03-12 13:35:56 +01:00
Thulinma
21fe9a5910 Refactored config library to make threaded/forked sockets more re-usable. 2014-02-23 14:47:37 +01:00
Thulinma
d81bc24155 Implemented Util::Config::serveForkedSocket(), added Socket::Connection::drop() function for dropping unused sockets. 2014-01-27 18:02:58 +01:00
Thulinma
5c0f053006 Prettified error messages, first work on Util::Config server helpers. 2014-01-27 09:41:24 +01:00
Thulinma
12a0c1942c Removed ALL the compile warnings! 2014-01-05 15:26:41 +01:00
Oswald Auguste de Bruin
de733c31a3 Fix in lib which makes mistserver compilable and usable for mac 2013-09-04 15:55:35 +02:00
Thulinma
ea71dd2d5c Some small optimizations, added reference functions to JSON lib, fixed config commandline options. 2013-08-12 13:18:48 +02:00
Thulinma
0c059f0ca3 Added better generic support for connector options. 2013-08-07 16:04:57 +02:00
Thulinma
bec0c12ac6 Fixed command line argument parsing bug. 2013-06-25 15:55:55 +02:00
Erik Zandvliet
59d03dcf48 Fixed a bug in parsing configuration values. 2013-06-03 15:51:48 +02:00
Erik Zandvliet
a7de3bf08f Configuration parser bug fixed. 2013-06-03 15:51:47 +02:00
Thulinma
2705af4012 Fixed memory corruption in optionless binaries. 2013-04-15 10:45:56 +02:00
Thulinma
aa5056ee3d Fixed compiling on OSX, also fixes DDVTECH/mistlib#1 2013-03-14 00:13:07 +01:00
Thulinma
38ef8704f8 Global cleanups and standardization of code style. 2012-12-11 11:03:33 +01:00
Thulinma
5674f5de8f Implemented Util::getMyPath() 2012-10-23 11:12:08 +02:00
Peter Wu
940fb7eb4c Merge branch 'master' into development 2012-08-30 11:17:57 +02:00
Peter Wu
f11ce43887 Fix compile warnings
Todo: error checking for DTSC::File::getHeader
2012-08-30 11:16:49 +02:00
Thulinma
a2f37a1bbd Add version number as a static member (libver) of Util::Config. 2012-08-28 23:39:42 +02:00
Thulinma
3ec56cf675 Change Util::Config to be able to return arrays on request. 2012-08-28 11:01:59 +02:00
Peter Wu
689eb74945 Fix compiler warnings (mainly signed/unsigned comparisons) 2012-08-25 19:21:58 +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
Thulinma
d1e2132879 Updated to new config system. 2012-07-20 17:49:16 +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
bb9d95880c Improve notation for version numbers. 2012-05-11 19:01:39 +02:00