Commit graph

87 commits

Author SHA1 Message Date
Thulinma
6e0e66076d WebSocket API in controller 2018-03-20 20:07:11 +01:00
Thulinma
626e688bf2 Removed newline from access log message 2017-12-06 16:59:27 +01:00
Thulinma
b9a90b134d Don't print failure to tag sessions with user agent; usually not a big deal 2017-11-27 11:12:59 +01:00
Thulinma
91262767d3 Added configMutex around connector check in Prometheus output 2017-11-15 09:48:31 +01:00
Thulinma
421b77dacd Fixed starting the controller with a locked session cache. 2017-11-14 18:17:22 +01:00
Thulinma
01ffc42f9f Stats delay for input/output can now be set separately, input delay by default 2 instead of 15. 2017-11-07 11:12:24 +01:00
Thulinma
52816a8daa Added ability to pass on URLs to load balancer 2017-10-24 14:44:06 +02:00
Thulinma
e05268f670 Load balancer now detects what streams are available on what servers, does not direct traffic if not configured 2017-10-09 15:16:37 +02:00
Thulinma
f5faa61ed4 Added bandwidth API call for bandwidth limit and exception config 2017-07-05 13:47:16 +02:00
Thulinma
f695e23ffc Fixed streams being able to go inactive multiple times in a row 2017-07-04 13:23:34 +02:00
Thulinma
01e0b76a6a Internal stream state active/inactive rewritten to use newly exposed stream status 2017-06-23 15:08:57 +02:00
Thulinma
3bad5c2161 Hopefully fixed Windows 2017-05-17 12:09:04 +02:00
Thulinma
6e21e70fae Fixed Windows builds. Wtf..? 2017-05-16 20:15:00 +02:00
Thulinma
2cec1f7836 Fixed session cache race conditions 2017-05-01 11:54:02 +02:00
Thulinma
efc80123f0 Access log compile fixes 2017-04-18 19:33:40 +02:00
Thulinma
b9f60ac92c Sessions are now wiped after the disconnect timeout, if denied access 2017-04-18 12:34:00 +02:00
Thulinma
3980b8c8c1 Access logs + made prometheus runtime changeable 2017-04-18 12:33:06 +02:00
Thulinma
e4110502ee No longer measure localhost in kernel-style measurements 2017-01-31 14:44:21 +01:00
Thulinma
0c0bb5b3bf Fixed stream statistics sometimes holding invalid values 2017-01-31 14:42:25 +01:00
Thulinma
fdb5fbad45 Merge branch 'development' into LTS_development
# Conflicts:
#	lib/socket.cpp
#	lib/socket.h
2016-11-03 15:17:30 +01:00
Thulinma
629b24853a Added hostBytesToStr function to socket library, fixed code style, fixed UDP Cygwin support 2016-11-03 15:15:42 +01:00
Thulinma
0b78a57e40 Added shared memory session cache + instant-sync for sessions in cache. 2016-10-11 16:42:47 +02:00
Thulinma
028c485c3e Fixed stats issue for quick switching connections. 2016-10-11 16:41:42 +02:00
Thulinma
59ae4f5aca Merge branch 'development' into LTS_development 2016-10-11 16:41:15 +02:00
Thulinma
8f6d75e51e Fixed stats issue for quick switching connections. 2016-10-11 16:36:22 +02:00
Thulinma
e10a22503d Added per-output statistics 2016-10-11 15:19:14 +02:00
Thulinma
d504324b8f Added stop_sessions API call 2016-09-22 09:52:08 +02:00
Thulinma
497583e54b Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller_statistics.cpp
2016-09-22 09:16:34 +02:00
Thulinma
26f4b2efd9 Stats pages are now left behind unclean on purpose on updating/restarting the controller, to preserve stats across restarts 2016-09-22 09:14:03 +02:00
Thulinma
07eada311a Tweaked stats debugging messages verbosity 2016-09-15 16:18:16 +02:00
Thulinma
0fe940fa77 Pro side of edits to explicit finishEach 2016-09-15 16:18:00 +02:00
Thulinma
b92829956e Added secondary BW stats from kernel, as more reliable alternative for now. 2016-09-15 16:17:54 +02:00
Thulinma
6babfe64c6 Fixed bandwidth sometimes being wrongly measured. 2016-06-09 18:43:16 +02:00
Thulinma
ed982b9eb3 Added/tweaked debug messages for stats 2016-06-09 18:42:32 +02:00
Thulinma
4c9c6fa7ba Backported various little edits from Pro edition. 2016-06-02 14:07:21 +02:00
Thulinma
1d950f31ba Fix controller deadlock. 2016-05-28 13:45:19 +02:00
Thulinma
f010dcd0f7 Fix controller segfault on using fillActive function during stats update. 2016-05-27 21:08:39 +02:00
Thulinma
52d0c66166 Prevent re-initialized connections from counting bytes too eagerly. 2016-05-26 18:24:25 +02:00
Thulinma
8b87337314 Added debug message for connections switching away from an existing active session. 2016-05-26 18:16:50 +02:00
Thulinma
3c4bc6a006 Disable shared memory stats for Windows builds. 2016-05-25 12:24:56 +02:00
Thulinma
6caa02c63f Prevent sessions from becoming unset. 2016-05-24 11:12:54 +02:00
Thulinma
5fbf4dd23b SHM statistics in prometheus output 2016-05-23 14:32:01 +02:00
Thulinma
5759dbef0f Added "invalidate_sessions" API call, made USER_NEW trigger even more atomic. 2016-05-20 13:06:37 +02:00
Thulinma
303cc5684a Fixed streams not deactivating with history still available. 2016-05-20 13:06:37 +02:00
Thulinma
9b2494f5d6 Fixed a race condition in push handling. 2016-05-19 17:42:21 +02:00
Erik Zandvliet
5c4e0d8c54 More reasonable size for metadata 2016-05-19 17:32:47 +02:00
Thulinma
abbc2e7e1f Tweaked sync debug message level to medium. 2016-05-19 16:18:31 +02:00
Thulinma
a1bbcefcf1 More sync debug 2016-05-19 14:08:40 +02:00
Thulinma
1676159298 More debugging. 2016-05-19 12:51:51 +02:00
Thulinma
fae86d6648 Fix strange ten minute stats pattern. 2016-05-19 08:04:23 +02:00