Skip to content

Conversation

@max-b
Copy link
Contributor

@max-b max-b commented Feb 3, 2025

Adds an integration test which exercises the full end to end functionality. It leverages gvisor's netstack to emulate the Android host and connects it to our pseudotcp stack.

We then run a dockerized h2o proxy and a local https server and perform
a full HTTPS GET request:

netstack emulated android host
   |
   v
pseudotcp
   |
   v
masque
   |
   v
h2o
   |
   v
httptest https server

Also adds a benchmark test which evaluates performance of fetching various size blobs over the TCP pathway of our stack.

max-b added 2 commits February 3, 2025 02:44
This will allow us to do end to end testing in our integration tests
because we will be running an httptest server on a non-publicly
routeable IP.

Adding this as a package global variable is hacky, but we're deferring a
configuration refactor for now.
This adds a (for now single) integration test which exercises the full
end to end functionality. It leverages gvisor's netstack to emulate the
Android host and connects it to our pseudotcp stack.

We then run a dockerized h2o proxy and a local https server and perform
a full HTTPS GET request:

netstack emulated android host
 |
 v
pseudotcp
 |
 v
masque
 |
 v
h2o
 |
 v
httptest https server
@max-b max-b requested a review from invisv-team February 3, 2025 11:00
This adds a benchmark test which evaluates performance of fetching
various size blobs over the TCP pathway of our stack.
@max-b max-b merged commit 4876078 into main Feb 3, 2025
2 checks passed
@max-b max-b deleted the maxb/testing branch February 3, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants