318 Commits (ea6125dde76ff3b35609be8e938533a14042f0c8)

Author SHA1 Message Date
Con Kolivas a568baf4fa Increase verbosity of connector drop message for passthroughs 9 years ago
Con Kolivas 689ab86fd0 Now that we've confirmed failing to find a client id in the receiver is a rare event again, the loglevel can be dropped in priority 9 years ago
Con Kolivas 7357525712 Rearm the epoll client fd only when it's still valid after processing its message 9 years ago
Con Kolivas 2ed69d2534 Allow the socket close to be responsible for removing client fds from the epoll list 9 years ago
Con Kolivas aca7bb39bf Wait for stratifier before processing messages in connector receiver 9 years ago
Con Kolivas bde77b155c Connector loop should never return 9 years ago
Con Kolivas 31434bc0b9 Create unix receivers during child setup 9 years ago
Con Kolivas 42d2e0f5c2 Increment client reference before adding it to the epoll list 9 years ago
Con Kolivas 5f0cf43db3 Fix inappropriate setting of proxy bool in trusted mode 9 years ago
Con Kolivas 9e17bec09c Inherit serverurl correctly when none is specified 9 years ago
Con Kolivas 0d8746249e Pass the generator json structures avoiding duplicating codec 9 years ago
Con Kolivas 43a18946ce Send the connector json structures from the stratifier to avoid json codec duplication 9 years ago
Con Kolivas 84c340c1c4 Send stratifier json structures from the connector where possible, avoiding the duplication of json codec 9 years ago
Con Kolivas 3c965946e7 Replace unnecessary multiprocess model with simpler thread based model for each component for future removal of duplication of work when communicating between threads 9 years ago
Con Kolivas 6c8f6bb93d Move private data to different names 9 years ago
Con Kolivas 0b0dfe4f83 Move json decoding to threaded client_message_processor 9 years ago
Con Kolivas 0f5fc8ea8b Use fresh event structure after handing it off to the client event processor 9 years ago
Con Kolivas 75923f6daa Make client epoll event handling scalable ckmsgq threads 9 years ago
Con Kolivas f0e07c24a4 Make client event handling a oneshot event that is rearmed to allow us to thread the work 9 years ago
Con Kolivas 39070094cf Invalidate clients in common location after parse_client_msg 9 years ago
Con Kolivas ebedb77629 Cache reused variables in creceiver 9 years ago
Con Kolivas 0cb8d0af48 Fix client buffer leak in connector 9 years ago
Con Kolivas 8007f6524b Writes blocking in send_sender_send are not an unlikely event 9 years ago
Con Kolivas 6986ba95fc Make client message processing a ckmsq to minimise connector_loop holdup 9 years ago
Con Kolivas f9d4e7999a Remove unused zlib header 9 years ago
Con Kolivas eedc3eec1c Avoid needing to duplicate buffer to parse messages in parse_client_msg 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 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 4a64775a86 Fix off-by-one error in bkey send size and clear buffer properly in clear_bufline 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 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 27080e48fa Append bkeys data in process_client_msg 9 years ago
ckolivas 4805bb410c Append bkeys in passthrough_recv messages 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
Con Kolivas 6e70908b30 Set a bkey bool on connecting remote/node/passthroughs flagging them capable of receiving bkey data 9 years ago
Con Kolivas 77bf4b03d4 Add length checking to prevent overflow in json_append_bkeys 9 years ago
Con Kolivas debaa03d9d Simply encode/decode binary keys correctly in messages for now 9 years ago
Con Kolivas 8ed4011247 Fix heap overflow 9 years ago