Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Add overlappingRequests flag to "open" #329

Closed
wants to merge 2 commits into from

Conversation

arv
Copy link
Contributor

@arv arv commented Mar 17, 2021

When overlappingRequests is true it is in an error if the pull/push
endpoint uses HTTP1/x. It needs to use H2 or H3.

fetch/rust_client.rs is not really working with this change since it
uses hyper 0.13 which does not support HTTP/2. There is a newer version
of hyper that supports h2 but hyper runs on top of tokio and we use std
async. We have a compat file but I could not get it to work correctly. I
need to spend more time on this if we ever want to support non web.

I tested the browser fetch path manually.

https://www.notion.so/Push-pull-scheduling-268fd33bbcf14c5cbced55a249f409aa#c959432fc61a4c4bb152aa61e3856f44

Towards rocicorp/replicache#294

arv added 2 commits March 17, 2021 14:31
When overlappingRequests is true it is in an error if the pull/push
endpoint uses HTTP1/x. It needs to use H2 or H3.

fetch/rust_client.rs is not really working with this change since it
uses hyper 0.13 which does not support HTTP/2. There is a newer version
of hyper that supports h2 but hyper runs on top of tokio and we use std
async. We have a compat file but I could not get it to work correctly. I
need to spend more time on this if we ever want to support non web.

I tested the browser fetch path manually.

https://www.notion.so/Push-pull-scheduling-268fd33bbcf14c5cbced55a249f409aa#c959432fc61a4c4bb152aa61e3856f44

Towards rocicorp/replicache#294
To share the implementation
@arv
Copy link
Contributor Author

arv commented Mar 17, 2021

I'll do orderedCookie in a new PR

@arv arv closed this Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant