Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

React to HttpContextFactory constructor change #184

Closed
wants to merge 2 commits into from

Conversation

dougbu
Copy link
Contributor

@dougbu dougbu commented Mar 24, 2016

@dougbu
Copy link
Contributor Author

dougbu commented Mar 24, 2016

FYI @Tratcher @davidfowl this is the only thing that breaks due to aspnet/HttpAbstractions#594.

// Microsoft.Net.Http.Server.
private const int BasePort = 5001;
private const int MaxPort = 8000;
private static int NextPort = BasePort;
private static object PortLock = new object();
private static IHttpContextFactory Factory = new HttpContextFactory(new HttpContextAccessor());
private static IHttpContextFactory Factory = new HttpContextFactory(
Copy link
Member

Choose a reason for hiding this comment

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

I don't see this field used anywhere. Am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope and removing this field is so much simpler 😺

@dougbu
Copy link
Contributor Author

dougbu commented Mar 24, 2016

🆙📅

@Tratcher
Copy link
Member

:shipit:

@dougbu
Copy link
Contributor Author

dougbu commented Mar 25, 2016

f0a5a01

@dougbu dougbu closed this Mar 25, 2016
@dougbu dougbu deleted the dougbu/cookie.maker.561.II branch March 25, 2016 19:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants