2518 Commits (74352a0e325d1d8d72a8e8d74edc5b7c95f462d7)

Author SHA1 Message Date
Con Kolivas 4f3e19325b Minor notice change 10 years ago
Con Kolivas 4e4c8aa79a Add more reliable tests to know which clients should be redirected 10 years ago
Con Kolivas f31980b9d0 Only reconnect authorised clients 10 years ago
Con Kolivas 508bb71e9b Recruit from best not proxy 10 years ago
Con Kolivas bf79e0793d Recruit extra user subproxies when there aren't enough 10 years ago
Con Kolivas 046f8affb0 Reconnect clients not bound to a user proxy when a new notify creates more headroom 10 years ago
Con Kolivas c7852c34bb Make the reconnect after auth a soft reconnect 10 years ago
Con Kolivas d897abff8f Remove debugging 10 years ago
Con Kolivas a2052cdf37 Reconnect clients when they are bound to a global proxy and have userproxies with headroom 10 years ago
Con Kolivas 0e1d4dd4f1 Don't reconnect clients bound to user proxies on global changes 10 years ago
Con Kolivas 68bfb5bab4 Adjust the best global proxy only when there's a change in global proxies 10 years ago
Con Kolivas ac3726e56f Try to find a suitable pool by userid on clients with a known userid 10 years ago
Con Kolivas 4322c7d7c5 Inherit user id from old session id in proxy mode 10 years ago
kanoi 2230bd6d65 ckdb - stat the share OoO messages and increase the warning limit to 2s 10 years ago
Con Kolivas b60bebe7b0 Rework code to always grab the sessionid but use it for reconnecting only in pool mode 10 years ago
kanoi b74ae0f24e ckdb - console warning log out of order shares only if more than 1 second 10 years ago
Con Kolivas 7961aa1a29 There is no need for user instance id to be an int64 10 years ago
Con Kolivas 505abca664 Revert sessionid code to merge master sessionid code 10 years ago
Con Kolivas 3ea6fa5dfe Don't bother storing the session of clients without a user set up or not authorised 10 years ago
Con Kolivas a8b7916829 Fix memory leak 10 years ago
Con Kolivas cecf6406e2 Fix memory leak 10 years ago
Con Kolivas 6e41ff823f Demote debug 10 years ago
Con Kolivas 08622a4b61 Hand old sessionid to new client 10 years ago
ckolivas c7dbb0114d Rework sessionid matching to not store client structure 10 years ago
Con Kolivas 65df7bc722 Set cs.ckp on creating a new subproxy 10 years ago
Con Kolivas 49fe273718 Look up users based on session id and find a proxy from their list if possible 10 years ago
Con Kolivas 74ea210ad2 Match user from sessionid if possible in proxy mode 10 years ago
Con Kolivas 6cb3078025 Add a list of sessionids created with their associated user once we generate the user 10 years ago
Con Kolivas eb3c78f52b Give a unique sessionid in proxy mode 10 years ago
Con Kolivas 33e903cb4f Logic inversion 10 years ago
Con Kolivas fae7c70dc2 Abstract out the test for the best subproxy for future use with user proxies 10 years ago
Con Kolivas 3628128d64 Set ckp variable in connsocks used by proxies 10 years ago
Con Kolivas 84a6bf7dfc Encode priority into user proxies by using the userid as its high bits 10 years ago
Con Kolivas 1818d867a0 Use the one list for proxies in the generator, separating only when needed 10 years ago
Con Kolivas 92d1572e0a Search the user proxy list when looking up proxy_by_id 10 years ago
Con Kolivas 0648926729 Add user proxies to their own hashlist 10 years ago
Con Kolivas 9c60f55b61 Add preliminary structures required to add user proxies to the generator 10 years ago
Con Kolivas 9f3a1bfb4d Add userid parsing to proxy.add command 10 years ago
Con Kolivas 6a7fc728a4 Add an API command to set global proxy priority and do the switch 10 years ago
Con Kolivas b54c650d6a Give parent proxy details where appropriate in getproxy 10 years ago
Con Kolivas d7f09124a6 Add an API command to get proxy details 10 years ago
Con Kolivas fd7d62df15 Send the proxy details from the generator to the stratifier 10 years ago
Con Kolivas a5a5487023 Revert "Add uthash helpers for iterating over hash entries without the need for safe against deletion" 10 years ago
Con Kolivas 5517a21171 Use the priority sorting to speed up best proxy selection 10 years ago
Con Kolivas 93d820ab55 Revert "Use the terse hash helpers in the stratifier" 10 years ago
Con Kolivas 4b099e8445 Add a priority field to proxies, currently set to their id and sort them by priority 10 years ago
Con Kolivas 950a20e76f Use the terse hash helpers in the stratifier 10 years ago
Con Kolivas 9a1e59637f Add uthash helpers for iterating over hash entries without the need for safe against deletion 10 years ago
Con Kolivas 172e60b567 Remove concept of current proxy from generator, allowing stratifier to do all the management 10 years ago
Con Kolivas d8b0f9a9a9 Make stratifier determine best proxy to connect to, allowing us to remove management from the generator 10 years ago