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

Restore #bind_ssl as deprecated api #6551

Merged
merged 2 commits into from
Aug 19, 2018

Conversation

bcardiff
Copy link
Member

Restores HTTP::Server#bind_ssl removed by #6533 so the current master can be used to ship 0.26.1 without breaking changes.

HTTP::Server#bind_ssl can be removed in 0.27

@bcardiff bcardiff added this to the Next milestone Aug 16, 2018
@@ -258,6 +258,11 @@ class HTTP::Server
def bind_tls(address : Socket::IPAddress, context : OpenSSL::SSL::Context::Server) : Socket::IPAddress
bind_tls(address.address, address.port, context)
end

# DEPRECATED: Use `#bind_tls`.
Copy link
Contributor

@RX14 RX14 Aug 17, 2018

Choose a reason for hiding this comment

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

Please add an explicit TODO: remove in 0.27.0 or similar

we should probably eventually settle on a TODO(0.27.0) style with a grep -R "TODO($(crystal -v))" src spec to fail the build. when you upgrade the compiler.

Which also reminds me that there should be a crystal -v which is machine-readable not human-readable....

Copy link
Member Author

Choose a reason for hiding this comment

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

done.

@RX14 RX14 merged commit 202e5ac into crystal-lang:master Aug 19, 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.

3 participants