atomvm / AtomVM

Tiny Erlang VM
https://www.atomvm.net
Apache License 2.0
1.48k stars 105 forks source link

Import httpd module from atomvm_lib #680

Open bettio opened 1 year ago

bettio commented 1 year ago

atomvm_lib has a https://github.com/atomvm/atomvm_lib/blob/master/src/httpd.erl module with additional features than the http_server included in eavmlib.

http_server should be overwritten with httpd.erl as soon as we ensure that httpd.erl has already all the features in http_server.

bettio commented 1 year ago

@fadushin is httpd based on http_server?

fadushin commented 1 year ago

Kind of. But I wonder if it would actually be better if this were a downstream repo (something like atomvm_httpd). That way, it could have a Hex release train, can be pulled in through rebar3 and mix, etc.

What do you think? (I’d rather keep the core libraries small)