1831 Commits (53906c75dece9787d7daebda0eddb61743201ff0)
 

Author SHA1 Message Date
Con Kolivas 5f9f01e894 Revert to synchronous proc messages in anticipation of new async functions 10 years ago
Con Kolivas 4c4b48795b Use the generic workqueues for do_update 10 years ago
Con Kolivas 2d94b18b99 Create a pool of workqueue threads for use by the stratifier using them for share processing, stratum receiving and transaction processing 10 years ago
Con Kolivas d594f86520 Create generic workqueue function and message receiving and parsing helpers 10 years ago
Con Kolivas d15ccdf54d Remove the old pid file per process when preparing the new child processes 10 years ago
Con Kolivas 646d4a9560 Cope with unknown pids in various send msg commands without terminal failure 10 years ago
Con Kolivas 33508b2243 Reset the pi pid after a failure to find the process alive so we can look it up again in case it has changed 10 years ago
Con Kolivas bd68f928b7 Make all one way send_procs asynchronous to avoid message response deadlocks 10 years ago
Con Kolivas 487e918ff7 Return value of send_proc is never used 10 years ago
Con Kolivas a23060d786 Fix buf dereference error 10 years ago
Con Kolivas 85b17f1b78 Check for correct condition in wait_close 10 years ago
Con Kolivas 07874e9f30 Show message associated with no close fd detection 10 years ago
Con Kolivas 236634239e Close our end of the socket in send_proc 10 years ago
Con Kolivas 90c682177f Wait for the other end to close a unix socket to ensure the message has gone through 10 years ago
Con Kolivas 316ceba75b Check for pid in send_recv_proc as well 10 years ago
Con Kolivas 2b97f1833f Shutdown instead of closing a socket after sending a unix message allowing the receiving end to close the socket after receiving the data 10 years ago
Con Kolivas 08ef8ef3de Differentiate pong from other spurious messages from clients 10 years ago
Con Kolivas a0753a3965 Handle other forms of read_socket_line ending after message complete as not a failure 10 years ago
Con Kolivas 42f14a9536 Add full lock tracking for mutexes and rwlocks 10 years ago
Con Kolivas 7b452b361f Remove macro placeholders for locks in preparation for implementing lock tracking 10 years ago
Con Kolivas c572d580eb Add lock contention testing warning at 10 seconds to all lock grabbing and fail if a lock is unable to be grabbed for more than a minute 10 years ago
Con Kolivas 0f08e9518f Add helpers for rw timed locks 10 years ago
Con Kolivas 3ed9f9757b Push version to 0.8.6 10 years ago
Con Kolivas 163fc40afb Check all delayed clients for a serviceable one in the connector when we can and consider dropping a client servicing one to not potentially create delayed sends faster than we service them 10 years ago
Con Kolivas 8b1b6d45d6 fd being invalidated is checked for in wait_write_select so we don't need to handle it twice 10 years ago
Con Kolivas 042360bf40 Don't try to act on inactive clients 10 years ago
Con Kolivas c8268c3ef1 Merge branch 'proxydev' 10 years ago
Con Kolivas 4e95186403 Improve warnings and verbosity for various proxy connection failures 10 years ago
Con Kolivas 416b7a02eb Handle proxy failover correctly for remainder of upstream pools when a reconnect is issued and don't lose original pool details, demoting it to last instead 10 years ago
Con Kolivas fcc4309561 Add info about proxies to warnings 10 years ago
Con Kolivas 7f92dfbc7e Remove unnecessary warning 10 years ago
Con Kolivas 20746db270 Check against chosen_server in the server watchdog 10 years ago
Con Kolivas d66befef02 Don't reset the chosen_server value in live_proxy 10 years ago
Con Kolivas 7e5a0620af Cache responses in proxy mode in case they come out of order to be able to successfully managed different subscribe variations 10 years ago
Con Kolivas 9f07cc11e0 Export the char_entry_t type 10 years ago
Con Kolivas 9dd3d95064 Fix dereference errors with dropall 10 years ago
Con Kolivas 1a3ed51ba9 Fix workings when no serverurl is explicitly specified in config 10 years ago
Con Kolivas dd160666de Do not mask SIGQUIT to allow us to force coredumps on child processes 10 years ago
Con Kolivas 03b25370fe Check for client ref counts in dropall 10 years ago
Con Kolivas 5dd35d6555 Fix workings when no serverurl is explicitly specified in config 10 years ago
Con Kolivas 9863dedf59 Do not mask SIGQUIT to allow us to force coredumps on child processes 10 years ago
Con Kolivas 745d95246c Check for client ref counts in dropall 10 years ago
Con Kolivas 9c1e5f2332 Send reconnect instead of dropall to stratifier when killing an upstream proxy and drop them lazily 10 years ago
Con Kolivas 1432b90829 Remove code talking to local btcd in proxy mode since we won't be able to submit any realistic block solves locally 10 years ago
Con Kolivas a090bd6c26 Convert use of %ld to PRId64 in ckpool.c 10 years ago
Con Kolivas 04f4f090e2 Convert use of %ld to PRId64 in connector 10 years ago
Con Kolivas 67fd11bc13 Convert use of %ld to PRId64 in stratifier 10 years ago
Con Kolivas 841d22ec05 Drop the server backlog to minimum after the pool has been accepting connections for 90 seconds 10 years ago
Con Kolivas 78b2cf0277 Further fine grain the locking in the connector 10 years ago
Con Kolivas 67c00d57c6 Fine grain the locking for read/write sections using the upgradeable variants in the stratifier where suitable 10 years ago