Skip to content

PR feedback from #11412 #11474

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

Merged
merged 1 commit into from
Jun 24, 2019
Merged

PR feedback from #11412 #11474

merged 1 commit into from
Jun 24, 2019

Conversation

davidfowl
Copy link
Member

  • Remove ExpectedMiddlewareCount since everything is middleware now
  • Renamed everything adapter to middleware
  • Added a regression test for an https scenario
  • Don't send client certs for tests that don't expect it

PS: This was supposed to take 30 mins...

- Remove ExpectedMiddlewareCount since everything is middleware now
- Renamed everything adapter to middleware
- Added a regression test for an https scenario
- Don't send client certs for tests that don't expect it

options.ConfigureEndpointDefaults(e =>
{
if (e.IPEndPoint.Port == 5001)
Copy link
Member

Choose a reason for hiding this comment

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

If you didn't have IsDevCertLoaded = true, above, this test would pass even without the custom ConfigureEndpointDefaults, right?

I think this test would be a little more convincing if it made port 5000 the TLS endpoint.

Copy link
Member Author

Choose a reason for hiding this comment

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

The default binding only checks 5001 for IsTls

@halter73
Copy link
Member

Why don't you rename HttpsConnectionAdapterTests to HttpsConnectionMiddlewareTests? :trollface:

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.

4 participants