313 Commits (8dfc0b8e44c8eb49513842fa74ca5406f0195d3e)

Author SHA1 Message Date
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 69124695cc Add options for supporting a passthrough node 10 years ago
Con Kolivas 1b890257da Preserve the name used in redirecturl config for the redirector 10 years ago
Con Kolivas ec9e730b1f Look for unique ID accepted shares in the connector in redirector mode 10 years ago
Con Kolivas 98a2197568 Repair functioning of passthrough and add basic functions for share management in redirector 10 years ago
Con Kolivas 03edcc03cd Check for valid shares in redirector and redirect for first url for now 10 years ago
Con Kolivas 31c205c138 Add basic configuration options for redirector mode 10 years ago
Con Kolivas 75f8a93d49 Check for zero ret in read_socket_line 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 3fb8ff91d6 Continue waiting in read_socket_line if we have no more to read but have not used up the full timeout 10 years ago
Con Kolivas 7e2280ff2d Check for eom more carefully in read_socket_line 10 years ago
Con Kolivas 11023ecfec Use non blocking reads in read_socket_line 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
Con Kolivas f6d87f1569 Create a basic handler of json messages on the listener unix socket as RPC API commands with a ckmsgq 10 years ago
ckolivas aa7c479c03 Cope with null message in send_proc 10 years ago
ckolivas 47be81bc04 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 222880d234 Revert "Create generic workqueue function and message receiving and parsing helpers" 10 years ago
Con Kolivas f027885ff6 These weren't the droids we were looking for. 10 years ago
Con Kolivas 228c2cf19b These weren't the droids we were looking for 10 years ago
Con Kolivas d75dd5543c Try async messages again 10 years ago
Con Kolivas 6b3cd82525 Revert "Use async send proc as a separate thread from workqueues" 10 years ago
Con Kolivas 7de43b1c6e Use async send proc as a separate thread from workqueues 10 years ago
Con Kolivas 401b18adbd Fix use of ckwq variables 10 years ago
Con Kolivas 862e3df821 Fix use of ckwq variables 10 years ago
Con Kolivas eef959f5d8 Fix use of ckwq variables 10 years ago
Con Kolivas 9378f77fd9 Add an asynchronous send proc function which uses each process' generic workqueues if they exist 10 years ago
Con Kolivas fc34318ea8 Revert to synchronous proc messages in anticipation of new async functions 10 years ago
Con Kolivas adec278e7c Create generic workqueue function and message receiving and parsing helpers 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