223 Commits (759ac0ccbcf70561c1573a512e507838816e7b2c)

Author SHA1 Message Date
Con Kolivas 08fcf808a7 Specify what url has been inherited upon restart if possible 9 years ago
Con Kolivas 449e605113 Specify what message didn't receive a response in send_recv_path 9 years ago
Con Kolivas 137136648c Allow timeout to reach zero in read_socket_line for one non-blocking read 9 years ago
Con Kolivas 83575ba311 Allow FE overflow for safe usage of strtod in corrupt json 9 years ago
kanoi da285f8ab4 ckpool - display the rpc request warn messages from the method 10 years ago
kanoi 733664cc80 ckpool - report details of rpc request on failure or when slow 10 years ago
Con Kolivas 53656e1284 Json RPC calls can take a while to return so use a custom timeout when talking to the generator from the stratifier 10 years ago
Con Kolivas e94115d6e2 Allow _send_recv_proc to take custom timeouts 10 years ago
kanoi f9a17d04c3 Update log messages to millisecond accuracy 10 years ago
Con Kolivas c9245673af Make read_socket_line use a timeout pointer allowing the value to be used for reentrant calls 10 years ago
Con Kolivas 4bc776f99b Use non-blocking reads in read_socket_line, waiting up to the full timeout 10 years ago
Con Kolivas 62d1ec3f8a Use signal handlers from sender and receiver threads in the connector avoid needing to pthread tryjoin on every message 10 years ago
Con Kolivas 94dbd802a2 Wait longer after kill message 10 years ago
Con Kolivas 15a735f805 Broadcast in message queues instead of signalling for when there are multiple queue parsing threads 10 years ago
Con Kolivas e6c3c2a672 Do not wait for other end to close when sending a one way unix message with receive queues now in place 10 years ago
Con Kolivas 39a8b0ebef Create general function for receiving unix messages from the receive queue 10 years ago
Con Kolivas ba7e48c492 Create basic unix receive message thread for queueing messages to be handled asynchronously 10 years ago
Con Kolivas 3630b49d9b Revert to synchronous sending of unix messages 10 years ago
kanoi 8ff07e69a3 ckpool - add start time and pid to seq information 10 years ago
ckolivas aa7c479c03 Cope with null message in send_proc 10 years ago
Con Kolivas d4304de798 These weren't the droids we were looking for. 10 years ago
Con Kolivas 862e3df821 Fix use of ckwq variables 10 years ago
Con Kolivas 428cabdfc4 Add an asynchronous send proc function which uses each process' generic workqueues if they exist 10 years ago
Con Kolivas 5f9f01e894 Revert to synchronous proc messages in anticipation of new async functions 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 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 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 dd160666de Do not mask SIGQUIT to allow us to force coredumps on child processes 10 years ago
Con Kolivas 9863dedf59 Do not mask SIGQUIT to allow us to force coredumps on child processes 10 years ago
Con Kolivas a090bd6c26 Convert use of %ld to PRId64 in ckpool.c 10 years ago
Con Kolivas 6de132f0f0 Export json_get_int64 helper 10 years ago
Con Kolivas 37b2f3a8b2 Fix minor memory leak when requesting stats 10 years ago
Con Kolivas 415e3864fa Handle old instance processes before forking any new ones for there to be no conflict with the stored pid numbers in the filenames 10 years ago
Con Kolivas b1218a7cf0 Add config option to prioritise more clients than supporting clients with high hashrates 10 years ago
Con Kolivas 75f24a5d16 Cope with a socket line that is closed at the end of the message 10 years ago
Con Kolivas babccc6ddf Actually terminate when the child process dies. 10 years ago
ckolivas 8959cac620 Set to read only various constants in ckpool.c 10 years ago
Con Kolivas b584cd0654 Don't try to respawn dead processes for now 10 years ago
Con Kolivas 41c74985ce Print warning messages to console before attempting to log them in case of inability to write to the log 10 years ago
Con Kolivas 3bbce63302 Generate connector stats on command 10 years ago