Commit Graph

423 Commits

Author SHA1 Message Date
onyinyang dc8774f5b8
Add Test for lox-distributor 2023-06-06 19:58:34 -04:00
Cecylia Bocovich 545481f320
Add a Cargo.lock file for reproducible builds 2023-06-06 17:42:21 -04:00
onyinyang a823dd9ee2 Merge branch 'readme' into 'main'
Add README to project

See merge request tpo/anti-censorship/lox-rs!2
2023-06-06 18:23:41 +00:00
onyinyang fb2b5dff99
Add README to project 2023-06-06 14:22:58 -04:00
onyinyang af9fc6dfd1
Add Lox-utils 2023-06-05 15:24:06 -04:00
onyinyang e65c16ab0b
Merge branch 'lox-wasm' 2023-06-05 15:16:06 -04:00
onyinyang 21ff749e4f
Update lox-wasm Cargo.toml for workspace 2023-06-05 15:14:43 -04:00
onyinyang 0affca4f76
Merge 'lox-wasm/main' into lox-workspace 2023-06-05 15:12:26 -04:00
onyinyang aac0e52e43
Merge branch 'rdsys-backend' 2023-06-05 15:08:36 -04:00
onyinyang 4595cc9f8d
Merge branch 'lox-library' 2023-06-05 15:07:22 -04:00
onyinyang ed0cfbebf5
Update rdsys-backend Cargo.toml for workspace 2023-06-05 15:00:30 -04:00
onyinyang de5e7a0428
Merge 'rdsys-backend/main' into lox-workspace 2023-06-05 14:56:41 -04:00
onyinyang 231a1ed9f4
Update lox-distributor Cargo.toml for workspace 2023-06-05 14:51:01 -04:00
onyinyang 5b994de577
Merge 'lox-distributor/main' into lox-workspace 2023-06-05 14:46:28 -04:00
onyinyang 5ac8e703cf
Update lox-library Cargo.toml for workspace 2023-06-05 14:39:10 -04:00
onyinyang f7314d2818
Merge 'lox/master' into lox-workspace 2023-06-05 14:10:47 -04:00
onyinyang 15509d3c93
initial workspace commit 2023-06-05 13:24:42 -04:00
onyinyang 59700166a1
initial workspace commit 2023-06-05 13:24:42 -04:00
onyinyang 6372e894ae
Adjust replace_with_new to fit with updates to Lox library 2023-05-17 12:46:09 -04:00
onyinyang 3e3f50c215
Refactors lox-distributor to make division of tasks clearer 2023-05-17 12:19:28 -04:00
onyinyang 607e1a425d
Remove performance statistics tests for pipeline 2023-05-15 20:18:20 -04:00
onyinyang a9d5f31870
Add test pipeline 2023-05-15 20:17:53 -04:00
onyinyang 8d0f570627
Adds test and fixes for allocate bridges 2023-05-15 18:57:23 -04:00
onyinyang 45bb5756df
Minor fixes 2023-05-15 12:53:32 -04:00
onyinyang 6bff64f283
Adds replace_bridge test and fixes bugs in the function 2023-05-15 12:32:22 -04:00
onyinyang 0d317cea8c
Fix replace bridge to align with changes to lox-distributor 2023-05-11 17:02:33 -04:00
onyinyang da4d7c962f
Add fix for failure to replace bridges
- Change text for disabled functionality for blocked bridges
2023-05-11 16:00:09 -04:00
onyinyang 508eaf3bdd
Add functions to recycle and allocate extra bridges 2023-05-09 13:00:40 -04:00
onyinyang 13d1bc8b1d
Add leftover bridges to bridgedb 2023-05-08 20:30:30 -04:00
onyinyang 292827fa63
Add handling of gone, not blocked, resources 2023-05-08 12:52:34 -04:00
onyinyang 83c7916805
Added bridge replacement 2023-05-08 12:31:36 -04:00
onyinyang 1adf145671
Make bucket size match constant in Lox library for all functions 2023-04-10 12:16:19 -04:00
onyinyang ba7116aa16
Removing test function 2023-04-10 11:24:53 -04:00
onyinyang 4695a11702
Ensure that left over bridges (not grouped into a bucket) are properly handled 2023-04-05 16:26:23 -04:00
onyinyang d2bd91e0fe
Update bridgeline sizes to match lox library 2023-04-04 19:34:35 -04:00
onyinyang 11d4678be8
Update fingerprint to match UID from rdsys 2023-04-04 18:39:28 -04:00
onyinyang dafe1b0a1d
Add get_uid function for API resource 2023-04-04 16:10:16 -04:00
onyinyang a3a693d45a
Revise bridge bytes size to 300 2023-04-03 12:06:20 -04:00
onyinyang 362996c4f7
Add fingerprint field to Bridgeline 2023-04-03 11:47:11 -04:00
onyinyang a206917e92
Add update bridge function 2023-03-27 12:36:57 -04:00
onyinyang 562b74c274
Clean up code and improve readability 2023-03-24 13:16:26 -04:00
onyinyang b0038720e0
Make all requests POST requests to match server and browser handling 2023-03-24 13:02:42 -04:00
onyinyang 22ef5d157d
Updating bridges to make sense 2023-03-24 11:31:01 -04:00
onyinyang e257a05c99
Add bridge update 2023-03-23 13:21:04 -04:00
onyinyang f08520de84
Update function definition for bridge update 2023-03-23 11:00:10 -04:00
onyinyang 3f5d497573
Incorporate impl Stream for ResourceStream changes from rdsys-api-backend 2023-03-22 19:14:56 -04:00
Cecylia Bocovich eb43414574 Only return Poll::Pending if the inner future returns it
The waker stored in the future will only wake up and re-poll the stream
if the call to future returned Poll::Pending. Because of this, if we
didn't receive enough data to reconstruct the ResourceDiff, we need to
loop and poll the inner future again rather than return Poll::Pending
ourselves.
2023-03-22 17:41:08 -04:00
Cecylia Bocovich e1e5e798b6 Use a ReusableBoxFuture to store ReceiverStream 2023-03-22 15:05:05 -04:00
Cecylia Bocovich 0b0324c487 Change ResourceStream from an Iterator into a Stream 2023-03-21 17:37:15 -04:00
onyinyang 490ce2f19c
Add distributor logic for bridge updates from rdsys, handling for unsuccessful removals/updates 2023-03-20 12:42:40 -04:00