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

Add tls scheme to HTTP::Server#bind and rename HTTP::Server#bind_ssl #6533

Merged

Conversation

straight-shoota
Copy link
Member

This adds tls:// scheme for HTTP::Server#bind and makes it default in documentation. It also renames HTTP::Server#bind_sslto HTTP::Server#bind_tls.

Follow-up on #6500 (discussion starting at #6500 (comment))

@RX14 RX14 modified the milestone: Next Aug 13, 2018
Copy link
Contributor

@RX14 RX14 left a comment

Choose a reason for hiding this comment

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

Do we want to make such a minimal breaking change to an API just introduced?

@jhass
Copy link
Member

jhass commented Aug 13, 2018

Do we want to make such a minimal breaking change to an API just introduced?

Yes, I think its fair. People using it should still be actively working on their projects.

@RX14 RX14 added this to the Next milestone Aug 13, 2018
@RX14 RX14 merged commit 0af2e03 into crystal-lang:master Aug 13, 2018
@straight-shoota straight-shoota deleted the jm/feature/http-server-bind-tls branch August 13, 2018 17:09
@straight-shoota
Copy link
Member Author

Yeah, it's too bad 0.26.0 is already done.

Maybe something breaks and we need to ship 0.26.1 right away, then this could be included in the bug fix ;)

@bcardiff
Copy link
Member

Kemal already update it's api to use bind_ssl.
We should add bind_ssl for 0.26.x so we can ship master as it and remove bind_ssl in 0.27

@straight-shoota
Copy link
Member Author

You mean to temporarily re-add bind_ssl as alias for bind_tls?

@bcardiff
Copy link
Member

Yes.

@miketheman miketheman mentioned this pull request Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants