Commit Graph

32 Commits

Author SHA1 Message Date
Pavol Rusnak
06b9555462
remove dangling spaces 2024-10-11 23:14:32 +02:00
Pavol Rusnak
ce9dc56048
modernize 2024-10-11 23:13:52 +02:00
Mark Qvist
f595648a9b Updated tests 2024-05-04 20:27:27 +02:00
Mark Qvist
a2caa47334 Improved link tests 2024-01-14 00:12:30 +01:00
Mark Qvist
5ba789f782 Updated single-packet timing 2023-11-06 11:10:38 +01:00
Mark Qvist
9ce2ea4a5c Updated link test 2023-11-05 23:36:19 +01:00
Mark Qvist
4c272aa536 Updated buffer tests for windowed channel 2023-05-18 23:32:29 +02:00
Mark Qvist
a4c64abed4 Initial framework for channel windowing 2023-05-10 18:43:17 +02:00
Mark Qvist
f522cb1db1 Added per-packet compression to buffer 2023-05-09 22:13:57 +02:00
Aaron Heise
6d9d410a70
Address multiple issues with Buffer and Channel
- StreamDataMessage now packed by struct rather than umsgpack for a more predictable size
- Added protected variable on LocalInterface to allow tests to simulate a low bandwidth connection
- Retry timer now has exponential backoff and a more sane starting value
- Link proves packet _before_ sending contents to Channel; this should help prevent spurious retries especially on half-duplex links
- Prevent Transport packet filter from filtering out duplicate packets for Channel; handle duplicates in Channel to ensure the packet is reproven (in case the original proof packet was lost)
- Fix up other tests broken by these changes
2023-03-04 23:37:58 -06:00
Aaron Heise
aac2b9f987
Buffer: send and receive binary data over Channel
(also some minor fixes in channel)
2023-03-02 17:17:18 -06:00
Aaron Heise
d3c4928eda
Tidy up PR 2023-02-27 21:31:41 -06:00
Aaron Heise
68f95cd80b
Tidy up PR 2023-02-27 21:30:13 -06:00
Aaron Heise
e005826151
Allow channel message handlers to short circuit
- a message handler can return logical True to prevent subsequent message handlers from running
2023-02-26 11:23:38 -06:00
Aaron Heise
fe3a3e22f7
Expose Channel on Link
Separates channel interface from link

Also added: allow multiple message handlers
2023-02-26 07:25:49 -06:00
Aaron Heise
68cb4a6740
Initial work on Channel 2023-02-25 18:23:25 -06:00
Mark Qvist
cb55189e5c Truncate name_hash to 80 bits. Take all array slices from Identity.NAME_HASH_LENGTH constant. 2022-10-06 23:14:32 +02:00
Mark Qvist
1380016995 Updated tests 2022-10-04 06:55:50 +02:00
Mark Qvist
6e6b49dcd2 Added extra resource transfer test 2022-07-09 15:50:18 +02:00
Mark Qvist
f7d8a4b3b3 Updated tests 2022-06-30 20:37:51 +02:00
Mark Qvist
6bfd0bf4eb Resource profiling with yappi instead of cprofile 2022-06-14 13:44:12 +02:00
Mark Qvist
98b232bc4c Updated link test 2022-06-12 11:58:54 +02:00
Mark Qvist
c4a7d17b2f Updated tests 2022-06-10 16:36:30 +02:00
Mark Qvist
a8ea7bcca6 Updated tests 2022-06-10 11:27:52 +02:00
Mark Qvist
e4a82d5358 Updated link test 2022-06-09 21:49:13 +02:00
Mark Qvist
ec90af750d Updated link tests 2022-06-09 19:54:20 +02:00
Mark Qvist
06fefebc08 Updated tests 2022-06-09 19:27:11 +02:00
Mark Qvist
513a82e363 Updated link test 2022-06-09 17:14:43 +02:00
Mark Qvist
a4b80e7ddb Updated link test 2022-06-09 17:07:44 +02:00
Mark Qvist
bb8012ad50 Updated test output 2022-06-09 14:45:30 +02:00
Mark Qvist
8c167b8f3d Updated tests 2022-06-09 13:32:32 +02:00
Mark Qvist
30af212217 Added tests for Link 2022-06-09 10:33:13 +02:00