421 Commits (f7f5b6dd7d0db9343c4a3e4250dd77ea46423e17)

Author SHA1 Message Date
Con Kolivas fba82db0f9 Typo 9 years ago
Con Kolivas b5ea946ef4 Output generator started message as soon as we have the first live server 9 years ago
Con Kolivas b622a6ec8d Check for errors in wait_read_select, closing the socket if they occur, and add a variant for non-unix sockets that checks for hangups as well 9 years ago
Con Kolivas 6ff89b31a2 Check server fd is still valid as well as having its alive flag set 9 years ago
Con Kolivas bfbe3a1039 Don't block on dead servers if possible when calling server_alive from the gen_loop 9 years ago
Con Kolivas 516a708aad Fix bitcoind failover not working and keep connections open for faster switching in case of failure 9 years ago
Con Kolivas 853bed8281 Serialise all json_rpc_calls and responses 9 years ago
Con Kolivas 4281828167 Fix typo dropping userproxies and simplify reconnects to just on notify 9 years ago
Con Kolivas c90e46a4f7 Don't read from unauthorised proxies in uproxyrecv 9 years ago
Con Kolivas 542c4f457b Remove epoll entry when closing socket to reconnect in connect_proxy 9 years ago
Con Kolivas 0395403f9b Allow null message to be passed to parse_method 9 years ago
Con Kolivas 1c5b8ae516 Reconnect all clients of a certain user when adding a userproxy in userproxy mode 9 years ago
Con Kolivas 88e20dd111 Add a userproxy mode that connects to the same upstream pool according to the username supplied by clients connecting to the proxy 9 years ago
Con Kolivas a1df332ec8 MergeFix 9 years ago
Con Kolivas a129d4c579 Sort out alive message and reconnect in passthrough_recv 9 years ago
Con Kolivas e53a6e028f Close the passthrough socket if it's not already on a failed write in passthrough_send 9 years ago
Con Kolivas 629e86555d Clean up passthrough console messages 9 years ago
Con Kolivas 250bf42cc0 Show successful connection message in passthrough mode as well 9 years ago
Con Kolivas 83f111ae94 Make passthrough connection log to console 9 years ago
Con Kolivas 88e78a02da Cope with read_socket_line timeouts properly in generator 9 years ago
Con Kolivas 0d6fb758d6 Timeout should be updated on each loop in proxy_recv 9 years ago
Con Kolivas 1932659baa Send a reconnect message on failure to passthrough send, assuming a connection has failed. 9 years ago
Con Kolivas effcf78586 Pass variable to read_socket_line instead of constant 9 years ago
Con Kolivas bce4cab176 Roll back code for relay node. 9 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 e96f1d60e2 Send and parse node request with passthrough message 10 years ago
Con Kolivas fc38e4d672 Use server_alive to determine if node backup btcd is alive 10 years ago
Con Kolivas b7e35effa5 Add backup btcd parsing in node mode 10 years ago
Con Kolivas 61ade17174 Use int64 for client_id in the generator 10 years ago
Con Kolivas 35b81bad17 Remove attempted share identification from generator in redirector mode as it hasn't enough information 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 75501901ad Add more info to parse_share return code 10 years ago
Con Kolivas a8e09a444d Abstract out add_share in proxy to be used by redirector code 10 years ago
Con Kolivas b21cc7176d Check for proxy sending being set as well 10 years ago
Con Kolivas ef67643d5e Reference the actual message we're blocking on in the generator to a proxy and continue only that one 10 years ago
Con Kolivas e2f08fe36b Prevent sending parts of different messages to upstream proxies 10 years ago
Con Kolivas 2242d44b30 Check for no ret after send in generator 10 years ago
Con Kolivas 6194af292f Send queued json messages in proxy mode non-blocking 10 years ago
Con Kolivas f359b57119 Close umsg sockd on clearing unix message in generator 10 years ago
Con Kolivas 0383888d5e Demote non existent proxy message to info 10 years ago
Con Kolivas cb640b6ab2 Check for epoll hangups fully 10 years ago
Con Kolivas 690870bc92 Convert the proxy_loop to use unix receive queues 10 years ago
Con Kolivas 24c2a4a7bf Convert the generator loop to use unix receive queues 10 years ago
Con Kolivas 154c216b46 More cleanup of proxy stats API 10 years ago
Con Kolivas e042ec330f Clean up parsing of proxy.stats API command, removing unused notified bool 10 years ago
Con Kolivas 406c07a5ea Add support for upstream proxy stats via the API 10 years ago
Con Kolivas 6db9dee722 Store share statistics fo the upstream proxied pools 10 years ago
Con Kolivas b37ee220e9 Add psends to generator stats 10 years ago
Con Kolivas 99878feb2d Add basic generator stats 10 years ago