Bug 128307

Summary: HP-UX accept() can give EINVAL
Product: [Retired] Stronghold Cross Platform Reporter: Joe Orton <jorton>
Component: apacheAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: Stronghold Engineering List <stronghold-eng-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: parisc11   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.22-21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-21 13:41:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Orton 2004-07-21 16:15:30 UTC
Description of problem:
The HP-UX accept() can give an EINVAL if a new connection arrives and
is signalled to select() but is closed before accept() pops.

The child process treats this as a fatal error condition, terminates,
and is replaced as normal.

A related fix to handle HP-UX accept() returning ENOBUFS was committed
upstream a while back: Stronghold should handle both ENOBUFS and
EINVAL returned by accept() as non-fatal error conditions on HP-UX.

Comment 1 Joe Orton 2005-01-21 13:41:48 UTC
Fixed in 4.0j, stronghold-apache-1.3.22-21.