[core] fallback to write if sendfile not supported (fixes #471, #987)
commitc46f0ce027155924a53bf12cb306b3afb77bbd65
authorGlenn Strauss <gstrauss@gluelogic.com>
Mon, 18 Apr 2016 07:07:30 +0000 (18 03:07 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Thu, 28 Apr 2016 17:14:39 +0000 (28 13:14 -0400)
tree8e57958f8e9c8e47aa5ff707f62ddebebaed0f7f
parentb47c393e2629c40424a641b4219f71f7a1c23740
[core] fallback to write if sendfile not supported (fixes #471, #987)

x-ref:
  "sendfile backends do not fall back to write/writev if they are not supported by the kernel"
  https://redmine.lighttpd.net/issues/471
  "error:network_freebsd_sendfile.c.175"
  https://redmine.lighttpd.net/issues/987

github: closes #58
src/network_darwin_sendfile.c
src/network_freebsd_sendfile.c
src/network_linux_sendfile.c
src/network_solaris_sendfilev.c