[erlang-questions] mochiweb in erlang 20 problem
Juan Jose Comellas
Thu Aug 3 00:41:42 CEST 2017
Those are innocuous warnings at the moment. Maybe mochiweb is not being
updated to support much older versions of Erlang.
Still, if this bothers you too much or you don't want to maintain your own
fork of mochiweb I'd suggest switching to a more modern HTTP server library
such as Cowboy <https://github.com/ninenines/cowboy>. You'll also gain
support for websockets and eventually HTTP 2.
On Wed, Aug 2, 2017 at 8:43 AM, getonga <getonga@REDACTED> wrote:
> I compile mochiweb in erlang 20, and I find this error:
> src/mochiweb_html.erl:8: Warning: export_all flag enabled - all functions
> will be exported
> Compiled src/mochiweb_html.erl
> src/mochiweb_multipart.erl:41: Warning: crypto:rand_bytes/1 is deprecated
> and will be removed in a future release; use crypto:strong_rand_bytes/1
> Compiled src/mochiweb_multipart.erl
> I made a pr to the mochiweb, but not accepted for a long time and not been
> Which erlang version do you use with mochiweb?
> Does the mochiweb still in maintenance?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions