Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

implement an early data API #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

implement an early data API #110

wants to merge 1 commit into from

Conversation

marten-seemann
Copy link
Contributor

This API is not very sophisticated, in particular, it doesn't implement the proposal discussed in libp2p/go-libp2p#1537. It only implements the bare minimum we need for the WebTransport handshake (see libp2p/specs#404 (comment) for details).

The client can send (unencrypted, but integrity-protected) data along the first handshake message, and the server can read that data and decide if it wants to abort the handshake.

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.

None yet

2 participants