2231 Commits (888ef2e2d813347ec879d4081696130a8826cd15)
 

Author SHA1 Message Date
Con Kolivas b08f4bcb69 Drop clients lazily when the proxy is full 10 years ago
Con Kolivas 1b45079802 Keep track of clients that submit a run of continuous rejects and send them a diff update if they do it for longer than 1 minute and then lazily drop them if it goes beyond 2 minutes 10 years ago
Con Kolivas 0c16e193ce Set no linger on all connected clients 10 years ago
Con Kolivas 8e29c957e0 Add helper function to set no linger 10 years ago
Con Kolivas 7d878bd223 Force close when dropping a client with a reset using SO_LINGER and give a warning on close failure 10 years ago
Con Kolivas 146e3140f3 Add client source port to verbose logging 10 years ago
Con Kolivas 5c6e048a2e Poll every 100ms instead of every second in the connector to rapidly pick up new clients 10 years ago
Con Kolivas 26b4037eff Log a warning if a client with an invalidated fd is still in the fdclients hashtable 10 years ago
Con Kolivas 3bf4e0de8d Always send dropclient to the stratifier on every invalidate client call 10 years ago
Con Kolivas 1f68a5a98b Use the Close handler in the stratifier 10 years ago
Con Kolivas 5a9eb76488 Use the Close handler in the generator 10 years ago
Con Kolivas 7da6c0b2a0 Use the Close handler in connector.c 10 years ago
Con Kolivas e683fa42b6 Use the Close handler in ckpool.c 10 years ago
Con Kolivas bae2493346 Add a helper for close which invalidates the file handle as well 10 years ago
Con Kolivas 070a1a3b3e Cache reused bias calculations 10 years ago
Con Kolivas 86f72ff889 Keep rereading in parse_client_msg if the socket indicates it is still ready for further reads 10 years ago
Con Kolivas 8d625b736b Revert "Close polled fds that are ready for reads but no longer have a client associated with them" 10 years ago
Con Kolivas 6acb482e7a Bias workers as well as users 10 years ago
Con Kolivas 6ba4cf50a5 There is no need to bias 60 second times, and we should bias worker stats 10 years ago
Con Kolivas f0f948171a Invalidate interrupted clients and increase verbosity of messages logged 10 years ago
Con Kolivas f6f61e8870 Close polled fds that are ready for reads but no longer have a client associated with them 10 years ago
Con Kolivas 48b2e72661 Rereading with dontwait is pointless and adds complexity 10 years ago
Con Kolivas ae1f9827ac Revert "Always re-read with dontwait when parsing a client message" 10 years ago
Con Kolivas e3b4d969d5 Always re-read with dontwait when parsing a client message 10 years ago
Con Kolivas 1e175d851c Missing valid but not submitted count for proxy 10 years ago
Con Kolivas 70393442a3 Zero bufofs in connector loop for completeness and make sure to retry if there is more data to read 10 years ago
Con Kolivas 53641a9c24 Prevent wb dereference in parse_submit 10 years ago
Con Kolivas 600e6923fc Count only accepted and stale rejects in diff calculation 10 years ago
Con Kolivas 0f7daecac4 Stats on 1st reject were being missed 10 years ago
Con Kolivas 2d6d982bb1 Add buf offset to disconnect message and reset flags on looping 10 years ago
Con Kolivas a493539a75 Only add strerro if errno != 0 10 years ago
Con Kolivas 17d1455267 Add more info to disconnects 10 years ago
Con Kolivas 255bab88fe Add a maximum diff option 10 years ago
Con Kolivas 857462e16a Simplify the complicated sequential locking to pure choice of write or read in the stratifer 10 years ago
Con Kolivas 55ff1389ee Make ckpool built without ckdb support imply standalone and remove ckdb options when build support is disabled 10 years ago
kanoi cfd5e4bd5c ckdb - ckdb_cmd comment update 10 years ago
kanoi 8a9c652065 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 10 years ago
kanoi 0abbed2cf6 ckdb - move remaining data code into ckdb_data 10 years ago
kanoi ea8ee0d376 ckdb - fix warnings from code break up 10 years ago
Con Kolivas 49e465c8d5 Remove unnecessary extra step in disconnected_sessionid_exists 10 years ago
Con Kolivas 82be9e2cea Merge branch 'master' of bitbucket.org:ckolivas/ckpool 10 years ago
Con Kolivas 00fc686bbf use a union for the split nonce2 values instead of open coding a pointer version 10 years ago
kanoi 1f16e05f1d Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 10 years ago
kanoi 50b90b4046 ckdb - break up into parts 10 years ago
Con Kolivas 10777b6f25 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 10 years ago
Con Kolivas ba506f6262 Fix more 64bit print modifiers 10 years ago
kanoi 8376ccffb4 php - remove old 'lastblock's 10 years ago
kanoi cc47b062ce Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 10 years ago
kanoi 64db53c390 ckdb/php - add worker diff management 10 years ago
kanoi 287b75b7c4 ckdb - remove some web duplicate messages from the console 10 years ago