Bug 39916

Summary: Core Filters & non-blocking Sendfile
Product: Apache httpd-2 Reporter: Paul Querna <chip>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal CC: pgollucci
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: Other   
OS: FreeBSD   

Description Paul Querna 2006-06-28 06:41:13 UTC
Using trunk, httpd is having problems sending files using sendfile() on FreeBSD.
2.2.x does not seem to have this problem.

If EnableSendfile off is set, it works correctly.  

I believe the problem is in server/core_filters.c, in send_brigade_blocking. I
don't believe the socket is being woken up correctly when the socket is ready
for more data.
Comment 1 Philp M. Gollucci 2009-01-18 16:19:17 UTC
CC myself on FreeBSD related bugs
Comment 2 Christophe JAILLET 2013-03-02 07:08:18 UTC
The code has changed in this area since that time.

As there is not that much details in the report, it is not easy do do/test anything with it.

Could someone with FreeBSD give an update using latest 2.4.x or explain what "is having problems" means ?