3080 Commits (6c8f6bb93d5a1dcb1217b9b37b1ac225e26e08ae)
 

Author SHA1 Message Date
Con Kolivas c68b30c08e Grab the caller of dec_instance_ref for debugging 10 years ago
Con Kolivas e0528a5fb2 Add error message if ref count drops below zero 10 years ago
Con Kolivas 83455ef06c Fix minor memleak in send_recv_auth 10 years ago
Con Kolivas ee58990b05 Generically dealloc instead of freeing share pointer in purge_share_hashtable 10 years ago
kanoi f2a3421c57 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 10 years ago
Con Kolivas a72510df7f Only ask the stratifier to drop a client once 10 years ago
Con Kolivas 01ce6a65a0 Revert wrongly implicated linked list freeing workaround 10 years ago
Con Kolivas e009db5dc5 Add information when disconnecting a client 10 years ago
Con Kolivas 435dc5318a Decrease verbosity of invalid char being passed to validate_address 10 years ago
kanoi 04c1d3c058 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 10 years ago
Con Kolivas f34516bd4d Free buffer used for authorisation message 10 years ago
Con Kolivas f11250dd2d Do not move clients from hash/linked lists while they hold a ref count 10 years ago
Con Kolivas b7186cfcd9 Use cached instance variable 10 years ago
Con Kolivas bb8593bfa0 Take the same attendant precautions when deleting passthrough client ram as regular clients by adding them to the dead list 10 years ago
Con Kolivas 712d5c38d6 Make sure a passthrough client is still in the hash table before deleting it 10 years ago
Con Kolivas 3a40311ece Passthrough clients should be rare so increase verbosity of them being added 10 years ago
Con Kolivas d6d81093be Fix impossible warnings in drop_client 10 years ago
Con Kolivas 827f42ba73 Fix impossible >= UNIX_PATH_MAX warning 10 years ago
Con Kolivas cc0d188573 Fix impossible len >= UNIX_PATH_MAX warning 10 years ago
Con Kolivas ff01a1c414 Fix impossible sockd < 1 scenario 10 years ago
Con Kolivas 09c7086808 Fix impossible patch -p1 -i crap.patch warning in bind_socket 10 years ago
Con Kolivas 9d06777724 Do not attempt to decref a freed passthrough client 10 years ago
Con Kolivas b97132dde3 Zero wb->logdir even if we don't write to the share log since we still use the value of it 10 years ago
Con Kolivas 9892f3af64 Use validhex before checking sessionid in disconnected_sessionid_exists to avoid spewing warnings for client errors 10 years ago
Con Kolivas e5b9e84129 Add a helper function to check a hex string is valid 10 years ago
Con Kolivas bf1ac3b57b Age disconnected instances over 10 minutes old to the dead list to be reaped 10 years ago
Con Kolivas 259f8ca4a0 Use invalidate in the connector when dropping a client to ensure the stratifier drops it as well 10 years ago
Con Kolivas b5f65d2e5a Tell the stratifier to drop a client if the connector is told to drop it and cannot find it any more 10 years ago
Con Kolivas 330c966556 Remove client ram safely in invalidate_client foreach loop 10 years ago
Con Kolivas 99dc8947d2 Add message about lost ram in block solve and reject. 10 years ago
Con Kolivas 1b5e73e57b Fix issues with freeing ram safely on dropping clients and converting them from disconnected to dead clients by removing their instance every time and freeing dead client ram safely when it will no longer be used by the loop. 10 years ago
Con Kolivas cfe29a1e92 Fix stratum resume support to work with any supported enonce1 sizes 10 years ago
Con Kolivas 50f48aa5e3 Push version to 0.8.2 10 years ago
Con Kolivas 2d688ddb07 Push version number to 0.8.1 10 years ago
ckolivas 34853c598d Back off and retry on failed realloc in read_socket_line instead of failing. 10 years ago
ckolivas 36d814d484 Add clients to dead list when dropping all clients instead of losing all references to them 10 years ago
ckolivas 17e5f996d8 Reinstate add idle, disconnected and dead counts to pool stats 10 years ago
ckolivas ef805811d2 Update copyright years on affected files 10 years ago
ckolivas 71e6043719 Perform back off and retry on failed realloc in jansson strbuffer_append_bytes instead of failing 10 years ago
ckolivas ced22bd5ea Only lock/unlock once in drop_client 10 years ago
ckolivas d1bbd779f4 Merge branch 'master' into safe 10 years ago
Con Kolivas b3d251638f Only add authorised clients to disconnected list 10 years ago
Con Kolivas 98bf62ab67 Fill enonce1 data properly for stratum reconnect support 10 years ago
Con Kolivas 407f087c63 Give an outright fail response if failed msg is received from ckdb on auth 10 years ago
Con Kolivas 451256f6cb Only give unparseable auth message when failed message is not recognised 10 years ago
Con Kolivas c7600f281b Differentiate generated authed users from unauthorised and don't do any stats on unauthed users 10 years ago
Con Kolivas 8c6e786cef Check for corrupt ckdb responses in send_recv_auth 10 years ago
ckolivas 2231a38455 Read off best share stats if they exist per user and worker 10 years ago
ckolivas 6b9c558abc Add a json_get_double helper 10 years ago
ckolivas 62117bb380 Reset all best share counters after a block solve 10 years ago