Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: introduce first-supported Endpoint #2357

Merged
merged 8 commits into from
Feb 3, 2025
Merged

fix: introduce first-supported Endpoint #2357

merged 8 commits into from
Feb 3, 2025

Conversation

fortuna
Copy link
Collaborator

@fortuna fortuna commented Jan 31, 2025

No description provided.

tcp:
$type: shadowsocks
endpoint:
$type: first-supported
Copy link
Contributor

@jyyi1 jyyi1 Jan 31, 2025

Choose a reason for hiding this comment

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

How about first-success, so it can try multiple domains?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a bit tricky. It requires testing each of them. Then we may need to update the list too. We can add that later, since it's a can of worms.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good.

@github-actions github-actions bot added size/S and removed size/XS labels Jan 31, 2025
@fortuna fortuna requested a review from sbruens January 31, 2025 23:06
@fortuna fortuna marked this pull request as ready for review January 31, 2025 23:06
@fortuna fortuna requested review from a team as code owners January 31, 2025 23:06
@fortuna fortuna requested a review from jyyi1 January 31, 2025 23:30
Copy link
Contributor

@jyyi1 jyyi1 left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM

client/config.md Outdated
@@ -115,6 +117,34 @@ transport:
secret: SS_SECRET
```

Note that Websockets is not yet supported on Windows. In order to have a single config for all platforms, use a first-supported endpoint:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Note that Websockets is not yet supported on Windows. In order to have a single config for all platforms, use a first-supported endpoint:
Note that Websockets is not yet supported on Windows. In order to have a single config for all platforms, use a `first-supported` endpoint:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@fortuna fortuna enabled auto-merge (squash) February 1, 2025 00:57
@fortuna fortuna disabled auto-merge February 1, 2025 14:55
@fortuna fortuna enabled auto-merge (squash) February 1, 2025 14:55
auto-merge was automatically disabled February 1, 2025 14:59

Pull Request is not mergeable

@fortuna fortuna enabled auto-merge (squash) February 3, 2025 14:19
@fortuna fortuna merged commit d1cba53 into master Feb 3, 2025
25 checks passed
@fortuna fortuna deleted the fortuna-fe branch February 3, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants