fix: generate ClientHelloSpec only once#306
Merged
gaukas merged 2 commits intorefraction-networking:masterfrom Jul 19, 2024
Merged
fix: generate ClientHelloSpec only once#306gaukas merged 2 commits intorefraction-networking:masterfrom
gaukas merged 2 commits intorefraction-networking:masterfrom
Conversation
gaukas
approved these changes
Jul 19, 2024
Contributor
gaukas
left a comment
There was a problem hiding this comment.
Good catch! Thanks for doing this. I am approving this PR for now, and if no further major change is made, you can expect it get merged by the end of this week.
Co-authored-by: Gaukas Wang <[email protected]> Signed-off-by: adotkhan <[email protected]>
Contributor
Author
|
Thank you for the review, change applied. |
adotkhan
added a commit
to Psiphon-Labs/utls
that referenced
this pull request
Dec 10, 2024
* fix: generate ClientHelloSpec only once * chore: remove empty line in u_parrots.go Co-authored-by: Gaukas Wang <[email protected]> Signed-off-by: adotkhan <[email protected]> --------- Signed-off-by: adotkhan <[email protected]> Co-authored-by: Gaukas Wang <[email protected]>
adotkhan
added a commit
to Psiphon-Labs/utls
that referenced
this pull request
Dec 10, 2024
* fix: generate ClientHelloSpec only once * chore: remove empty line in u_parrots.go Co-authored-by: Gaukas Wang <[email protected]> Signed-off-by: adotkhan <[email protected]> --------- Signed-off-by: adotkhan <[email protected]> Co-authored-by: Gaukas Wang <[email protected]>
adotkhan
added a commit
to Psiphon-Labs/utls
that referenced
this pull request
Feb 5, 2025
* fix: generate ClientHelloSpec only once * chore: remove empty line in u_parrots.go Co-authored-by: Gaukas Wang <[email protected]> Signed-off-by: adotkhan <[email protected]> --------- Signed-off-by: adotkhan <[email protected]> Co-authored-by: Gaukas Wang <[email protected]>
sardanioss
pushed a commit
to sardanioss/utls
that referenced
this pull request
Jan 16, 2026
* fix: generate ClientHelloSpec only once * chore: remove empty line in u_parrots.go Co-authored-by: Gaukas Wang <[email protected]> Signed-off-by: adotkhan <[email protected]> --------- Signed-off-by: adotkhan <[email protected]> Co-authored-by: Gaukas Wang <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes an issue introduced in #301 where calling
BuildHanshakeStateWithoutSessionwith a random profile, generates a newCilentHelloSpecon each call.This PR assume that
UConn.ClientHelloIDis read-only and that it's value should not be modified, which is my understanding of uTLS currently operates. If this assumption is false, another workaround needs to be found.A review of this is very much appreciated.