Skip to content

Restore #bind_ssl as deprecated api#6551

Merged
RX14 merged 2 commits intocrystal-lang:masterfrom
bcardiff:fix/restore-bind-ssl
Aug 19, 2018
Merged

Restore #bind_ssl as deprecated api#6551
RX14 merged 2 commits intocrystal-lang:masterfrom
bcardiff:fix/restore-bind-ssl

Conversation

@bcardiff
Copy link
Copy Markdown
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
bind_tls(address.address, address.port, context)
end

# DEPRECATED: Use `#bind_tls`.
Copy link
Copy Markdown
Member

@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
Copy Markdown
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