Bug 39916 - Core Filters & non-blocking Sendfile
Summary: Core Filters & non-blocking Sendfile
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: Other FreeBSD
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-28 06:41 UTC by Paul Querna
Modified: 2013-03-02 07:08 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ?