1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-30 14:38:31 +00:00
Commit graph

74 commits

Author SHA1 Message Date
Kane York
a4f0f4867a Don't re-marshal if we already have the JSON 2017-09-26 14:50:56 -07:00
Kane York
7657357164 Compile fixes, switch cache implementation 2017-09-25 15:08:22 -07:00
Kane York
44249a3721 Better shutdown code, release listeners 2017-09-21 14:33:06 -07:00
Kane York
b108177942 Add /all_topics endpoint
Temporarily not protected with sealing, we'll see how the performance is
first.
2017-09-21 10:33:06 -07:00
Kane York
230f4e9ccd test: Ignore empty frames in Unmarshal() 2017-09-18 15:11:13 -07:00
Kane York
0744019555 Handle errors in UnmarshalClientMessage 2017-09-18 14:54:09 -07:00
Kane York
bd1051b4c1 Merge branch 'master' into patch-4 2017-09-18 14:35:46 -07:00
SirStendec
231e2839e8 Backend: Attempt fixing argument leak when RPC is called without arguments. 2017-09-17 14:40:39 -04:00
Kane York
1c55e8fca7 Extract form sealing to a package 2017-09-15 16:40:40 -07:00
Kane York
ced892fd1a Fix more warnings 2017-09-15 16:30:11 -07:00
Kane York
e725dc248c at least pretend to make Statistics thread-safe
reduce websocket read buffers
2017-09-15 15:57:21 -07:00
Kane York
fd357ae6f2 reject pongs for non-set-up clients 2017-09-15 13:19:33 -07:00
Kane York
f31a93f790 Fix failure-to-hello check 2017-09-15 13:11:19 -07:00
Kane York
413f62f56b fix compile 2017-09-15 12:28:01 -07:00
Kane York
1da392f5b3 Moved rate.Limiter into its own package 2017-02-02 23:20:10 -08:00
Kane York
50e295c834 Add ratelimits to publishing 2017-02-02 22:59:17 -08:00
Kane York
972437cd4a Add /get_sub_count 2016-07-08 19:16:10 -07:00
Kane York
1dc92ed407 Add tests 2016-07-08 13:08:36 -07:00
Kane York
cdcb7fb079 convert backend urls 2016-06-02 09:03:43 -07:00
Kane York
6abd30d71c fix race condition with lastSuccess
convert responseCache
2016-06-02 08:59:40 -07:00
Kane York
b94bcf743e convert (Un)SealRequest 2016-06-02 08:47:07 -07:00
Kane York
842dc64991 all health timestamps in UTC 2016-06-02 08:39:11 -07:00
Kane York
dd9e66c80d convert httpClient 2016-06-02 08:36:02 -07:00
Kane York
d49c88a222 Add Health to /stats, add irc reconnect 2016-06-02 08:16:16 -07:00
Kane York
69e5434cc2 Allow blank Origin header 2016-04-20 14:28:35 -07:00
Kane York
e1e26f5288 add cbenni.com to origin regexp whitelist 2016-04-01 19:22:55 -07:00
Kane York
189965c967 Allow 'upgrade' anywhere in connection header 2016-03-30 17:33:45 -07:00
Kane York
bba5d8f344 Use a regexp instead to match origin 2016-02-03 22:06:46 -08:00
Kane York
cddd13ba16 Allow HTTPS twitch pages access to socket server 2016-02-03 22:01:47 -08:00
Kane York
43ecbff656 Treat all strings from read buffers as gc-tainted
Rule: Copies must be made before retaining the string.
2016-01-17 19:46:01 -08:00
Kane York
fdbcfe98dd move internCommands() to func init() 2016-01-17 18:40:08 -08:00
Kane York
7654dcdf8d Source cleanup, and some string copies 2016-01-17 18:01:21 -08:00
Kane York
387ada9c9c memory: Make a copy of origArguments 2016-01-17 17:46:34 -08:00
Kane York
abb032f0c1 memory: Use a string pool for Commands 2016-01-17 17:45:37 -08:00
Kane York
c85e8b10c3 Memory: Reduce send buffer length, entirely too large 2016-01-17 17:28:33 -08:00
Kane York
b3cbec4560 this is why i wasn't using relative imports 2016-01-17 17:05:52 -08:00
Kane York
1023b6ed11 implement addRange, add pprof to server 2016-01-17 16:50:17 -08:00
Kane York
9fc946e373 Start of statsweb program 2016-01-17 11:11:21 -08:00
Kane York
15658e58c3 Oops 2016-01-16 17:49:39 -08:00
Kane York
133544bddd Oops, forgot to count disconnects... 2016-01-15 21:22:36 -08:00
Kane York
ba73186a99 Add MaxClientCount to configuration 2016-01-15 20:59:33 -08:00
Kane York
e117766eb6 Rip out the weekly/monthly HLLs - they're redundant
The weekly data can be constructed much more flexibly by just using the
daily data.
2016-01-15 20:54:30 -08:00
Kane York
2ddfa2b02c Add /hll_force_write 2015-12-23 22:18:11 -08:00
Kane York
81c477cd6b Add unique client counting 2015-12-23 21:57:33 -08:00
Kane York
89ff64f52c Add comments, add dumpStackOnCtrlZ() for tests 2015-12-23 21:56:56 -08:00
Kane York
18c1abd3e3 Bugfixes: div0, wrong low-mem condition, race 2015-12-23 21:55:15 -08:00
Kane York
6f612f881e Fix race condition during testing 2015-12-16 14:23:28 -08:00
Kane York
9f5eb5818a Remove cruft code that was double-closing connections 2015-12-16 14:20:50 -08:00
Kane York
b236c34c94 Don't send IPs and usernames until I know how to delete them 2015-12-16 14:19:23 -08:00
Kane York
26747a1104 Fix - non-logged-in needs a reply if auth needed
Refactor for testing - all janitors have sleep in a different function
from the work, so tests can trigger them
2015-12-16 13:59:51 -08:00