Con Kolivas
|
0574a54554
|
Don't disable parent proxies in disable_subproxy for failover to work
|
9 years ago |
Con Kolivas
|
8ef853b8fc
|
Use the proxy connsock semaphore to serialise uses of the cs->buf to prevent races
|
9 years ago |
Con Kolivas
|
012d94dd35
|
Add reconnect sends to alive bool changing on proxy conditions to try and fail over/back
|
9 years ago |
Con Kolivas
|
6f842fc2d8
|
Cope with proxy auths that have no password
|
9 years ago |
Con Kolivas
|
d2d5a5daaa
|
Don't use persistent connections to bitcoind
|
9 years ago |
Con Kolivas
|
83dbc9db12
|
Use epoll for wait_read_select
|
9 years ago |
Con Kolivas
|
edd79bd8fa
|
Elaborate which bitcoind has failed responses
|
9 years ago |
Con Kolivas
|
c645a6fc69
|
Make the server watchdog a standalone thread that doesn't need messaging
|
9 years ago |
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 |