Skip to content
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

Sending file with new Erlang 15B function #83

Closed
ngocdaothanh opened this issue Jan 25, 2012 · 2 comments
Closed

Sending file with new Erlang 15B function #83

ngocdaothanh opened this issue Jan 25, 2012 · 2 comments

Comments

@ngocdaothanh
Copy link

See ostinelli/misultin#94
I know Yaws already has sendfile for a long time. But should the built-in feature of Erlang be used instead?

@vinoski
Copy link
Collaborator

vinoski commented Jan 25, 2012

The new sendfile code in Erlang/OTP actually originated from the Yaws code.

We already have code on a branch for using file:sendfile under R15B. However, the code does not pass the Yaws tests, so the OTP team is looking into the problems. Once we figure out what's wrong and it passes all tests, we'll merge it to master.

@vinoski
Copy link
Collaborator

vinoski commented Oct 17, 2012

With R15B02, Erlang's file:sendfile works fine, so Yaws uses that by default. For versions prior to R15B02, Yaws still uses its own sendfile driver. Closing this issue.

@vinoski vinoski closed this as completed Oct 17, 2012
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

No branches or pull requests

2 participants