Skip to content

Conversation

cjlarose
Copy link
Member

Fixes #286

Previously, HttpServer violated the tell-don't-ask principal by making
several "asks" of the AppPool for applications that were defined given
different domains, then making decisions based on what was returned.
This change moves the responsibility of deciding the mapping of domains
to apps to the AppPool.
No need to export this method anymore; it's only called by methods on
AppPool
@cjlarose cjlarose force-pushed the test-subdomain-support branch 2 times, most recently from ccf0469 to c76ec35 Compare November 22, 2021 06:48
@cjlarose cjlarose force-pushed the test-subdomain-support branch 4 times, most recently from e6e4bc1 to 0505923 Compare November 22, 2021 07:43
@cjlarose cjlarose force-pushed the test-subdomain-support branch from 0505923 to e717d0b Compare November 22, 2021 07:51
@cjlarose cjlarose force-pushed the test-subdomain-support branch from e717d0b to 6cc1f94 Compare November 22, 2021 08:01
@nonrational nonrational self-requested a review November 22, 2021 14:54
@nonrational nonrational merged commit 362e8c6 into puma:master Nov 22, 2021
@cjlarose
Copy link
Member Author

Thanks @nonrational !

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.

Confirm, test, and document subdomain support
2 participants