mochi / mochiweb

MochiWeb is an Erlang library for building lightweight HTTP servers.
Other
1.86k stars 474 forks source link

Upgrade crypto functions to support OTP 23 #231

Closed noahshaw11 closed 3 years ago

noahshaw11 commented 3 years ago

Upgrade crypto functions to support OTP 23 with backwards compatibility.

Deprecation notice: https://erlang.org/documentation/doc-11.2/doc/general_info/deprecations.html#otp-21

References:

noahshaw11 commented 3 years ago

See https://github.com/apache/couchdb-mochiweb/pull/5#issuecomment-850457992 for an explanation on why a recompiled rebar file was provided. This file can be recompiled by the following commands:

asdf install erlang R15B03-1
asdf erlang shell R15B03-1
git clone https://github.com/rebar/rebar.git
cd rebar/ && ./bootstrap
chmod +x rebar
noahshaw11 commented 3 years ago

@etrepum Backwards compatibility should be functional now. Thank you for the review!

etrepum commented 3 years ago

I've just tagged a release including this update https://github.com/mochi/mochiweb/releases/tag/v2.21.0

noahshaw11 commented 3 years ago

Great! Thank you!