Skip to content

Require Erlang/OTP 25 for cacerts#741

Merged
josevalim merged 1 commit intomasterfrom
jv-cacerts-get-default
Apr 23, 2025
Merged

Require Erlang/OTP 25 for cacerts#741
josevalim merged 1 commit intomasterfrom
jv-cacerts-get-default

Conversation

@josevalim
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Member

@wojtekmach wojtekmach left a comment

Choose a reason for hiding this comment

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

Nice! I’ll do the same change in myxql soon.

@josevalim josevalim merged commit 257daa7 into master Apr 23, 2025
9 checks passed
@josevalim
Copy link
Copy Markdown
Member Author

💚 💙 💜 💛 ❤️

Comment thread lib/postgrex/protocol.ex
)
case Keyword.pop(opts, :ssl_opts) do
{nil, _opts} ->
[cacerts: :public_key.cacerts_get()] ++ default_ssl_opts()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@josevalim Was this supposed to be {[cacerts: :public_key.cacerts_get()] ++ default_ssl_opts(), opts} in order to be matched with {ssl_opts, opts} = on line 90?

I'm getting ** (EXIT from #PID<0.92.0>) shutdown error without any logs on heroku when running mix ecto.migrate and I'm pretty sure it's due to this line.

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.

Yes, you are right. Could you please send a PR? Then I will merge it and ship a new version.

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.

3 participants