Bug 128307 - HP-UX accept() can give EINVAL
Summary: HP-UX accept() can give EINVAL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Stronghold Cross Platform
Classification: Retired
Component: apache
Version: 4.0
Hardware: parisc11
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Stronghold Engineering List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-21 16:15 UTC by Joe Orton
Modified: 2007-04-18 17:09 UTC (History)
0 users

Fixed In Version: 1.3.22-21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-21 13:41:48 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.