Con Kolivas
|
eedc3eec1c
|
Avoid needing to duplicate buffer to parse messages in parse_client_msg
|
9 years ago |
Con Kolivas
|
606f570c3d
|
Use faster and more robust memchr for detecting EOL in read_socket_line
|
9 years ago |
Con Kolivas
|
bd26f1e6b4
|
Increase bidirectional buffer sizes to trusted remotes to 2MB default
|
9 years ago |
Con Kolivas
|
fbbed17d7a
|
Roll back to M22
|
9 years ago |
Con Kolivas
|
00f866927a
|
Increase write_socket select timeout to 60 seconds
|
9 years ago |
Con Kolivas
|
bba064044b
|
Increase bidirectional buffer sizes to trusted remotes to 2MB default
|
9 years ago |
Con Kolivas
|
a0d86556a0
|
Downstream possible block solves to trusted nodes in binary form as well
|
9 years ago |
Con Kolivas
|
4f637a8be5
|
Fix off-by-one error in parsing bkeys in parse_client_msg
|
9 years ago |
Con Kolivas
|
c9a5085bfd
|
Remove unnecessary duplicating of message during parsing in parse_client_msg
|
9 years ago |
Con Kolivas
|
2bb5679c36
|
Receive and parse upstreamed block submits on client interface
|
9 years ago |
Con Kolivas
|
26f1173e74
|
Change upstream submit to use bkeys, sending hash and data separately WIP
|
9 years ago |
Con Kolivas
|
55ea835f7a
|
Search for EOL with bkey message to avoid false positives
|
9 years ago |
Con Kolivas
|
fc6331e279
|
More gracefully handle out of sync/corrupt binary messages by searching memory for EOL instead of strings
|
9 years ago |
James Hilliard
|
eb1cbe5925
|
Check that the result is null for accepted blocks instead of true. GBT returns {"result": null, "error": null, "id": null} if the block is accepted.
|
9 years ago |
Con Kolivas
|
4a64775a86
|
Fix off-by-one error in bkey send size and clear buffer properly in clear_bufline
|
9 years ago |
ckolivas
|
b7c3eab4d1
|
Prevent crash in empty string passed to json_strcpy
|
9 years ago |
kanoi
|
2a4a9f1c99
|
ckdb/php - fix instance additions
|
9 years ago |
Con Kolivas
|
7ee668e50d
|
Don't look for bkeys with messages slated for the node since they've already been extracted
|
9 years ago |
Con Kolivas
|
94cf7b2c17
|
Properly handle clients that don't accept bkeys
|
9 years ago |
Con Kolivas
|
401374e437
|
Overwrite EOL with bkey message in process_client_msg
|
9 years ago |
ckolivas
|
be17fb808a
|
Dont zero binary data eom
|
9 years ago |
ckolivas
|
41db95b213
|
Append EOL to json dumps when no bkeys are appended
|
9 years ago |
ckolivas
|
d7e0fa0cec
|
Calculate blen correctly in send_client
|
9 years ago |
ckolivas
|
5c289b9cb5
|
Don't fail on last seek in json_append_bkeys
|
9 years ago |
ckolivas
|
e223264717
|
Include bkey header length in forward_passthrough_msg
|
9 years ago |
ckolivas
|
27080e48fa
|
Append bkeys data in process_client_msg
|
9 years ago |
ckolivas
|
4805bb410c
|
Append bkeys in passthrough_recv messages
|
9 years ago |
ckolivas
|
05b3a8e39a
|
Append bkey binary data to read_socket_line when it exists
|
9 years ago |
ckolivas
|
d91295cf82
|
Decode bkeys for clients that don't support them, otherwise forward on entire message
|
9 years ago |
ckolivas
|
812cd70e8f
|
Handle rare fail mode gracefully
|
9 years ago |
Con Kolivas
|
6be75b4c1b
|
Move bkey extraction to send_client WIP
|
9 years ago |
ckolivas
|
32ac6318a2
|
Don't try to broadcast messages to monitored clients in node mode
|
9 years ago |
Con Kolivas
|
879294fe1a
|
Correctly handle existing instance running
|
9 years ago |
Con Kolivas
|
5812abbb02
|
Reuse client bkeyval set code
|
9 years ago |
Con Kolivas
|
6e70908b30
|
Set a bkey bool on connecting remote/node/passthroughs flagging them capable of receiving bkey data
|
9 years ago |
Con Kolivas
|
e3d633fa29
|
Reuse char buf
|
9 years ago |
Con Kolivas
|
77bf4b03d4
|
Add length checking to prevent overflow in json_append_bkeys
|
9 years ago |
ckolivas
|
7b75f270bc
|
Consider duplicate response to submitblock as an accepted block
|
9 years ago |
kanoi
|
72cfcc1073
|
ckdb - optional -i enforce poolinstance - see ckdb.c 'i' getopt_long comment regarding DB
|
9 years ago |
Con Kolivas
|
debaa03d9d
|
Simply encode/decode binary keys correctly in messages for now
|
9 years ago |
Con Kolivas
|
a743d307cf
|
Add a function for sending binary data to another process
|
9 years ago |
Con Kolivas
|
cc6ac1475f
|
Allow binary data of user defined length to be sent via a send_unix function
|
9 years ago |
Con Kolivas
|
7ad63b09e2
|
Pass unix message length with unix_recv
|
9 years ago |
Con Kolivas
|
8ed4011247
|
Fix heap overflow
|
9 years ago |
Con Kolivas
|
e77a6adc01
|
Allow large messages on trusted remote clients
|
9 years ago |
Con Kolivas
|
74ed7186f8
|
Revert "Allow large messages on trusted remote clients"
This reverts commit 438b7c5831 .
Broken, needs further review.
|
9 years ago |
Con Kolivas
|
438b7c5831
|
Allow large messages on trusted remote clients
|
9 years ago |
Con Kolivas
|
901fd3b1cf
|
Use ping/pongs to determine if upstream pool is still alive
|
9 years ago |
Con Kolivas
|
ba1d832813
|
Listen for upstream messages and submit blocks locally
|
9 years ago |
Con Kolivas
|
74352a0e32
|
Up and downstream submitblocks in trusted remote mode
|
9 years ago |