Skip to content

Do post connect update of cached server params in the handshake rather than the transport - #113

Closed
deadalnix wants to merge 1 commit into
meta:masterfrom
deadalnix:postconnectcaching
Closed

deadalnix wants to merge 1 commit into
meta:masterfrom
deadalnix:postconnectcaching

Conversation

@deadalnix

Copy link
Copy Markdown
Contributor

The cache entry contains the key itself, which is fizz dependent and crypto agnostic infos. We are moving the crypto agnostic infos to the Handshake. Next step is to move the crypto specific infos to the proper handshake subclass.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 16, 2020

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yangchi has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

// If zero rtt write cipher is derived, it means the cached psk was valid
DCHECK(quicCachedPsk);

auto& transportParams = quicCachedPsk->transportParams;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This causes a shadowing warning because of the name.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You got it.

@deadalnix
deadalnix force-pushed the postconnectcaching branch 3 times, most recently from 8af6ad7 to 0d1065d Compare March 18, 2020 13:24

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yangchi has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@deadalnix
deadalnix force-pushed the postconnectcaching branch from 0d1065d to a77b571 Compare March 23, 2020 18:46

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yangchi has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@yangchi merged this pull request in 6c11500.

facebook-github-bot pushed a commit that referenced this pull request Feb 20, 2022
Summary:
Pull Request resolved: meta/sapling#113

GitHub Actions was failing at apt-get stage,  error message suggested adding an apt-get update as remedy.  Added in this diff and it indeed works.

The actions build fails later on missing mio::net module when building mysql async, but that's unrelated to this change.

Reviewed By: farnz

Differential Revision: D34368662

fbshipit-source-id: f0a00da3ee740ae4443a328616e792ea615c922c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants