Commit Graph

34 Commits

Author SHA1 Message Date
Tony Garnock-Jones 3030d1959e Use flow control to avoid being spammed by fast talkers 2020-06-10 13:38:26 +02:00
Tony Garnock-Jones 55f01cea3f Placeholders no longer available in preserves 2020-06-10 12:06:10 +02:00
Tony Garnock-Jones f269c02c23 Rearrange for independent packages. 2020-04-27 20:27:48 +02:00
Tony Garnock-Jones 419e90e42f server-session-connected avoids assert-lock of server-connected 2019-09-11 16:07:54 +01:00
Tony Garnock-Jones 0013c917b3 Update to new preserves API 2019-09-11 15:10:44 +01:00
Tony Garnock-Jones c9c0d8bb09 Default TCP port 21369 2019-06-23 14:01:30 +01:00
Tony Garnock-Jones 751d8e104a On start, only relay subs with active holders 2019-06-20 22:54:59 +01:00
Tony Garnock-Jones 6514e1731f Must be able to disable heartbeats for testing 2019-06-20 12:19:45 +01:00
Tony Garnock-Jones aef3490a20 Proper heartbeats 2019-06-20 11:55:29 +01:00
Tony Garnock-Jones ff25f8b377 Cosmetic: indicate protocol grouping 2019-06-13 12:51:20 +01:00
Tony Garnock-Jones 68ba310327 Terminate federation link facet on receipt of Err 2019-06-13 12:51:11 +01:00
Tony Garnock-Jones 2512d68852 Repair error: an End was missing 2019-06-13 12:50:55 +01:00
Tony Garnock-Jones c17eb4caa0 Improved error signalling 2019-06-12 00:23:39 +01:00
Tony Garnock-Jones c0ff69f67e Switch to federated-link-ready 2019-06-11 18:47:56 +01:00
Tony Garnock-Jones 72b4326651 Turn-based federation and client/server protocol 2019-06-11 18:33:37 +01:00
Tony Garnock-Jones be8fefaf4d Bag no longer used in federation 2019-05-23 11:13:47 +01:00
Tony Garnock-Jones 58231b253f Clean up empty entries in subscription-matches 2019-05-20 22:07:02 +01:00
Tony Garnock-Jones e03c8267dd Update federation to match latest paper-journal work: proper propagation of Add/Del 2019-05-20 21:49:19 +01:00
Tony Garnock-Jones 8aaf1d1902 Improve distributed debug output 2019-05-20 21:45:40 +01:00
Tony Garnock-Jones 43a0578f19 Buffer uplink communications to give a chance for stateful entities at each end to initialise themselves before sending messages.
An alternative approach would be to reintroduce flow-control, which was
removed as part of commit 94e27e1.
2019-05-16 23:14:39 +01:00
Tony Garnock-Jones 8daff63e8e Fix (observe (server-envelope A B)) => (server-proposal A (observe B)) 2019-05-16 23:13:56 +01:00
Tony Garnock-Jones 94e27e1cbc Change federation protocol to be transport-neutral, carried via Syndicate itself 2019-05-16 22:28:42 +01:00
Tony Garnock-Jones 84361dcbaf Move away from use of "broker" 2019-05-16 20:14:19 +01:00
Tony Garnock-Jones 6952aec992 Remove federation-prototype 2019-05-16 15:48:51 +01:00
Tony Garnock-Jones 025f101d09 Disconnect websocket service on error 2019-05-16 13:12:21 +01:00
Tony Garnock-Jones 22a517f1b5 Handle "Ping" requests from peers in federated mode 2019-05-16 12:38:26 +01:00
Tony Garnock-Jones 7ec9752f41 Accept and discard "Pong" replies from clients 2019-05-16 12:38:06 +01:00
Tony Garnock-Jones af40134c53 Correct server websocket http-request pattern 2019-05-16 12:37:39 +01:00
Tony Garnock-Jones ae97fb1d1e Flow-controlled TCP (except in netstack); flow-controlled server/federation messages; fixes federation startup glitching 2019-05-12 13:07:38 +01:00
Tony Garnock-Jones 2b882cc10a Integrate federation/peering with client/server code; almost but not quite working yet 2019-05-09 11:39:49 +01:00
Tony Garnock-Jones 88ec80487d Remove unused definition 2019-05-07 14:06:06 +01:00
Tony Garnock-Jones 39906803b2 Move prototype federation code out of the way 2019-05-07 13:45:52 +01:00
Tony Garnock-Jones cf92ae14c5 Select client/server scope on connect; stub out federation/peering; protocol error and disconnection support 2019-05-07 12:56:40 +01:00
Tony Garnock-Jones db523a8974 The Great Renaming broker -> server, part 2 2019-05-05 16:51:23 +01:00