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

Add allow-sendfilefd flag for Debian GNU/kFreeBSD #164

Merged
merged 1 commit into from
Jun 15, 2013

Conversation

cjwatson
Copy link

On Debian GNU/kFreeBSD (FreeBSD kernel plus glibc), the BSD flavour of
sendfile is not usable, but Cabal treats kfreebsdgnu as os(freebsd) so I
had to add a flag to simple-sendfile.cabal to make it possible to select
the fallback implementation. See
kazu-yamamoto/simple-sendfile#13 for more
details.

warp.cabal reflects the availability of interfaces from simple-sendfile,
and so I believe it needs a matching flag to make it possible to
forcibly disable the use of -DSENDFILEFD.

On Debian GNU/kFreeBSD (FreeBSD kernel plus glibc), the BSD flavour of
sendfile is not usable, but Cabal treats kfreebsdgnu as os(freebsd) so I
had to add a flag to simple-sendfile.cabal to make it possible to select
the fallback implementation.  See
kazu-yamamoto/simple-sendfile#13 for more
details.

warp.cabal reflects the availability of interfaces from simple-sendfile,
and so I believe it needs a matching flag to make it possible to
forcibly disable the use of -DSENDFILEFD.
snoyberg added a commit that referenced this pull request Jun 15, 2013
Add allow-sendfilefd flag for Debian GNU/kFreeBSD
@snoyberg snoyberg merged commit f7322f3 into yesodweb:master Jun 15, 2013
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

Successfully merging this pull request may close these issues.

2 participants