-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any reason to keep yaws_sendfile_drv.c? #353
Comments
True, it's probably time to retire this. I'll look into it. |
Hi @vinoski, can this be done? I am dying to be able to pull Yaws as a rebar3 dep without much hassle. I think this is critical for people new to Yaws get started as well. |
I started working on it but I haven't completed it. |
@vinoski, thanks for the update. |
The only current issue with this work is that some versions of R16 had buggy sendfile support. However, I believe the Yaws policy is to support the five most recent Erlang/OTP releases, so technically we can retire support for R16. I'll have to do that first. |
Sounds good. Having OTP 17 as minimal requirement opens up other opportunities such as maps. |
@leoliu please have a look at the |
This is excellent news to the project! Thanks for the work. I just added this line to rebar.config in a project and it is working like a charm. No complaints so far.
|
This is now rebased to master, commit 0c700a7. |
@vinoski I just noticed one small issue. I now use Yaws as a rebar3 dep and after building a release the
all these subdirectories have a file |
There's an outstanding issue #262 that was opened a long time ago to add support for |
Same issue with |
Erlang has
file:sendfile/5
since R15 so I am wondering if it is time foryaws_sendfile_drv.c
to go?Keeping
yaws_sendfile_drv.c
has some downsides. It is painful when using embedded Yaws becauseyaws_sendfile
starts it even when it is not needed. It needs extra care when using yaws as rebar3 deps.At the moment I have a complex setup to deploy to centos from macOS and the setup can be reduced to one line if
yaws_sendfile_drv.c
is no more.The text was updated successfully, but these errors were encountered: