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

Fix port/host arguments for rack handler #2

Merged
merged 1 commit into from
Dec 28, 2012
Merged

Conversation

zanker
Copy link
Contributor

@zanker zanker commented Dec 19, 2012

The standard for rack handlers is to pass host and port as :Host and :Port, as you can see in https://github.com/rack/rack/blob/master/lib/rack/handler/thin.rb (and all the other handlers).

Currently you can't use things like Sinatra with this because Sinatra follows the standard, so it will never bind to a port.

jballanc added a commit that referenced this pull request Dec 28, 2012
Fix port/host arguments for rack handler
@jballanc jballanc merged commit 1fb1fbe into MacRuby:master Dec 28, 2012
@jballanc
Copy link
Member

Thanks for the update!

@zanker zanker deleted the patch-1 branch December 28, 2012 19:22
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.

2 participants