Skip to content

Duplicate delegation rules should not fail #28341

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

Closed

Conversation

shirhatti
Copy link
Contributor

Creating two delegation rules for the same queue name but different url prefixes no longer results in an HttpSysException.

@davidfowl
Copy link
Member

Is there an issue that should be linked?

@davidfowl davidfowl added this to the 6.0-preview1 milestone Dec 3, 2020
@shirhatti
Copy link
Contributor Author

#25831

@shirhatti
Copy link
Contributor Author

I just realized swallowing the error is a terrible idea just as I started working on #27126.

Unsetting the property on disposing the delegation rule should be the desired behavior. That allow you to add and remove delegation rules (as new delegatee processes come and go) without restarting the delegator process.

I'm now convinced the right behavior is to not swallow the exception

@shirhatti
Copy link
Contributor Author

@Tratcher and I decided not to do anything here. The ERROR_ALREADY_EXISTS error is sufficient

@shirhatti shirhatti closed this Dec 4, 2020
@shirhatti shirhatti deleted the shirhatti/swalloweroronduplicatedelegationrule branch December 4, 2020 00:45
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HttpSysRequestDelegationFeature - HttpSysException when creating two delegation rules for the same queue but different url prefixes
3 participants