Ticket #987 (new defect)

Opened 1 year ago

Last modified 1 month ago

error:network_freebsd_sendfile.c.175

Reported by: anonymous Assigned to: jan
Priority: high Milestone:
Component: core Version: 1.4.13
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

Description

I seem to have a problem serving files with lighttpd from non local (smbfs) filesystem. Lighttpd tries to use sendfile but, i have the following error: (network_freebsd_sendfile.c.175) sendfile: Operation not supported 45 (connections.c.588) connection closed: write failed on fd 7. The version is lighttpd-1.4.13

Attachments

Change History

01/22/2007 05:06:40 PM changed by darix

so dont use sendfile if the underlying FS does not support it. it is runtime configurable setting.

http://trac.lighttpd.net/trac/wiki/server.network-backendDetails

you have to use writev than.

05/27/2008 07:08:09 PM changed by anonymous

  • blocking changed.
  • pending changed.

It's the server's job to switch as necessary. It's terrible to require this to be configured manually, when there's a clear, explicit error return from the syscall that can be used to detect it.


Add/Change #987 (error:network_freebsd_sendfile.c.175)




Change Properties