Bug 52229 - ap_start_lingering_close may block and is called from listener thread
Summary: ap_start_lingering_close may block and is called from listener thread
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mpm_event (show other bugs)
Version: 2.4-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2011-11-22 21:13 UTC by Stefan Fritsch
Modified: 2012-08-21 16:21 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Fritsch 2011-11-22 21:13:32 UTC
ap_start_lingering_close flushes the output buffers to the client. Therefore it should not be called from the listener thread unless we know that the output buffers are empty.
Comment 1 Rainer Jung 2012-08-21 16:21:16 UTC
Fixed in trunk with r1294356 and in 2.4.x with r1364613.
Released with 2.4.3.
I guess even if it would apply to 2.2 we wouldn't port back to the experimental MPM there so closing now.