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

cloudflare-go: Exit gracefully when role is unimplemented #39

Merged
merged 1 commit into from
Feb 19, 2021

Conversation

cjpatton
Copy link
Collaborator

@cjpatton cjpatton commented Feb 13, 2021

Resolves an issue discussed in #36.

The cloudflare-go server currently does not implement the "dc" test
case. The expected behavior is for the endpoint to exit with code 64.
This PR refactors cloudflare-go to allow for this behavior.

@cjpatton
Copy link
Collaborator Author

cc/ @claucece, in case you are planning to make conflicting changes to this :)

Base automatically changed from cjpatton/ech-reject to main February 13, 2021 21:01
The cloudflare-go server currently does not implement the "dc" test
case. The expected behavior is for the endpoint to exit with code 64.
This PR refactors cloudflare-go to allow for this behavior.
@xvzcf
Copy link
Owner

xvzcf commented Feb 16, 2021

@chris-wood to continue the discussion on the question posed here, we could just have the endpoints return 64 for any inputs that they don't recognize/that are invalid. That would save them the trouble of keeping track of what is and isn't valid for the runner (for example, we could possibly have a role in the future called fuzzer).

@chris-wood chris-wood merged commit 8ed0d10 into main Feb 19, 2021
@chris-wood chris-wood deleted the cjpatton/cloudflare-go-exit branch February 19, 2021 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants